.marketer-page .section {
  padding: 56px 0;
}
.marketer-page .hero {
  padding-bottom: 56px;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}
.marketer-page .hero .trust-indicators {
  color: rgba(255, 255, 255, 0.85);
}
.marketer-page .hero .trust-indicators .separator {
  color: rgba(255, 255, 255, 0.35);
}
.marketer-page .marketer-hero {
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 24px 0 40px;
  align-items: start;
}
.marketer-page .marketer-hero .cta-row {
  flex-direction: column;
  align-items: stretch;
}
.marketer-page .marketer-hero .cta-row .btn {
  width: 100%;
  justify-content: center;
}
.marketer-page .hero-illustration {
  min-height: auto;
  padding: 16px;
}
.marketer-page .hero-illustration img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.marketer-page .hero-illustration-note {
  margin: 8px 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.76);
}
.marketer-page .intro-cards .card-grid {
  grid-template-columns: 1fr;
  gap: 20px;
}
.value-grid {
  grid-template-columns: 1fr;
}
.marketer-page .card {
  padding: 24px;
}
.funnel-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.story-area {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.intro-card strong {
  color: var(--brand-primary);
  font-weight: 700;
}
.intro-card--wide {
  grid-column: 1 / -1;
}
.trust-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--brand-text-muted);
  flex-wrap: wrap;
  text-align: center;
}
.trust-indicators .separator {
  color: var(--brand-border);
}
.story-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  text-align: right;
  margin-top: 40px;
}
.story-header h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
}
.story-header p {
  margin: 0;
  color: var(--brand-text-muted);
}
.funnel-shell {
  padding: 56px 0;
}
.story-step {
  background: var(--brand-surface);
  padding: 20px;
  border-radius: var(--brand-radius-lg);
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-soft);
  min-height: auto;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.micro-proof {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--brand-radius-md);
  background: var(--brand-surface-muted);
}
.micro-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--brand-radius-pill);
  background: #c9ecf3;
  color: #0f4d63;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.funnel-rail {
  position: static;
  top: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: fit-content;
}
.demo-card {
  background: var(--brand-surface);
  border-radius: var(--brand-radius-lg);
  padding: 24px;
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-soft);
}
.profile-preview-card {
  background: var(--brand-surface);
  border-radius: var(--brand-radius-lg);
  padding: 24px;
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-soft);
}
.demo-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 12px;
  gap: 12px;
  flex-wrap: wrap;
}
.demo-toggle-group {
  display: flex;
  gap: 8px;
  width: 100%;
}
.demo-toggle {
  border: 1px solid var(--brand-border);
  background: var(--brand-surface);
  color: var(--brand-text);
  border-radius: var(--brand-radius-pill);
  padding: 8px 16px;
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  min-height: 44px;
  flex: 1 1 0;
  min-width: 0;
  font-family: inherit;
}
.demo-toggle[aria-pressed="false"] {
  background: var(--brand-surface);
  border-color: var(--brand-border);
  color: var(--brand-text);
  box-shadow: none;
}
.demo-toggle:hover {
  border-color: rgba(28, 202, 211, 0.42);
  box-shadow: 0 0 0 3px rgba(28, 202, 211, 0.14);
}
.demo-toggle[data-demo="before"][aria-pressed="true"],
.demo-toggle[data-demo="before"].is-active {
  background: rgba(91, 98, 115, 0.16);
  color: var(--brand-text);
  border-color: rgba(91, 98, 115, 0.52);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 2px 8px rgba(91, 98, 115, 0.18);
  font-weight: 700;
}
.demo-toggle[data-demo="after"][aria-pressed="true"],
.demo-toggle[data-demo="after"].is-active {
  background: rgba(28, 202, 211, 0.24);
  color: #0f747a;
  border-color: rgba(28, 202, 211, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 2px 10px rgba(28, 202, 211, 0.24);
  font-weight: 700;
}
.demo-rule {
  margin: 0 0 12px;
  padding: 9px;
  border-radius: 12px;
  border: 1px solid var(--brand-border);
  background: rgba(107, 91, 255, 0.04);
}
.demo-rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.demo-rule-item {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--brand-text-muted);
  font-size: 0.78rem;
  line-height: 1.55;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.demo-rule-item.is-active {
  color: var(--brand-text);
  font-weight: 600;
}
.demo-rule-item[data-demo-rule="baseline"].is-active {
  border-color: rgba(91, 98, 115, 0.22);
  background: rgba(91, 98, 115, 0.08);
}
.demo-rule-item[data-demo-rule="priority"].is-active {
  border-color: rgba(28, 202, 211, 0.34);
  background: rgba(28, 202, 211, 0.12);
}
.demo-rule-icon {
  flex: 0 0 auto;
  font-size: 0.84rem;
  line-height: 1.2;
  margin-top: 1px;
}
.profile-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.profile-preview-note {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: var(--brand-text-muted);
}
.profile-preview-phone {
  background: linear-gradient(180deg, #f7f5ff 0%, #f1eefc 100%);
  border-radius: 24px;
  padding: 14px;
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-soft);
  min-height: 210px;
}
.profile-preview-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.profile-preview-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #6b5bff 0%, #26c9d3 100%);
  box-shadow: 0 6px 12px rgba(107, 91, 255, 0.28);
}
.profile-preview-lines {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.profile-preview-name {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--brand-text);
  line-height: 1.2;
}
.profile-preview-handle {
  font-size: 0.8rem;
  color: var(--brand-primary);
  direction: ltr;
  text-align: right;
}
.profile-preview-public-link {
  margin: 0 0 10px;
}
.profile-preview-public-link-label {
  display: block;
  margin: 0 0 5px;
  color: var(--brand-text-muted);
  font-size: 0.7rem;
  font-weight: 600;
}
.profile-preview-public-link-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(107, 91, 255, 0.2);
  border-radius: 10px;
  padding: 5px 6px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.profile-preview-public-link-row.is-copied {
  border-color: rgba(28, 202, 211, 0.35);
  background: rgba(28, 202, 211, 0.08);
}
.profile-preview-public-link-url {
  flex: 1;
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  font-size: 0.72rem;
  color: var(--brand-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  cursor: pointer;
}
.profile-preview-public-link-url.is-copied {
  color: #0f747a;
}
.profile-preview-copy-link {
  flex: 0 0 auto;
  border: 1px solid rgba(107, 91, 255, 0.28);
  background: rgba(107, 91, 255, 0.1);
  color: var(--brand-primary);
  border-radius: var(--brand-radius-pill);
  padding: 3px 8px;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.profile-preview-copy-link:hover {
  background: rgba(107, 91, 255, 0.18);
}
.profile-preview-copy-link.is-copied {
  border-color: rgba(28, 202, 211, 0.35);
  background: rgba(28, 202, 211, 0.16);
  color: #0f747a;
}
.profile-preview-bio {
  margin: 0 0 12px;
  color: var(--brand-text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}
.profile-preview-links-label {
  margin: 0 0 6px;
  color: var(--brand-text-muted);
  font-size: 0.72rem;
  font-weight: 600;
}
.profile-preview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.profile-preview-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(107, 91, 255, 0.24);
  background: #fff;
  color: var(--brand-primary);
  box-shadow: 0 4px 10px rgba(107, 91, 255, 0.08);
}
.profile-preview-social-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.profile-preview-social-link--x svg {
  width: 13px;
  height: 13px;
}
.profile-preview-social-link--snap svg {
  width: 15px;
  height: 15px;
}
.profile-preview-coupons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-preview-coupon {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid rgba(107, 91, 255, 0.18);
  border-radius: 12px;
  padding: 8px 10px;
}
.profile-preview-coupon-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.profile-preview-store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-text);
}
.profile-preview-store-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(107, 91, 255, 0.18);
  padding: 2px;
  box-sizing: border-box;
}
.profile-preview-offer {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-primary);
  white-space: nowrap;
}
.profile-preview-code {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(107, 91, 255, 0.1);
  color: var(--brand-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  direction: ltr;
}
.demo-phone {
  background: var(--brand-surface-muted);
  border-radius: 24px;
  padding: 16px;
  color: var(--brand-text);
  min-height: 240px;
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-soft);
}
.demo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.demo-indicator {
  text-align: center;
  color: var(--brand-text-muted);
  margin-bottom: 8px;
  font-size: 0.85rem;
  min-height: 1.1rem;
}
.demo-indicator--baseline {
  color: var(--brand-text-muted);
}
.demo-indicator--priority {
  color: var(--brand-secondary);
}
.demo-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
}
.demo-discount {
  white-space: nowrap;
  display: inline-block;
}
.demo-item--more {
  text-align: center;
  color: var(--brand-text-muted);
  background: transparent;
  border-style: dashed;
  border-color: rgba(91, 98, 115, 0.3);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.demo-item--mine,
.demo-item--user {
  background: var(--brand-surface);
  border-color: rgba(91, 98, 115, 0.3);
  color: var(--brand-text);
}
.demo-item--pinned {
  background: rgba(28, 202, 211, 0.12);
  border: 1px solid rgba(28, 202, 211, 0.42);
  box-shadow: 0 10px 18px rgba(28, 202, 211, 0.16);
}
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-end: 8px;
  margin-inline-start: 0;
  padding: 2px 8px;
  border-radius: var(--brand-radius-pill);
  border: 1px solid rgba(91, 98, 115, 0.25);
  background: rgba(91, 98, 115, 0.1);
  color: var(--brand-text-muted);
  font-size: 0.7rem;
  font-weight: 700;
}
.demo-badge--mine {
  border-color: rgba(91, 98, 115, 0.25);
  background: rgba(91, 98, 115, 0.1);
  color: var(--brand-text-muted);
}
.demo-badge--pinned {
  border-color: rgba(28, 202, 211, 0.38);
  background: rgba(28, 202, 211, 0.18);
  color: #0f747a;
}
.demo-badge-icon {
  font-size: 0.74rem;
  line-height: 1;
}
.demo-state-label {
  text-align: center;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--brand-text-muted);
}
.demo-state-label--before {
  color: var(--brand-text-muted);
  font-weight: 500;
}
.demo-state-label--after {
  color: var(--brand-secondary);
  font-weight: 600;
}
.funnel-shell .cta-row .btn {
  min-width: 160px;
}

@media (min-width: 600px) {
  .demo-header {
    flex-direction: row;
    align-items: center;
  }
  .profile-preview-phone {
    min-height: 230px;
  }
  .demo-toggle-group {
    width: auto;
  }
  .demo-toggle {
    flex: 0 0 auto;
  }
  .story-step {
    padding: 24px;
  }
  .demo-phone {
    min-height: 260px;
  }
}

@media (min-width: 768px) {
  .marketer-page .section {
    padding: 72px 0;
  }
  .marketer-page .hero {
    padding-bottom: 64px;
  }
  .marketer-page .hero-illustration {
    padding: 24px;
  }
  .marketer-page .marketer-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    padding: 32px 0 56px;
    align-items: start;
  }
  .marketer-page .marketer-hero .cta-row {
    flex-direction: row;
    align-items: center;
  }
  .marketer-page .marketer-hero .cta-row .btn {
    width: auto;
  }
  .marketer-page .trust-indicators {
    justify-content: flex-start;
    text-align: right;
  }
  .marketer-page .intro-cards .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .marketer-page .card {
    padding: 28px;
  }
  .funnel-shell {
    padding: 72px 0;
  }
}

@media (min-width: 1024px) {
  .marketer-page .section {
    padding: 90px 0;
  }
  .marketer-page .hero {
    padding-bottom: 80px;
    border-bottom-left-radius: 48px;
    border-bottom-right-radius: 48px;
  }
  .marketer-page .hero-illustration {
    padding: 32px;
  }
  .marketer-page .hero-illustration img {
    max-width: 480px;
  }
  .marketer-page .intro-cards .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .marketer-page .card {
    padding: 32px;
  }
  .funnel-layout {
    grid-template-columns: minmax(0, 1.05fr) 360px;
    gap: 32px;
  }
  .story-area {
    grid-column: 1;
    grid-row: 1;
  }
  .funnel-rail {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 16px;
  }
  .funnel-shell {
    padding: 80px 0;
  }
  .story-step {
    min-height: 220px;
  }
  .demo-phone {
    min-height: 280px;
  }
}
