/* bookedby partner frontend — dependency-free */
:root {
  --bg: #0f1117;
  --surface: #1a1d27;
  --border: #2a2f3d;
  --text: #e8eaef;
  --muted: #8b92a5;
  --accent: #6c5ce7;
  --accent-hover: #5b4bd4;
  --accent-soft: #a79df0;   /* readable accent tint for small text on dark bg */
  --success: #00b894;
  --error: #ff6b6b;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

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

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.container-wide {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

/* —— Business settings: wide shell, two-col desktop —— */
.settings-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.settings-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.settings-card-intro {
  margin: 0 0 1rem;
}

.settings-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.settings-side {
  display: contents;
}

/* Mobile order: team first, then integrations, venue last (collapsed) */
.settings-staff { order: 1; }
.settings-snippet { order: 2; position: relative; overflow: visible; }
.settings-venue { order: 3; }

.settings-staff-form {
  margin-bottom: 1rem;
}

.settings-collapse-toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.settings-collapse-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.settings-collapse-heading .settings-card-title {
  margin: 0;
}

.settings-collapse-toggle .snippet-toggle-chevron {
  color: var(--accent-soft);
}

.settings-collapse-toggle[aria-expanded="true"] .snippet-toggle-chevron {
  transform: rotate(90deg);
}

.settings-collapse-summary {
  display: block;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.settings-venue.is-collapsed {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.settings-venue-details[hidden] {
  display: none !important;
}

.settings-venue-details {
  margin-top: 1rem;
  padding-top: 0.25rem;
}

@media (min-width: 900px) {
  .settings-shell {
    padding: 2rem 1.5rem 3rem;
  }

  .settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
    gap: 1.25rem;
    align-items: start;
  }

  .settings-staff {
    order: initial;
  }

  .settings-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 1.5rem;
  }

  .settings-snippet,
  .settings-venue {
    order: initial;
  }
}

@media (max-width: 560px) {
  .settings-shell {
    padding: 1.25rem
      max(1.1rem, env(safe-area-inset-right))
      calc(2.5rem + env(safe-area-inset-bottom))
      max(1.1rem, env(safe-area-inset-left));
  }
}

/* —— Signup pages: mobile-first stack, dual-column pitch+form on desktop —— */
.signup-shell {
  padding:
    max(1.5rem, env(safe-area-inset-top))
    max(1.25rem, env(safe-area-inset-right))
    calc(2rem + env(safe-area-inset-bottom))
    max(1.25rem, env(safe-area-inset-left));
}

.signup-shell-split {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.signup-shell-split > .signup-intro {
  order: 0;
}

.signup-shell-split > .card:not(.signup-intro) {
  order: 1;
}

.signup-shell-split > .footer-link {
  order: 2;
  margin-top: 1.25rem;
}

@media (max-width: 719px) {
  .signup-shell .subtitle {
    margin-bottom: 1.25rem;
  }

  .signup-intro {
    padding: 1.1rem 1.15rem;
    margin-bottom: 1rem;
  }

  .signup-intro .land-bullets li {
    padding: 0.5rem 0;
  }

  .signup-intro .land-bullets strong {
    font-size: 0.94rem;
  }

  .signup-intro .land-bullets span {
    font-size: 0.86rem;
  }

  .signup-shell .card:not(.signup-intro) {
    padding: 1.35rem 1.15rem;
  }

  .signup-shell .footer-link {
    font-size: 0.9rem;
    line-height: 1.55;
    text-wrap: pretty;
  }
}

@media (min-width: 720px) {
  .signup-shell {
    max-width: 680px;
    padding: 3rem 2rem;
  }

  .signup-shell .card { padding: 2rem 2.25rem; }

  /* Two-column field layout: everything spans by default,
     .field-half fields pair up side by side. */
  .form-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
    align-items: start;
  }

  .form-cols > * { grid-column: 1 / -1; }
  .form-cols > .field-half { grid-column: auto; }
}

/* Pitch card beside the form on wide screens (partner + business signup) */
@media (min-width: 1000px) {
  .signup-shell-split {
    max-width: 1100px;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 2.5rem;
    row-gap: 0;
    align-items: start;
  }

  .signup-shell-split > .logo,
  .signup-shell-split > .subtitle,
  .signup-shell-split > .footer-link { grid-column: 1 / -1; }

  .signup-shell-split > .signup-intro,
  .signup-shell-split > .card:not(.signup-intro),
  .signup-shell-split > .footer-link {
    order: initial;
  }

  .signup-shell-split > .signup-intro {
    position: sticky;
    top: 2rem;
    margin-bottom: 0;
  }

  .signup-shell-split > .footer-link {
    margin-top: 1.5rem;
  }
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.25rem;
  display: inline-flex;
  align-items: center;
}

.logo span { color: var(--accent); }

a.logo {
  color: inherit;
  text-decoration: none;
}

a.logo:hover { text-decoration: none; }

.subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.signup-intro {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.signup-intro h2 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.signup-intro .land-bullets {
  margin-bottom: 0.6rem;
}

.signup-intro .land-bullets li {
  padding: 0.6rem 0;
}

/* "Want to learn more?" contact form inside the venue signup pitch card */
.signup-contact {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

.signup-contact > .hint {
  margin-bottom: 0.85rem;
}

.signup-contact .field {
  margin-bottom: 0.85rem;
}

h1 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.field {
  margin-bottom: 1.1rem;
}

/* Compact multi-field form used on the business dashboard (manual bookings). */
.inline-form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.inline-form .field {
  margin-bottom: 0;
}
.inline-form .error,
.inline-form .btn {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="search"],
input[type="date"],
select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s;
}

input:focus,
select:focus {
  border-color: var(--accent);
}

.pw-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}
.pw-wrap input {
  padding-right: 4.25rem;
}
.pw-toggle {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
}
.pw-toggle:hover {
  color: var(--text);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
.pw-toggle:focus-visible,
.pill:focus-visible,
.filter-pill:focus-visible,
.land-persona-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Hide number spinners — IDs/percents shouldn't look like steppers */
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 400;
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-label > span {
  flex: 1;
  min-width: 0;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  flex-shrink: 0;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.terms-list {
  padding-left: 1.25rem;
  color: var(--text);
  font-size: 0.92rem;
}

.terms-list li {
  margin-bottom: 0.85rem;
}

/* Full terms document (standalone pages + embedded scroll boxes) */
.terms-doc h1 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.terms-doc h2 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1.1rem 0 0.35rem;
}

.terms-doc p {
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.terms-doc .terms-meta {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

/* Scroll-to-read box on signup forms */
.terms-scroll {
  max-height: 220px;
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
}

.terms-scroll .terms-doc h1 { font-size: 1.05rem; }

/* Let clicks on the locked checkbox fall through to its label so we can
   show a "scroll and read first" nudge (disabled inputs swallow clicks). */
.checkbox-label input[type="checkbox"]:disabled {
  pointer-events: none;
}

.checkbox-label:has(input[type="checkbox"]:disabled) {
  cursor: not-allowed;
}

.terms-scroll.terms-nudge {
  animation: terms-nudge 0.7s ease;
}

@keyframes terms-nudge {
  0%, 100% { border-color: var(--border); box-shadow: none; }
  25% { border-color: var(--error); box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.18); }
  75% { border-color: var(--error); box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.18); }
}

.hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

.hint.ok { color: var(--success); }
.hint.bad { color: var(--error); }

.btn {
  display: inline-block;
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  /* Native-feeling taps: no gray flash, no double-tap-zoom delay */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.btn:hover { background: var(--accent-hover); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: auto;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}

.btn-secondary:hover { background: var(--border); }

/* Touch devices: hover is meaningless (and gets stuck after a tap) —
   replace it with press feedback, which is what reads as native. */
@media (hover: none) {
  .btn:hover { background: var(--accent); }
  .btn:active { background: var(--accent-hover); transform: scale(0.97); }
  .btn-secondary:hover { background: transparent; }
  .btn-secondary:active { background: var(--border); transform: scale(0.97); }
}

.error-banner {
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid var(--error);
  color: var(--error);
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: none;
}

.success-banner {
  background: rgba(0, 184, 148, 0.12);
  border: 1px solid var(--success);
  color: var(--success);
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: none;
}

.footer-link {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.header-row > div:first-child {
  min-width: 0;
  flex: 1 1 12rem;
}

.header-row .subtitle { margin-bottom: 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.stat-card .label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.stat-card .value {
  font-size: 1.4rem;
  font-weight: 700;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

/* —— Section rhythm ——
   A .section-head groups a title with a one-line explainer and puts a clear
   beat (rule + air + type change) between a section and the content above
   it, so headers read as headers instead of blending into the cards. */
.section-head {
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.header-row + .section-head {
  border-top: none;
  padding-top: 0;
  margin-top: 1.25rem;
}

.section-head .section-title {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-soft);
}

.section-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  max-width: 56ch;
}

.link-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
}

.referral-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.referral-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.referral-toggle:hover {
  background: color-mix(in srgb, var(--border) 35%, transparent);
}

.referral-main {
  flex: 1;
  min-width: 0;
}

.referral-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.referral-id {
  color: var(--muted);
  font-weight: 500;
}

.referral-badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  vertical-align: middle;
}

.referral-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.referral-side {
  text-align: right;
  flex-shrink: 0;
}

.referral-state {
  font-weight: 600;
  font-size: 0.85rem;
}

.referral-commission {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.referral-chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.15s ease;
  margin-left: 0.15rem;
}

.referral-row.is-open .referral-chevron {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

.referral-detail {
  padding: 0 1rem 0.9rem 1rem;
  border-top: 1px solid var(--border);
}

.referral-timeline {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0 0 0 0.9rem;
  border-left: 2px solid var(--border);
}

.referral-timeline li {
  position: relative;
  padding: 0 0 0.7rem 0.85rem;
  font-size: 0.85rem;
}

.referral-timeline li:last-child {
  padding-bottom: 0;
}

.referral-timeline li::before {
  content: '';
  position: absolute;
  left: -1.05rem;
  top: 0.35rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--muted);
}

.referral-step-state {
  font-weight: 600;
  display: block;
}

.referral-step-when {
  color: var(--muted);
  font-size: 0.8rem;
}

.referral-step-amt {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.link-info { flex: 1; min-width: 0; }

.link-venue {
  font-weight: 600;
  font-size: 0.9rem;
}

.link-url {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-clicks {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

.copied-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--success);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.copied-toast.show { opacity: 1; }

.link-actions {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

/* —— Dashboard on phones —— */
@media (max-width: 560px) {
  .container-wide {
    padding: 1.25rem
      max(1.1rem, env(safe-area-inset-right))
      calc(2.5rem + env(safe-area-inset-bottom))
      max(1.1rem, env(safe-area-inset-left));
  }

  /* 16px inputs: anything smaller makes iOS zoom the page on focus */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="url"],
  input[type="search"],
  input[type="date"],
  select,
  textarea {
    font-size: 1rem;
  }

  .nav-actions .btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .link-row {
    flex-wrap: wrap;
    row-gap: 0.7rem;
  }

  /* Share buttons as an iOS-style filled button row: borderless tinted
     fill, 44pt touch targets, equal widths. */
  .link-actions { width: 100%; gap: 0.5rem; }

  .link-actions .btn {
    flex: 1;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    border-radius: 12px;
    border-color: transparent;
    background: color-mix(in srgb, var(--border) 45%, transparent);
  }

  .link-actions .btn:active {
    background: var(--border);
  }

  .copied-toast {
    bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }
}

/* Walk-in QR modal — white box is deliberate: QR codes need a light
   background and quiet zone to scan reliably on a dark-themed page. */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.qr-modal[hidden] { display: none; }

.qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.qr-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  width: 100%;
  max-width: 22rem;
  max-height: 92vh;
  overflow-y: auto;
  text-align: center;
}

.qr-card-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.qr-box {
  background: #fff;
  border-radius: 8px;
  padding: 0.6rem;
  width: 100%;
  max-width: 15rem;
  margin: 0 auto 0.75rem;
}

.qr-box svg {
  display: block;
  width: 100%;
  height: auto;
}

.qr-url {
  font-size: 0.78rem;
  color: var(--muted);
  word-break: break-all;
  margin-bottom: 0.5rem;
}

.qr-card .hint { margin-bottom: 0.85rem; }

/* On phones the modal becomes a native-style bottom sheet: slides up,
   grabber bar, full-width close button, safe-area padding. */
@media (max-width: 560px) {
  .qr-modal {
    align-items: flex-end;
    padding: 0;
  }

  .qr-backdrop {
    animation: qr-fade-in 0.25s ease;
  }

  .qr-card {
    max-width: none;
    border-radius: 18px 18px 0 0;
    border-bottom: none;
    padding: 0.65rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom));
    animation: qr-sheet-up 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .qr-card::before {
    content: '';
    display: block;
    width: 2.25rem;
    height: 0.3rem;
    border-radius: 999px;
    background: var(--border);
    margin: 0 auto 0.9rem;
  }

  .qr-card-title { font-size: 1.05rem; }

  .qr-box { max-width: 17rem; }

  .qr-card .btn {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border-radius: 12px;
    border-color: transparent;
    background: color-mix(in srgb, var(--border) 45%, transparent);
  }

  .qr-card .btn:active {
    background: var(--border);
  }
}

@keyframes qr-sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes qr-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .qr-card, .qr-backdrop { animation: none; }
}

.welcome-banner {
  background: rgba(0, 184, 148, 0.1);
  border: 1px solid rgba(0, 184, 148, 0.4);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.welcome-banner strong { color: var(--success); }

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.data-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table tbody tr:last-child td { border-bottom: none; }

.source-bar {
  height: 6px;
  background: var(--bg);
  border-radius: 3px;
  margin-top: 0.4rem;
  overflow: hidden;
  max-width: 320px;
}

.source-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}

.note-box {
  background: rgba(108, 92, 231, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

.url-preview {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
  word-break: break-all;
}

.url-preview strong { color: var(--text); }

.snippet-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.snippet-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
  margin: 0.75rem 0;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--text);
}

.snippet-install[hidden],
.snippet-confirmed[hidden],
.snippet-toggle[hidden],
.snippet-status[hidden] {
  display: none !important;
}

.snippet-confirmed {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.85rem 0 0.35rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid color-mix(in srgb, var(--success) 45%, var(--border));
  background: color-mix(in srgb, var(--success) 12%, var(--surface));
  border-radius: 8px;
  color: var(--success);
}

.snippet-confirmed.is-pop {
  animation: snippet-confirm-pop 0.45s ease;
}

@keyframes snippet-confirm-pop {
  0% { transform: scale(0.96); opacity: 0.55; }
  60% { transform: scale(1.015); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.snippet-confirmed .snippet-check {
  margin-top: 0.05rem;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.78rem;
}

.snippet-confirmed-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.snippet-confirmed-copy strong {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.snippet-confirmed-copy span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.settings-snippet.is-confirmed .snippet-confirmed-copy span {
  color: color-mix(in srgb, var(--success) 55%, var(--muted));
}

.snippet-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  padding: 0.45rem 0;
  margin: 0.55rem 0 0.15rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.snippet-toggle:hover { color: var(--accent-soft); }

.snippet-toggle-chevron {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--accent-soft);
  transition: transform 0.15s ease;
}

.snippet-toggle.is-open .snippet-toggle-chevron {
  transform: rotate(90deg);
}

.snippet-confetti {
  position: absolute;
  inset: 0 auto auto 0;
  pointer-events: none;
  z-index: 5;
}

.snippet-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.snippet-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.snippet-status.is-ok { color: var(--success); }

.snippet-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  box-sizing: border-box;
  font-size: 0.7rem;
  line-height: 1;
  color: transparent;
}

.snippet-check.is-ok {
  border-color: var(--success);
  background: var(--success);
  color: #04140f;
}

.snippet-check.is-ok::before {
  content: '✓';
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .snippet-toggle-chevron { transition: none; }
  .snippet-confirmed.is-pop { animation: none; }
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  margin-bottom: 0.85rem;
}

.toggle-row input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
}

textarea,
select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
}

textarea:focus,
select:focus {
  border-color: var(--accent);
}

.form-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.btn-danger {
  border-color: rgba(255, 107, 107, 0.45);
  color: var(--error);
}

.btn-danger:hover {
  background: rgba(255, 107, 107, 0.12);
}

.spot-row .btn-secondary {
  flex-shrink: 0;
}

/* —— Public partner page —— */
.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(108, 92, 231, 0.22), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(0, 184, 148, 0.12), transparent 55%),
    var(--bg);
}

.page-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 1rem;
}

.page-hero .logo {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 1.25rem;
}

.page-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.page-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.page-bio {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42rem;
  margin-bottom: 1.25rem;
}

.filters-bar {
  position: sticky;
  top: 0;
  z-index: 500;
  backdrop-filter: blur(12px);
  background: rgba(15, 17, 23, 0.82);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.filters-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.filter-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 0.25rem;
}

.pill {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.pill:hover { border-color: var(--accent); }
.pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.page-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 860px) {
  .page-body { grid-template-columns: 1fr; }
}

#map {
  height: min(70vh, 620px);
  min-height: 360px;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
}

.leaflet-container { background: #141821; font-family: var(--font); }

.spots-panel { min-width: 0; }

.category-block {
  margin-bottom: 1.5rem;
}

.category-heading {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}

.spot-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.65rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

.spot-card:hover {
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}

.spot-card-name {
  font-weight: 650;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.spot-card-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.spot-card-blurb {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.9;
}

.partner-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--success);
  border: 1px solid rgba(0, 184, 148, 0.35);
  background: rgba(0, 184, 148, 0.1);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.page-empty,
.page-error {
  max-width: 480px;
  margin: 4rem auto;
  text-align: center;
  color: var(--muted);
  padding: 0 1.25rem;
}

.page-footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.bb-pin {
  background: transparent;
  border: none;
}

.bb-pin-inner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.leaflet-popup-content-wrapper {
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.leaflet-popup-tip { background: var(--surface); }

.leaflet-popup-content { margin: 0.75rem 0.9rem; }

.popup-name { font-weight: 650; margin-bottom: 0.2rem; }
.popup-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.45rem; }
.popup-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

/* —— Landing —— */
body.landing {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(108, 92, 231, 0.22), transparent 60%),
    radial-gradient(900px 500px at 95% 8%, rgba(0, 184, 148, 0.12), transparent 55%),
    var(--bg);
  scroll-padding-top: calc(4.5rem + env(safe-area-inset-top, 0px));
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.land-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(15, 17, 23, 0.78);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top, 0px);
}

.land-nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}

.land-logo {
  margin-bottom: 0;
  font-size: 1.2rem;
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.land-logo:hover { text-decoration: none; }

/* Wordmark ↔ bb icon swap when scrolled past the fold */
.land-logo .land-logo-word {
  color: inherit;
  display: block;
  white-space: nowrap;
  max-width: 9rem;
  overflow: hidden;
  transform-origin: left center;
  transition:
    max-width 0.36s ease,
    opacity 0.28s ease,
    transform 0.28s ease;
}

.land-logo .land-logo-word > span {
  color: var(--accent);
}

.land-logo-mark {
  display: block;
  flex-shrink: 0;
  width: 0;
  height: 1.15rem;
  opacity: 0;
  overflow: hidden;
  /* Light mark (white + purple bb) — readable on the dark sticky nav */
  background: url('/img/bookedby-mark-light.png') center / contain no-repeat;
  transform: scale(0.78);
  transform-origin: left center;
  transition:
    width 0.36s ease,
    opacity 0.28s ease 0.05s,
    transform 0.28s ease 0.05s;
}

.land-nav.is-scrolled .land-logo-word {
  max-width: 0;
  opacity: 0;
  transform: translateY(-2px) scale(0.97);
  visibility: hidden;
  transition:
    max-width 0.36s ease,
    opacity 0.22s ease,
    transform 0.28s ease,
    visibility 0s linear 0.28s;
}

.land-nav.is-scrolled .land-logo-mark {
  width: 1.85rem;
  opacity: 1;
  transform: scale(1);
}

.land-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.land-nav-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 0.65rem;
}

.land-nav-link:hover { color: var(--text); text-decoration: none; }

.land-nav-cta {
  width: auto;
  min-height: 44px;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.land-nav-cta:hover { text-decoration: none; }

.land-hero {
  position: relative;
  display: flex;
  align-items: center;
  /* Fallbacks: older iOS lacks svh/dvh */
  min-height: calc(100vh - 3.6rem);
  min-height: calc(100dvh - 3.6rem - env(safe-area-inset-top, 0px));
  min-height: calc(100svh - 3.6rem - env(safe-area-inset-top, 0px));
  padding: 4.5rem 1.25rem 5.5rem;
  background-color: var(--bg);
}

/* Desktop / mobile hero photos in exclusive media queries so phones
   never fetch the full-size file (and vice versa). */
@media (min-width: 861px) {
  .land-hero {
    background:
      linear-gradient(to top, var(--bg) 0%, transparent 18%),
      linear-gradient(
        to right,
        rgba(15, 17, 23, 0.82) 0%,
        rgba(15, 17, 23, 0.58) 32%,
        rgba(15, 17, 23, 0.2) 55%,
        rgba(15, 17, 23, 0.05) 72%,
        transparent 88%
      ),
      url('/img/hero.jpg') right center / cover no-repeat;
  }
}

.land-hero-inner,
.land-section-inner {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.land-hero-inner {
  text-align: left;
}

.land-hero-brand {
  /* Mobile-first: nav already shows the brand — keep hero mark for desktop */
  display: none;
  font-size: 0;
  line-height: 0;
  margin-bottom: 1.1rem;
  text-shadow: none;
  animation: land-rise 0.7s ease both;
}

/* Hero shows the bb mark only — wordmark lives in the nav */
.land-hero-brand::before {
  content: "";
  display: block;
  width: clamp(2.6rem, 5vw, 3.4rem);
  height: clamp(1.69rem, 3.25vw, 2.21rem); /* 320:208 mark ratio */
  background: url('/img/bookedby-mark-light.png') center / contain no-repeat;
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.45));
}

@media (min-width: 861px) {
  .land-hero-brand { display: inline-flex; align-items: center; }
}

.land-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.land-hero-title {
  font-size: clamp(2.05rem, 4.6vw, 3.25rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 18ch;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
  animation: land-rise 0.7s ease 0.08s both;
}

.land-hero-sub {
  color: #d5dae6;
  font-size: 1.12rem;
  line-height: 1.5;
  margin-bottom: 1.85rem;
  max-width: 28rem;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
  animation: land-rise 0.7s ease 0.16s both;
}

.land-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
  animation: land-rise 0.7s ease 0.24s both;
}

.land-cta-primary,
.land-cta-secondary {
  width: auto;
  min-width: 10.5rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  text-align: center;
}

.land-cta-primary:hover,
.land-cta-secondary:hover { text-decoration: none; }

.land-cta-secondary {
  background: rgba(15, 17, 23, 0.35);
  border: 1.5px solid rgba(232, 234, 239, 0.55);
  color: var(--text);
  backdrop-filter: blur(6px);
}

.land-cta-secondary:hover {
  background: rgba(26, 29, 39, 0.72);
  border-color: rgba(232, 234, 239, 0.8);
}

@keyframes land-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .land-hero-brand,
  .land-hero-title,
  .land-hero-sub,
  .land-hero-ctas {
    animation: none;
  }

  .land-logo,
  .land-logo .land-logo-word,
  .land-logo-mark {
    transition: none;
  }
}

.land-cta-inline {
  margin-top: 0.5rem;
  display: inline-block;
}

.land-section {
  padding: 3.5rem 1.25rem;
}

.land-section-alt {
  background: rgba(26, 29, 39, 0.45);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.land-section-title {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

.land-section-lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 40rem;
  margin-bottom: 2rem;
  line-height: 1.55;
}

.land-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: none;
}

.land-step {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.35rem 1.25rem 1.25rem;
}

.land-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.18);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.land-step h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 0.45rem;
}

.land-step > p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.land-step-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin-top: auto;
  padding-top: 1.15rem;
  min-height: 12.5rem;
}

.land-step-qr {
  width: 100%;
  max-width: 156px;
  padding: 0.7rem 0.75rem 0.8rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.land-step-qr .emp-qr-label {
  font-size: 0.62rem;
  margin-bottom: 0.45rem;
}

.land-step-qr .emp-qr-frame {
  padding: 0.5rem;
  margin-bottom: 0.45rem;
  border-radius: 10px;
}

.land-step-qr .emp-qr-svg {
  width: 84px;
  height: 84px;
}

.land-step-qr .emp-qr-handle {
  font-size: 0.66rem;
  margin-bottom: 0.4rem;
}

.land-step-qr .emp-qr-cta {
  font-size: 0.68rem;
  padding: 0.35rem 0.65rem;
  border-radius: 7px;
}

.land-step-inquire {
  width: 100%;
  max-width: 240px;
  padding: 0.85rem 0.9rem 0.95rem;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.land-step-inquire .creator-inquire-head {
  margin-bottom: 0.35rem;
}

.land-step-inquire .creator-inquire-head strong {
  font-size: 0.92rem;
}

.land-step-inquire .creator-inquire-head span {
  font-size: 0.72rem;
}

.land-step-inquire .creator-inquire-field {
  font-size: 0.78rem;
  padding: 0.4rem 0;
}

.land-step-inquire .creator-inquire-btn {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
}

.land-step-earn {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: 220px;
  opacity: 1;
  transform: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.land-step-earn .creator-earn-amount {
  font-size: 1.35rem;
}

.land-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.land-split-flip .land-split-copy { order: 1; }
.land-split-flip .land-card { order: 0; }

.land-bullets {
  list-style: none;
  margin-bottom: 1.5rem;
}

.land-bullets li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.land-bullets li:last-child { border-bottom: none; }

.land-bullets strong {
  font-size: 0.98rem;
  font-weight: 650;
}

.land-bullets span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.land-bullets code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.84em;
  color: var(--text);
  background: rgba(108, 92, 231, 0.12);
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
}

.land-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.land-card-preview {
  position: sticky;
  top: 5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.land-preview-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.land-preview-url {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  word-break: break-all;
}

.land-preview-url em {
  font-style: normal;
  color: var(--accent);
}

.land-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.land-preview-stats > div {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.land-preview-stat-val {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
}

.land-preview-stat-lbl {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.land-preview-rows {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.land-preview-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}

.land-preview-row strong { color: var(--text); font-weight: 650; }

.land-preview-row-total {
  border-bottom: none;
  padding-bottom: 0;
  padding-top: 0.25rem;
  color: var(--text);
  font-weight: 600;
}

.land-preview-row-total strong { color: var(--success); font-size: 1.05rem; }

.land-preview-note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.land-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.land-persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.land-persona-card {
  display: flex;
  flex-direction: column;
  background: #f4f5f8;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 1.35rem 1.25rem;
  color: #1a1d27;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

a.land-persona-card:hover {
  text-decoration: none;
  background: #fff;
  border-color: rgba(108, 92, 231, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

a.land-persona-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.land-persona-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.95rem;
  border-radius: 11px;
  background: rgba(108, 92, 231, 0.12);
  color: var(--accent);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.land-persona-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

a.land-persona-card:hover .land-persona-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.06);
}

.land-persona-card h3 {
  font-size: 1.02rem;
  font-weight: 650;
  margin-bottom: 0.45rem;
  color: #0f1117;
}

.land-persona-card p {
  color: #4a5163;
  font-size: 0.92rem;
  line-height: 1.5;
  flex: 1;
}

.land-persona-card code {
  font-size: 0.85em;
  background: rgba(15, 17, 23, 0.07);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  color: #1a1d27;
}

.land-persona-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
}

.land-persona-more::after {
  content: '→';
  transition: transform 0.18s ease;
}

a.land-persona-card:hover .land-persona-more::after {
  transform: translateX(3px);
}

.land-bullets-compact {
  max-width: 640px;
  margin-bottom: 1.5rem;
}

.land-trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.35rem 1.25rem;
}

.land-trust-card h3 {
  font-size: 1.02rem;
  font-weight: 650;
  margin-bottom: 0.45rem;
}

.land-trust-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.land-cta-band {
  text-align: center;
  padding-bottom: 4rem;
}

.land-cta-band-inner {
  max-width: 640px;
}

.land-cta-band .land-section-lead {
  margin-left: auto;
  margin-right: auto;
}

.land-cta-band .land-hero-ctas {
  justify-content: center;
  animation: none;
}

.land-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 17, 23, 0.6);
}

.land-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.land-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.65rem;
  justify-content: center;
  font-size: 0.88rem;
}

.land-footer-links a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.45rem;
}
.land-footer-links a:hover { color: var(--text); text-decoration: none; }

.land-footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .land-steps,
  .land-trust-grid,
  .land-persona-grid,
  .land-split {
    grid-template-columns: 1fr;
  }

  .land-split-flip .land-split-copy,
  .land-split-flip .land-card { order: initial; }

  .land-card-preview { position: static; }

  .land-hero {
    /* Keep a full first-screen composition on phones */
    min-height: calc(100vh - 3.6rem);
    min-height: calc(100dvh - 3.6rem - env(safe-area-inset-top, 0px));
    min-height: calc(100svh - 3.6rem - env(safe-area-inset-top, 0px));
    padding: 2.75rem 1.35rem 4rem;
    justify-content: center;
    background:
      linear-gradient(to top, var(--bg) 0%, transparent 28%),
      linear-gradient(
        to right,
        rgba(15, 17, 23, 0.9) 0%,
        rgba(15, 17, 23, 0.62) 42%,
        rgba(15, 17, 23, 0.28) 72%,
        rgba(15, 17, 23, 0.18) 100%
      ),
      url('/img/hero-sm.jpg') 72% center / cover no-repeat;
  }

  .land-hero-title {
    max-width: none;
    font-size: clamp(1.85rem, 7.2vw, 2.55rem);
    margin-bottom: 0.85rem;
  }

  .land-hero-sub {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }

  .land-section-lead { margin-bottom: 1.5rem; }
}

@media (max-width: 480px) {
  .land-hero-ctas { flex-direction: column; }
  .land-cta-primary,
  .land-cta-secondary { width: 100%; }
  .land-preview-stats { grid-template-columns: 1fr; }
}

/* —— Persona detail pages (creators / employees / agents) —— */

.persona-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 3.6rem);
  min-height: calc(100dvh - 3.6rem - env(safe-area-inset-top, 0px));
  min-height: calc(100svh - 3.6rem - env(safe-area-inset-top, 0px));
  padding: 4.5rem 1.25rem 5.5rem;
  overflow: hidden;
}

.persona-hero-inner {
  position: relative;
  z-index: 1;
}

.persona-hero-creators,
.persona-hero-employees,
.persona-hero-agents,
.persona-hero-integrations,
.persona-hero-testimonials {
  background-color: var(--bg);
}

@media (min-width: 861px) {
  .persona-hero-creators {
    background:
      linear-gradient(to top, var(--bg) 0%, transparent 18%),
      linear-gradient(
        to right,
        rgba(15, 17, 23, 0.9) 0%,
        rgba(15, 17, 23, 0.72) 28%,
        rgba(15, 17, 23, 0.35) 52%,
        rgba(15, 17, 23, 0.1) 72%,
        transparent 100%
      ),
      url('/img/creator.jpg') 68% center / cover no-repeat;
  }

  .persona-hero-employees {
    background:
      linear-gradient(to top, var(--bg) 0%, transparent 18%),
      linear-gradient(
        to right,
        rgba(15, 17, 23, 0.9) 0%,
        rgba(15, 17, 23, 0.72) 28%,
        rgba(15, 17, 23, 0.35) 52%,
        rgba(15, 17, 23, 0.1) 72%,
        transparent 100%
      ),
      url('/img/employee.jpg') 58% center / cover no-repeat;
  }

  .persona-hero-agents {
    background:
      linear-gradient(to top, var(--bg) 0%, transparent 18%),
      linear-gradient(
        to right,
        rgba(15, 17, 23, 0.9) 0%,
        rgba(15, 17, 23, 0.72) 28%,
        rgba(15, 17, 23, 0.35) 52%,
        rgba(15, 17, 23, 0.1) 72%,
        transparent 100%
      ),
      url('/img/booking-agent.jpg') 62% center / cover no-repeat;
  }

  .persona-hero-integrations {
    background:
      linear-gradient(to top, var(--bg) 0%, transparent 18%),
      linear-gradient(
        to right,
        rgba(15, 17, 23, 0.9) 0%,
        rgba(15, 17, 23, 0.72) 28%,
        rgba(15, 17, 23, 0.35) 52%,
        rgba(15, 17, 23, 0.1) 72%,
        transparent 100%
      ),
      url('/img/integrations.jpg') 62% center / cover no-repeat;
  }

  .persona-hero-testimonials {
    background:
      linear-gradient(to top, var(--bg) 0%, transparent 18%),
      linear-gradient(
        to right,
        rgba(15, 17, 23, 0.9) 0%,
        rgba(15, 17, 23, 0.72) 28%,
        rgba(15, 17, 23, 0.35) 52%,
        rgba(15, 17, 23, 0.1) 72%,
        transparent 100%
      ),
      url('/img/patent-pending-bar.jpg') 55% center / cover no-repeat;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.persona-flow {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.persona-flow-step {
  display: grid;
  grid-template-columns: auto 1fr minmax(10rem, 14rem);
  gap: 1.15rem 1.35rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}

.persona-flow-step:last-child { border-bottom: none; }

.persona-flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.18);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
}

.persona-flow-copy h3 {
  font-size: 1.08rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

.persona-flow-copy p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 36rem;
}

.persona-flow-copy code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.08em 0.35em;
  border-radius: 4px;
  color: var(--text);
}

.persona-flow-visual {
  justify-self: end;
}

.persona-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.persona-chip {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  background: rgba(108, 92, 231, 0.14);
  border: 1px solid rgba(108, 92, 231, 0.35);
  color: var(--text);
  white-space: nowrap;
}

.persona-chip-muted {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--muted);
}

.persona-chip-pulse {
  animation: persona-pulse 2.4s ease-in-out infinite;
}

@keyframes persona-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(108, 92, 231, 0); }
}

.persona-share-stack {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}

.persona-share-bubble {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  opacity: 0;
  transform: translateX(8px);
}

.persona-flow-step.is-in .persona-share-bubble,
.reveal.is-in .persona-share-bubble {
  animation: persona-bubble-in 0.45s ease forwards;
}

.persona-share-bubble-delay { animation-delay: 0.12s !important; }
.persona-share-bubble-delay2 { animation-delay: 0.24s !important; }

@keyframes persona-bubble-in {
  to { opacity: 1; transform: translateX(0); }
}

.persona-match-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--success);
  background: rgba(0, 184, 148, 0.1);
  border: 1px solid rgba(0, 184, 148, 0.35);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.persona-match-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.5);
  animation: persona-dot 1.8s ease-in-out infinite;
}

@keyframes persona-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.45); }
  50% { box-shadow: 0 0 0 5px rgba(0, 184, 148, 0); }
}

.persona-earn-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  min-width: 9.5rem;
  padding: 0.65rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

.persona-earn-amt {
  color: var(--success);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.persona-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.persona-showcase .land-section-lead { margin-bottom: 1.25rem; }

.persona-phone {
  display: flex;
  justify-content: center;
  perspective: 900px;
}

.persona-phone-bezel {
  width: min(100%, 280px);
  background: #12141c;
  border: 1px solid #2e3344;
  border-radius: 28px;
  padding: 0.7rem 0.65rem 0.85rem;
  box-shadow:
    0 28px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: rotateY(-8deg) rotateX(2deg);
  animation: persona-phone-float 5.5s ease-in-out infinite;
}

@keyframes persona-phone-float {
  0%, 100% { transform: rotateY(-8deg) rotateX(2deg) translateY(0); }
  50% { transform: rotateY(-6deg) rotateX(1deg) translateY(-8px); }
}

.persona-phone-notch {
  width: 38%;
  height: 0.35rem;
  margin: 0.15rem auto 0.75rem;
  border-radius: 999px;
  background: #2a2f3d;
}

.persona-phone-screen {
  background:
    radial-gradient(400px 200px at 20% 0%, rgba(108, 92, 231, 0.18), transparent 55%),
    #161922;
  border-radius: 18px;
  padding: 1rem 0.85rem 1.1rem;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.persona-page-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.persona-page-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.85), rgba(0, 184, 148, 0.55));
  color: #fff;
}

.persona-page-handle {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 0.98rem;
}

.persona-page-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.persona-page-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.persona-page-venue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 17, 23, 0.55);
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
}

.reveal.is-in .persona-page-venue {
  animation: persona-venue-in 0.5s ease forwards;
}

.persona-page-venue-a { animation-delay: 0.1s !important; }
.persona-page-venue-b { animation-delay: 0.22s !important; }
.persona-page-venue-c { animation-delay: 0.34s !important; }

@keyframes persona-venue-in {
  to { opacity: 1; transform: translateY(0); }
}

.persona-page-venue em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(108, 92, 231, 0.14);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.persona-page-footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
}

.persona-page-footer span { color: var(--accent); }

.persona-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.persona-trust-item h3 {
  font-size: 1.02rem;
  font-weight: 650;
  margin-bottom: 0.4rem;
}

.persona-trust-item p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* —— Creators story beats (share → tap → earn) —— */

.creator-story {
  display: flex;
  flex-direction: column;
  gap: 3.25rem;
  margin-top: 0.5rem;
}

.creator-beat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 2rem 2.5rem;
  align-items: center;
}

.creator-beat-flip .creator-beat-copy { order: 1; }
.creator-beat-flip .creator-beat-visual { order: 0; }

.creator-beat-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.18);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}

.creator-beat-copy h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.creator-beat-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 32rem;
}

.creator-beat-copy code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.08em 0.35em;
  border-radius: 4px;
  color: var(--text);
}

.creator-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 320px;
  padding: 0.5rem 0 0.25rem;
}

.creator-phone {
  width: 168px;
  border-radius: 22px;
  background: #10131a;
  border: 1px solid #2e3344;
  padding: 0.55rem;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.4);
}

.creator-phone-reel {
  transform: rotate(-7deg) translateY(12px);
  z-index: 1;
}

.creator-phone-story {
  width: 178px;
  margin-left: -2.25rem;
  transform: rotate(5deg) translateY(-6px);
  z-index: 2;
}

.reveal.is-in .creator-phone-reel {
  animation: creator-phone-in-left 0.65s ease both;
}

.reveal.is-in .creator-phone-story {
  animation: creator-phone-in-right 0.65s ease 0.1s both;
}

@keyframes creator-phone-in-left {
  from { opacity: 0; transform: rotate(-7deg) translate(-18px, 28px); }
  to { opacity: 1; transform: rotate(-7deg) translateY(12px); }
}

@keyframes creator-phone-in-right {
  from { opacity: 0; transform: rotate(5deg) translate(18px, 22px); }
  to { opacity: 1; transform: rotate(5deg) translateY(-6px); }
}

.creator-phone-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.2rem 0.25rem 0.45rem;
}

.creator-phone-live {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.creator-story-bar {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff 62%, rgba(255, 255, 255, 0.25) 62%);
}

.creator-phone-body {
  border-radius: 14px;
  min-height: 250px;
  padding: 1rem 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.creator-phone-body-reel {
  justify-content: flex-end;
  background: #141018;
  padding-top: 0.7rem;
}

.creator-reel-progress {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  right: 0.55rem;
  display: flex;
  gap: 3px;
  z-index: 3;
}

.creator-reel-progress > span {
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.creator-reel-progress > span.is-done {
  background: #fff;
}

.creator-reel-progress > span.is-playing > i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: inherit;
}

.reveal.is-in .creator-reel-progress > span.is-playing > i {
  animation: creator-reel-play 3.2s linear infinite;
}

@keyframes creator-reel-play {
  from { width: 0; }
  to { width: 100%; }
}

.creator-reel-footage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #1a1520 url('/img/creator-reel.jpg') center 28% / cover no-repeat;
  transform-origin: 55% 35%;
}

.reveal.is-in .creator-reel-footage {
  animation: creator-reel-ken 8s ease-in-out infinite alternate;
}

@keyframes creator-reel-ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.creator-reel-footage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.12) 100%);
  z-index: 1;
}

.creator-reel-actions {
  position: absolute;
  right: 0.55rem;
  bottom: 3.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  z-index: 2;
}

.creator-reel-heart {
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(-45deg);
  border-radius: 2px;
  position: relative;
  opacity: 0.92;
}

.creator-reel-heart::before,
.creator-reel-heart::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
}

.creator-reel-heart::before { top: -7px; left: 0; }
.creator-reel-heart::after { top: 0; left: 7px; }

.creator-reel-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.creator-reel-audio {
  position: relative;
  z-index: 2;
  margin-top: 0.45rem;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.creator-phone-body-story {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 42%, rgba(0, 0, 0, 0.2) 100%),
    url('/img/patent-pending-bar.jpg') center 35% / cover no-repeat;
}

.creator-phone-caption {
  position: relative;
  z-index: 2;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  padding-right: 1.4rem;
}

.creator-story-venue {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.55rem;
}

.creator-story-bullets {
  list-style: none;
  margin-bottom: 0.85rem;
}

.creator-story-bullets li {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.15rem 0;
}

.creator-story-bullets li::before {
  content: '· ';
  color: var(--accent);
  font-weight: 700;
}

.creator-story-cta {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(108, 92, 231, 0.85);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
}

.creator-link-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: 320px;
  margin: 0 auto;
}

.creator-link-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.creator-link-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(108, 92, 231, 0.45);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  color: var(--text);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.creator-link-pill em {
  font-style: normal;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.creator-link-pill-pulse {
  animation: persona-pulse 2.4s ease-in-out infinite;
}

.creator-mini-page {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.creator-mini-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.creator-mini-avatar {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.85), rgba(0, 184, 148, 0.55));
  color: #fff;
}

.creator-mini-head strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.creator-mini-head small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.creator-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.75rem;
  margin-bottom: 0.45rem;
  border-radius: 10px;
  background: rgba(15, 17, 23, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  font-weight: 600;
}

.creator-mini-row:last-child { margin-bottom: 0; }

.creator-mini-row span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(108, 92, 231, 0.14);
  padding: 0.22rem 0.5rem;
  border-radius: 6px;
}

.creator-earn-stage {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
  padding-bottom: 1.5rem;
}

.creator-inquire {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem 1.1rem 1.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.creator-inquire-head {
  margin-bottom: 0.65rem;
}

.creator-inquire-head strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.creator-inquire-head span {
  font-size: 0.8rem;
  color: var(--muted);
}

.creator-inquire-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
}

.creator-inquire-tags span {
  font-size: 0.7rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.creator-inquire-field {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.creator-inquire-field em {
  font-style: normal;
  color: var(--text);
  font-weight: 600;
}

.creator-inquire-btn {
  margin-top: 0.95rem;
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
}

.creator-earn-toast {
  position: absolute;
  right: -0.35rem;
  bottom: -0.35rem;
  width: min(100%, 210px);
  background: #12151d;
  border: 1px solid rgba(0, 184, 148, 0.4);
  border-radius: 14px;
  padding: 0.9rem 0.95rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
  transform: translateY(8px);
  opacity: 0;
}

/* Landing how-it-works: always visible (no reveal animation) */
.land-step-visual .creator-earn-toast.land-step-earn {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: 220px;
  opacity: 1;
  transform: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.reveal.is-in .creator-earn-toast {
  animation: creator-toast-in 0.55s ease 0.2s forwards;
}

@keyframes creator-toast-in {
  to { opacity: 1; transform: translateY(0); }
}

.creator-earn-toast-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.creator-earn-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(0, 184, 148, 0.2);
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 700;
}

.creator-earn-toast-top strong {
  font-size: 0.82rem;
}

.creator-earn-toast > p {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.creator-earn-amount {
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--success);
  line-height: 1.1;
}

.creator-earn-note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  color: var(--muted);
}

.creator-inquire-field-accent {
  background: rgba(108, 92, 231, 0.1);
  margin: 0.35rem -0.35rem 0;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  border-radius: 8px;
  border-bottom-color: transparent;
}

.creator-inquire-field-accent em {
  color: var(--accent);
}

.emp-qr-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.emp-qr-card {
  width: 100%;
  background: #f4f5f7;
  color: #12151d;
  border-radius: 16px;
  padding: 1.1rem 1.15rem 1.15rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.emp-qr-card-pulse {
  animation: emp-qr-glow 2.4s ease-in-out infinite;
}

@keyframes emp-qr-glow {
  0%, 100% { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
  50% { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(108, 92, 231, 0.28); }
}

.emp-qr-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 650;
  color: #5c6478;
  margin-bottom: 0.7rem;
}

.emp-qr-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem;
  border: 1px solid rgba(18, 21, 29, 0.08);
  margin-bottom: 0.75rem;
}

.emp-qr-svg {
  width: 148px;
  height: 148px;
  display: block;
  shape-rendering: crispEdges;
}

.emp-qr-handle {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: #3d4456;
  margin-bottom: 0.55rem;
}

.emp-qr-cta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
}

.emp-channel-stack {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.emp-channel {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
}

.reveal.is-in .emp-channel {
  animation: persona-bubble-in 0.45s ease forwards;
}

.emp-channel-delay { animation-delay: 0.12s !important; }
.emp-channel-delay2 { animation-delay: 0.24s !important; }

.emp-match-toast {
  border-color: rgba(108, 92, 231, 0.4);
}

.emp-match-method {
  font-size: 1.05rem !important;
  color: var(--accent) !important;
}

.agent-proposal {
  max-width: 340px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem 1.1rem 1.2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.agent-proposal-label {
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.agent-proposal-from {
  font-size: 0.92rem;
  font-weight: 650;
  margin-bottom: 0.95rem;
}

.agent-proposal-row {
  padding: 0.7rem 0.75rem;
  margin-bottom: 0.45rem;
  border-radius: 10px;
  background: rgba(15, 17, 23, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.agent-proposal-row strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.agent-proposal-row span {
  font-size: 0.78rem;
  color: var(--muted);
}

.agent-proposal-link {
  margin-top: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--accent);
  background: rgba(108, 92, 231, 0.12);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .persona-chip-pulse,
  .persona-match-dot,
  .persona-phone-bezel,
  .persona-share-bubble,
  .persona-page-venue,
  .creator-link-pill-pulse,
  .creator-phone-reel,
  .creator-phone-story,
  .creator-earn-toast,
  .emp-channel,
  .emp-qr-card-pulse,
  .creator-reel-footage,
  .creator-reel-progress > span.is-playing > i {
    animation: none !important;
  }

  .reveal.is-in .creator-reel-progress > span.is-playing > i {
    width: 62%;
  }

  .reveal.is-in .creator-reel-footage {
    transform: none;
  }

  .persona-share-bubble,
  .persona-page-venue,
  .creator-earn-toast,
  .emp-channel {
    opacity: 1;
    transform: none;
  }

  .reveal.is-in .creator-phone-reel {
    transform: rotate(-7deg) translateY(12px);
    opacity: 1;
  }

  .reveal.is-in .creator-phone-story {
    transform: rotate(5deg) translateY(-6px);
    opacity: 1;
  }

  a.land-persona-card:hover {
    transform: none;
  }

  a.land-persona-card:hover .land-persona-icon {
    transform: none;
  }
}

@media (max-width: 860px) {
  .persona-flow-step {
    grid-template-columns: auto 1fr;
  }

  .persona-flow-visual {
    grid-column: 2;
    justify-self: start;
    margin-top: -0.25rem;
  }

  .persona-chip-row,
  .persona-share-stack {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .persona-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .persona-phone-bezel {
    transform: none;
    animation: persona-phone-float-mobile 5.5s ease-in-out infinite;
  }

  @keyframes persona-phone-float-mobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }

  .persona-trust-row {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .persona-hero {
    min-height: calc(100vh - 3.6rem);
    min-height: calc(100dvh - 3.6rem - env(safe-area-inset-top, 0px));
    min-height: calc(100svh - 3.6rem - env(safe-area-inset-top, 0px));
    padding: 2.75rem 1.35rem 4rem;
    justify-content: center;
  }

  .persona-hero-creators {
    background:
      linear-gradient(to top, var(--bg) 0%, transparent 28%),
      linear-gradient(
        to right,
        rgba(15, 17, 23, 0.92) 0%,
        rgba(15, 17, 23, 0.7) 42%,
        rgba(15, 17, 23, 0.32) 100%
      ),
      url('/img/creator-sm.jpg') 72% center / cover no-repeat;
  }

  .persona-hero-employees {
    background:
      linear-gradient(to top, var(--bg) 0%, transparent 28%),
      linear-gradient(
        to right,
        rgba(15, 17, 23, 0.92) 0%,
        rgba(15, 17, 23, 0.7) 42%,
        rgba(15, 17, 23, 0.32) 100%
      ),
      url('/img/employee-sm.jpg') 55% center / cover no-repeat;
  }

  .persona-hero-agents {
    background:
      linear-gradient(to top, var(--bg) 0%, transparent 28%),
      linear-gradient(
        to right,
        rgba(15, 17, 23, 0.92) 0%,
        rgba(15, 17, 23, 0.7) 42%,
        rgba(15, 17, 23, 0.32) 100%
      ),
      url('/img/booking-agent-sm.jpg') 58% center / cover no-repeat;
  }

  .persona-hero-integrations {
    background:
      linear-gradient(to top, var(--bg) 0%, transparent 28%),
      linear-gradient(
        to right,
        rgba(15, 17, 23, 0.92) 0%,
        rgba(15, 17, 23, 0.7) 42%,
        rgba(15, 17, 23, 0.32) 100%
      ),
      url('/img/integrations-sm.jpg') 62% center / cover no-repeat;
  }

  .persona-hero-testimonials {
    background:
      linear-gradient(to top, var(--bg) 0%, transparent 28%),
      linear-gradient(
        to right,
        rgba(15, 17, 23, 0.92) 0%,
        rgba(15, 17, 23, 0.7) 42%,
        rgba(15, 17, 23, 0.32) 100%
      ),
      url('/img/patent-pending-bar.jpg') 48% center / cover no-repeat;
  }

  .creator-beat,
  .creator-beat-flip {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .creator-beat-flip .creator-beat-copy,
  .creator-beat-flip .creator-beat-visual {
    order: initial;
  }

  .creator-story { gap: 2.5rem; }

  .creator-phones { min-height: 290px; }

  .creator-earn-toast {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 0.85rem;
  }

  .creator-earn-stage { padding-bottom: 0; }
}

@media (max-width: 480px) {
  .persona-flow-step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .persona-flow-visual {
    grid-column: 1;
  }

  .creator-phone { width: 148px; }
  .creator-phone-story { width: 156px; margin-left: -1.75rem; }
  .creator-phone-body { min-height: 220px; }
}

/* ---------- Integrations page ---------- */

.integ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.integ-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.35rem 1.4rem;
}

.integ-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.integ-card h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin: 0;
}

.integ-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.integ-badge {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(46, 204, 113, 0.14);
  border: 1px solid rgba(46, 204, 113, 0.4);
  color: var(--success);
}

.integ-badge-soon {
  background: rgba(108, 92, 231, 0.14);
  border-color: rgba(108, 92, 231, 0.38);
  color: var(--accent);
}

.integ-note {
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 900px) {
  .integ-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .integ-grid { grid-template-columns: 1fr; }
}

/* ---- click journey stepper (creator dashboard "Recent clicks") ---- */

.click-summary {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.click-summary-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.click-summary-label {
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  width: 2.6rem;
  flex-shrink: 0;
}

/* collapsed venue-specific links under "Your referral link" */
.venue-links-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  padding: 0.35rem 0;
  margin: 0.15rem 0 1rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.venue-links-toggle:hover { color: var(--accent-soft); }

.venue-links-chevron {
  font-size: 0.85rem;
  color: var(--accent-soft);
}

.venue-search { margin-bottom: 0.6rem; }

.journey {
  display: flex;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 0.75rem 0.85rem;
  margin-bottom: 0.6rem;
}

.journey-step {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
}

/* connector line between icon nodes */
.journey-step + .journey-step::before {
  content: '';
  position: absolute;
  top: 19px;
  left: calc(-50% + 26px);
  right: calc(50% + 26px);
  height: 2px;
  border-radius: 1px;
  background: var(--border);
}

.journey-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--bg);
  color: var(--muted);
  flex-shrink: 0;
}

.journey-icon svg { width: 18px; height: 18px; }

.journey-badge {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 650;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(139, 146, 165, 0.14);
  border: 1px solid rgba(139, 146, 165, 0.35);
  color: var(--text);
}

.journey-badge.jb-success {
  background: rgba(0, 184, 148, 0.13);
  border-color: rgba(0, 184, 148, 0.4);
  color: var(--success);
}

.journey-badge.jb-wait {
  background: rgba(253, 203, 110, 0.12);
  border-color: rgba(253, 203, 110, 0.38);
  color: #fdcb6e;
}

.journey-badge.jb-instagram {
  background: rgba(225, 48, 108, 0.13);
  border-color: rgba(225, 48, 108, 0.42);
  color: #ff6b9d;
}

.journey-badge.jb-tiktok {
  background: rgba(105, 201, 208, 0.13);
  border-color: rgba(105, 201, 208, 0.42);
  color: #69c9d0;
}

.journey-badge.jb-facebook,
.journey-badge.jb-x {
  background: rgba(24, 119, 242, 0.13);
  border-color: rgba(24, 119, 242, 0.45);
  color: #6ea8ff;
}

.journey-badge.jb-youtube,
.journey-badge.jb-reddit {
  background: rgba(255, 107, 107, 0.12);
  border-color: rgba(255, 107, 107, 0.4);
  color: var(--error);
}

.journey-badge.jb-snapchat {
  background: rgba(255, 252, 0, 0.1);
  border-color: rgba(255, 252, 0, 0.32);
  color: #f4f17a;
}

.journey-badge.jb-pinterest {
  background: rgba(230, 0, 35, 0.12);
  border-color: rgba(230, 0, 35, 0.4);
  color: #ff8091;
}

.journey-badge.jb-linktree {
  background: rgba(67, 224, 129, 0.12);
  border-color: rgba(67, 224, 129, 0.4);
  color: #43e081;
}

.journey-sub {
  font-size: 0.72rem;
  color: var(--muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 0.3rem;
}

@media (max-width: 560px) {
  .journey { padding: 0.8rem 0.4rem 0.7rem; }
  .journey-icon { width: 32px; height: 32px; border-radius: 9px; }
  .journey-icon svg { width: 15px; height: 15px; }
  .journey-step + .journey-step::before {
    top: 16px;
    left: calc(-50% + 23px);
    right: calc(50% + 23px);
  }
  .journey-badge { font-size: 0.66rem; }
  .journey-sub { font-size: 0.66rem; }
}

/* —— Dashboard "get set up" checklist —— */

.setup-card {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
}

.setup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.setup-title {
  font-size: 1rem;
  font-weight: 600;
}

.setup-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
}

a.setup-step:hover {
  background: rgba(108, 92, 231, 0.08);
}

.setup-step.is-done {
  opacity: 0.55;
}

.setup-check {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--success);
}

.setup-step.is-done .setup-check {
  border-color: var(--success);
}

.setup-step-body {
  display: block;
  min-width: 0;
}

.setup-step-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.setup-step.is-done .setup-step-title {
  text-decoration: line-through;
}

.setup-step-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.setup-step-go {
  margin-left: auto;
  align-self: center;
  color: var(--accent);
  font-size: 1rem;
}

.setup-extras-toggle {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.55rem 0.5rem;
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
}

.setup-extras-toggle:hover {
  color: var(--accent-soft);
}

.setup-extras {
  margin-top: 0.15rem;
}

/* —— Testimonials —— */
.tmon-list {
  display: flex;
  flex-direction: column;
  gap: 3.25rem;
  margin-top: 2.75rem;
  max-width: 40rem;
}

.tmon {
  position: relative;
  margin: 0;
  padding: 0 0 0 0.15rem;
  border: none;
  background: none;
  transition-delay: var(--tmon-delay, 0ms);
}

.tmon-mark {
  display: block;
  font-size: 4.5rem;
  line-height: 0.7;
  color: var(--accent);
  opacity: 0.55;
  margin-bottom: 0.85rem;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--tmon-delay, 0ms);
  font-family: Georgia, 'Times New Roman', serif;
  user-select: none;
}

.tmon.is-in .tmon-mark {
  opacity: 0.85;
  transform: translateY(0);
}

.tmon-quote {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.45;
  font-weight: 450;
  color: var(--text);
  quotes: none;
}

.tmon-by {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  max-width: 16rem;
}

.tmon-by strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.tmon-by span {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (min-width: 861px) {
  .tmon-list { gap: 4rem; }

  .tmon:nth-child(even) {
    margin-left: 3.5rem;
  }

  .tmon-mark {
    font-size: 5.25rem;
    margin-bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tmon-mark {
    transition: none;
    transform: none;
    opacity: 0.85;
  }
}
