html {
  font-size: 16px;
}

body {
  margin: 0;
  color: #101828;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 32%, #f7f9fc 100%);
}

body.marketing-page {
  padding-bottom: 92px;
}

a {
  color: #0f766e;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.site-header .brand-logo {
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: #475467;
  text-decoration: none;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #101828;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f766e 0%, #16a34a 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 18px 28px rgba(15, 118, 110, 0.2);
}

.content-shell {
  min-height: calc(100vh - 210px);
}

.hero-section,
.visual-section,
.flow-section,
.trust-section,
.pricing-section,
.bot-section,
.pricing-hero,
.merchant-panel.compact-merchant {
  margin-top: 28px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 32px;
  align-items: center;
  padding: 36px 0 12px;
}

.hero-copy h1,
.section-heading h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.92;
}

.hero-subtitle,
.section-heading .muted,
.trust-card p,
.flow-step-card p,
.pricing-hero-note p {
  color: #475467;
}

.hero-subtitle {
  max-width: 34rem;
  margin: 18px 0 0;
  font-size: 1.18rem;
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-row-large {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-large {
  min-height: 54px;
  padding: 0 22px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #0f766e 0%, #16a34a 100%);
  color: #ffffff;
  box-shadow: 0 20px 36px rgba(15, 118, 110, 0.22);
}

.btn-secondary {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: #0f766e;
  text-decoration: none;
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible {
  color: #0a5c56;
  text-decoration: underline;
}

.text-link-large {
  min-height: 54px;
  font-size: 1rem;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #344054;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.hero-preview,
.window-card,
.visual-chat-card,
.visual-results-card,
.flow-step-card,
.trust-card,
.pricing-plan,
.bot-section-copy,
.qr-card-standalone,
.pricing-hero-note,
.merchant-panel,
.detail-card,
.stats-grid article {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.window-card {
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.92);
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(71, 84, 103, 0.25);
}

.window-title {
  margin-left: 6px;
  color: #667085;
  font-size: 0.9rem;
  font-weight: 700;
}

.chat-preview,
.chat-thread {
  display: grid;
  gap: 14px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(255, 255, 255, 0.92));
}

.chat-bubble {
  max-width: 78%;
  padding: 14px 16px;
  border-radius: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.chat-bubble-in {
  background: #ffffff;
  color: #344054;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.chat-bubble-out {
  justify-self: end;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(15, 118, 110, 0.18);
}

.poll-widget {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 32px rgba(15, 23, 42, 0.06);
}

.poll-widget.compact h3 {
  font-size: 1.05rem;
}

.poll-widget-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.poll-widget-head strong,
.results-panel-head strong {
  display: block;
}

.poll-widget-head span,
.results-panel-head p {
  font-size: 0.92rem;
}

.mini-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: contain;
  background: #f8fafc;
  padding: 4px;
}

.poll-widget h3 {
  margin: 4px 0 2px;
  font-size: 1.2rem;
  line-height: 1.35;
}

.poll-button {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: default;
}

.poll-button.active {
  border-color: rgba(15, 118, 110, 0.28);
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
}

.poll-widget-meta,
.results-mini-row,
.analytics-meta,
.results-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.poll-widget-meta,
.results-mini-row span,
.analytics-meta span {
  color: #667085;
  font-size: 0.92rem;
}

.results-mini-card,
.results-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 28px 44px rgba(15, 23, 42, 0.18);
}

.results-mini-row strong,
.analytics-meta strong {
  color: #ffffff;
}

.result-bar {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.result-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #14b8a6, #22c55e);
}

.muted-bar span {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.light-bar span {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.accent-bar span {
  background: linear-gradient(135deg, #34d399, #14b8a6);
}

.visual-section,
.trust-section,
.pricing-section,
.flow-section,
.bot-section {
  padding-top: 18px;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.section-heading-left {
  max-width: 720px;
}

.section-heading h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.96;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.visual-grid,
.trust-grid,
.pricing-grid,
.legal-strip,
.bot-section,
.pricing-hero {
  display: grid;
  gap: 24px;
}

.visual-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  margin-top: 26px;
}

.visual-chat-card,
.visual-results-card,
.flow-step-card,
.trust-card,
.pricing-plan,
.bot-section-copy,
.qr-card-standalone,
.pricing-hero-note {
  padding: 24px;
}

.visual-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 16px;
}

.visual-chat-header span {
  color: #667085;
  font-size: 0.92rem;
}

.compact-checklist,
.plan-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-checklist li,
.plan-list li {
  position: relative;
  padding-left: 28px;
  color: #344054;
  line-height: 1.55;
}

.compact-checklist li::before,
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14b8a6, #22c55e);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.flow-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 26px;
}

.flow-step-card {
  min-height: 220px;
}

.step-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 800;
}

.flow-step-card h3,
.trust-card strong,
.pricing-plan h3,
.bot-section-copy h2,
.pricing-hero-note strong {
  display: block;
  margin-top: 18px;
  margin-bottom: 10px;
}

.flow-arrow {
  color: #98a2b3;
  font-size: 2rem;
  font-weight: 700;
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.upgrade-message {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid #16a34a;
  border-radius: 18px;
  background: rgba(15, 118, 110, 0.06);
}

.upgrade-message strong {
  color: #0f172a;
}

.upgrade-message span {
  color: #475467;
  line-height: 1.5;
}

.pricing-section {
  margin-top: 34px;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  margin-top: 26px;
}

.pricing-plan {
  position: relative;
  display: grid;
  gap: 14px;
}

.pricing-plan-free {
  background: rgba(248, 250, 252, 0.95);
}

.pricing-plan-pro {
  border-color: rgba(15, 118, 110, 0.2);
  background:
    linear-gradient(180deg, rgba(236, 253, 245, 0.96), rgba(255, 255, 255, 0.96));
  box-shadow: 0 34px 70px rgba(15, 118, 110, 0.14);
  transform: translateY(-8px);
}

.plan-badge,
.plan-label,
.offer-note,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 800;
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #101828;
  color: #ffffff;
}

.plan-label,
.badge {
  width: fit-content;
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
}

.plan-price {
  margin: 0;
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.plan-price-pro {
  font-size: 4.3rem;
}

.plan-price span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #667085;
}

.offer-note {
  width: fit-content;
  background: rgba(20, 184, 166, 0.12);
  color: #0f766e;
}

.legal-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.legal-strip div {
  color: #475467;
  line-height: 1.55;
}

.bot-section {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: center;
}

.bot-link {
  margin: 16px 0 0;
  word-break: break-all;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.92rem;
}

.qr-card {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 14px;
  color: #0f172a;
  text-decoration: none;
}

.qr-card img {
  width: min(100%, 248px);
  height: auto;
  display: block;
  padding: 12px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.qr-card span {
  color: #475467;
  text-align: center;
  font-weight: 700;
}

.pricing-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  align-items: end;
  padding-top: 32px;
}

.pricing-hero-note {
  display: grid;
  gap: 8px;
}

.pricing-hero-note p {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.pricing-hero-note span {
  color: #0f766e;
  font-weight: 800;
}

.auth-upgrade-panel,
.checkout-status-panel,
.checkout-panel,
.subscription-widget {
  display: grid;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.auth-upgrade-panel,
.checkout-status-panel {
  margin-bottom: 24px;
}

.checkout-state-chip {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
  font-weight: 700;
}

.checkout-form {
  display: grid;
  gap: 12px;
}

.checkout-form input {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 14px;
  font: inherit;
  color: #0f172a;
  background: #ffffff;
}

.checkout-form label {
  font-weight: 700;
  color: #0f172a;
}

.form-error {
  margin: 0;
  color: #b42318;
  font-weight: 600;
}

.sticky-cta-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 60;
  display: flex;
  gap: 12px;
  width: min(360px, calc(100vw - 24px));
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.sticky-cta-bar .btn {
  flex: 1 1 0;
}

.stack {
  display: grid;
  gap: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.detail-card,
.stats-grid article,
.merchant-panel {
  padding: 24px;
}

.table-list {
  width: 100%;
  border-collapse: collapse;
}

.table-list th,
.table-list td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
}

.muted {
  color: #667085;
}

@media (max-width: 960px) {
  .hero-section,
  .visual-grid,
  .trust-grid,
  .pricing-grid,
  .bot-section,
  .pricing-hero,
  .stats-grid,
  .legal-strip {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    display: none;
  }

  .pricing-plan-pro {
    transform: none;
  }

  .sticky-cta-bar {
    width: calc(100vw - 16px);
    bottom: 8px;
  }

  .sticky-cta-bar .btn {
    min-height: 50px;
  }
}

@media (max-width: 720px) {
  body.marketing-page {
    padding-bottom: 118px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .site-nav,
  .nav-cluster {
    width: 100%;
    flex-wrap: wrap;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .nav-cta {
    width: 100%;
  }

  .sticky-cta-bar {
    flex-direction: column;
  }
}
