:root {
  --green: #25d366;
  --green-dark: #128c4a;
  --green-soft: #e8f8ee;
  --black: #0b0f0d;
  --ink: #17211c;
  --muted: #65716b;
  --line: #e2e8e4;
  --panel: #ffffff;
  --surface: #f5f7f6;
  --sidebar: #07110c;
  --danger: #d92d20;
  --warning: #b7791f;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(7, 17, 12, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Calibri, "Inter Tight", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

[hidden] {
  display: none !important;
}

#marketingRoot {
  min-height: 100vh;
  background: #fff;
}

.marketing-main {
  background: #fff;
}

.marketing-nav,
.marketing-footer,
.marketing-main > section {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.marketing-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.marketing-menu-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex: 1;
}

.marketing-menu-head,
.marketing-menu-button,
.marketing-menu-backdrop {
  display: none;
}

.marketing-menu-button,
.marketing-menu-close {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--black);
  cursor: pointer;
}

.marketing-menu-button {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  place-items: center;
  gap: 4px;
}

.marketing-menu-button span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.marketing-nav.mobile-open .marketing-menu-button span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.marketing-nav.mobile-open .marketing-menu-button span:nth-child(2) {
  opacity: 0;
}

.marketing-nav.mobile-open .marketing-menu-button span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.marketing-menu-close {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}

.marketing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
}

.marketing-brand img {
  display: none;
  width: 204px;
  max-height: 54px;
  object-fit: contain;
}

.marketing-brand.logo-loaded .brand-fallback {
  display: none;
}

.marketing-brand.logo-loaded img {
  display: block;
}

.marketing-nav nav,
.footer-links,
.marketing-nav-actions,
.marketing-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.marketing-nav nav a,
.marketing-nav-actions a,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.marketing-nav nav a:hover,
.marketing-nav-actions a:hover,
.footer-links a:hover {
  color: var(--black);
}

.marketing-button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.marketing-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(7, 17, 12, 0.12);
}

.marketing-button:disabled,
.primary-button:disabled,
.secondary-button:disabled,
.ghost-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.marketing-button.compact {
  min-height: 38px;
  padding-inline: 12px;
}

.marketing-button.primary {
  background: var(--green);
  color: #031209;
}

.marketing-button.secondary {
  background: var(--black);
  color: #fff;
}

.marketing-actions {
  flex-wrap: wrap;
}

.marketing-hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 64px;
  padding: 56px 0 44px;
}

.marketing-hero.lite {
  min-height: 430px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  color: var(--black);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
  max-width: 760px;
}

.hero-copy p {
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--black);
  font-weight: 850;
}

.marketing-eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-product {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(37, 211, 102, 0.12), rgba(255, 255, 255, 0)),
    #fff;
  box-shadow: var(--shadow);
}

.phone-frame {
  width: min(100%, 360px);
  min-height: 500px;
  justify-self: center;
  padding: 18px;
  border: 10px solid var(--black);
  border-radius: 34px;
  background: #f3f7f5;
  box-shadow: 0 28px 70px rgba(7, 17, 12, 0.18);
}

.chat-top {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.chat-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.chat-bubble {
  width: 82%;
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  line-height: 1.45;
  box-shadow: 0 8px 22px rgba(7, 17, 12, 0.06);
}

.chat-bubble.outbound {
  margin-left: auto;
  background: var(--green);
  color: #031209;
}

.lead-chip {
  margin-top: 22px;
  padding: 12px;
  border: 1px solid #b9e7c9;
  border-radius: 8px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 900;
}

.hero-animated-conversation {
  width: min(100%, 390px);
  justify-self: center;
  align-self: center;
  z-index: 1;
}

.hero-animated-conversation .conversation-body {
  min-height: 390px;
}

.dashboard-animation-panel,
.knowledge-animation-panel,
.inbox-animation-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.dashboard-animated-conversation,
.knowledge-animated-conversation,
.inbox-animated-conversation {
  box-shadow: none;
}

.dashboard-animated-conversation .conversation-body,
.knowledge-animated-conversation .conversation-body,
.inbox-animated-conversation .conversation-body {
  min-height: 260px;
  max-height: 360px;
}

.mini-dashboard {
  position: absolute;
  right: 0;
  bottom: 52px;
  width: 230px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mini-dashboard div,
#billLines div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.mini-dashboard div:last-child,
#billLines div:last-child {
  border-bottom: 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.trust-strip span {
  min-height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 850;
  text-align: center;
}

.section-intro,
.faq-section,
.final-cta,
.pricing-preview,
.industry-preview {
  padding: 84px 0 30px;
}

.section-intro h2,
.faq-section h2,
.final-cta h2,
.pricing-preview h2,
.industry-preview h2 {
  max-width: 820px;
  color: var(--black);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.marketing-grid {
  display: grid;
  gap: 16px;
  padding: 22px 0;
}

.marketing-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.how-grid article,
.stat-card,
.base-package-card,
.bill-summary,
.checkout-summary,
.contact-panel,
.industry-layout article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(7, 17, 12, 0.06);
}

.feature-card .icon-badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green-soft);
  color: #063d20;
  margin-bottom: 4px;
}

.feature-icon {
  width: 22px;
  height: 22px;
}

.feature-card h3,
.how-grid h3,
.industry-layout h2 {
  color: var(--black);
  font-size: 20px;
}

.feature-card h3 {
  margin: 0;
  line-height: 1.2;
}

.feature-card p {
  margin: 0;
  font-size: 15px;
}

.feature-card p,
.how-grid p,
.split-feature p,
.pricing-preview p,
.final-cta p,
.industry-layout p,
.marketing-footer p,
.bill-summary p {
  color: var(--muted);
  line-height: 1.6;
}

.how-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 64px auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.how-grid article {
  padding: 18px;
}

.how-grid span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--black);
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
}

.split-feature,
.pricing-preview,
.industry-preview,
.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.basic-package-public {
  align-items: flex-start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.public-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.public-feature-list span,
.mini-feature-list li {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
}

.mini-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.split-feature {
  padding: 44px 0;
}

.split-feature h2 {
  max-width: 760px;
  color: var(--black);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.22;
  font-weight: 850;
}

.stat-card {
  min-width: 220px;
  padding: 20px;
}

.stat-card strong {
  display: block;
  color: var(--black);
  font-size: 24px;
}

.stat-card span {
  color: var(--green-dark);
  font-weight: 900;
}

.industry-tags {
  max-width: 520px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.industry-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 10px 14px;
  font-weight: 850;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 40px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--black);
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.seo-faq {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 56px;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.seo-faq h2 {
  max-width: 300px;
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
}

.seo-faq .faq-list {
  gap: 12px;
}

.seo-faq .faq-list details {
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(7, 17, 12, 0.05);
}

.seo-faq .faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.35;
}

.seo-faq .faq-list p {
  margin: 0;
  padding: 0 18px 18px 38px;
  font-size: 15px;
}

.final-cta {
  margin-top: 40px;
  margin-bottom: 60px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--black);
}

.final-cta h2,
.final-cta p {
  color: #fff;
}

.pricing-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 356px;
  gap: 24px;
  padding-bottom: 72px;
}

.brand-logo-wrap {
  display: grid;
  gap: 2px;
}

.brand-logo-wrap small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.marketing-brand.logo-loaded .brand-logo-wrap small {
  margin-left: 4px;
}

.marketing-nav nav {
  gap: 16px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown div {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 210px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.nav-dropdown:not([open]) div {
  display: none;
}

.nav-dropdown div a {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--ink);
}

.nav-dropdown div a:hover {
  background: var(--green-soft);
}

.landing-hero {
  min-height: 720px;
}

.hero-badge {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.landing-hero .phone-frame,
.landing-hero .mini-dashboard {
  display: none;
}

.landing-hero .hero-product {
  min-height: 560px;
  align-content: center;
  gap: 18px;
  padding: 28px;
}

.whatsapp-card,
.lead-journey-card,
.starter-card,
.addon-preview-card,
.lead-flow-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.whatsapp-card {
  width: min(100%, 410px);
  justify-self: center;
  padding: 20px;
  background: #f6faf7;
}

.chat-top small {
  margin-left: auto;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
}

.chat-bubble.compact {
  width: 62%;
}

.lead-journey-card {
  width: min(100%, 360px);
  justify-self: center;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.journey-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.journey-step span,
.lead-flow-step span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #031209;
  font-size: 13px;
  font-weight: 950;
}

.section-intro p:not(.marketing-eyebrow),
.marketplace-preview .section-title-row p,
.pricing-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.how-section,
.starter-pricing-section,
.marketplace-preview,
.integrations-section,
.lead-flow-section {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 80px 0 24px;
}

.how-section .how-grid {
  width: 100%;
  margin: 28px 0 0;
}

.starter-pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: center;
}

.starter-card {
  padding: 26px;
}

.starter-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.starter-card h3,
.pricing-copy h2,
.marketplace-preview h2,
.integrations-section h2,
.lead-flow-section h2,
.how-section h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.starter-card h3 {
  font-size: 28px;
}

.starter-card p,
.addon-preview-card p,
.integration-tile p {
  color: var(--muted);
  line-height: 1.55;
}

.starter-price strong {
  display: block;
  color: var(--black);
  font-size: 42px;
  line-height: 1;
}

.starter-price span {
  color: var(--muted);
  font-weight: 800;
}

.starter-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.starter-feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-weight: 750;
}

.starter-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.pricing-note {
  margin: 14px 0 0;
  font-size: 13px;
}

.addon-preview-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
}

.addon-preview-card h3 {
  margin: 0;
  color: var(--black);
  font-size: 20px;
}

.addon-preview-card strong {
  color: var(--black);
  font-size: 22px;
}

.addon-preview-card span {
  margin-top: 4px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.industry-card-grid {
  max-width: 680px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.industry-card-grid a {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--black);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(7, 17, 12, 0.05);
}

.lead-flow-section {
  display: grid;
  gap: 24px;
}

.lead-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.lead-flow-step {
  min-height: 130px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 16px;
}

.lead-flow-step strong {
  color: var(--black);
  line-height: 1.25;
}

.marketing-footer {
  grid-template-columns: minmax(220px, 1.2fr) repeat(5, minmax(120px, 1fr));
  align-items: start;
  gap: 24px;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column h3 {
  margin: 0 0 4px;
  color: var(--black);
  font-size: 15px;
}

.footer-column a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.footer-column a:hover {
  color: var(--green-dark);
}

.pricing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.pricing-toolbar h2,
.section-title-row h2 {
  margin: 0;
  color: var(--black);
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.admin-note {
  padding: 7px 10px;
  border: 1px solid rgba(18, 140, 74, 0.25);
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.pricing-main {
  display: grid;
  gap: 16px;
}

.catalog-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

.catalog-status span {
  color: var(--black);
  font-weight: 900;
}

.catalog-status small {
  font-weight: 800;
}

.billing-toggle {
  width: fit-content;
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.billing-toggle button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 900;
}

.billing-toggle button.active {
  background: var(--green);
}

.base-package-card {
  position: relative;
  display: block;
  padding: 24px;
}

.package-picker {
  display: grid;
  gap: 12px;
}

.package-options {
  display: grid;
  gap: 12px;
}

.package-option {
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.package-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.package-option:has(input:checked),
.package-option.recommended {
  border-color: rgba(37, 211, 102, 0.85);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.14);
}

.package-summary {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) minmax(190px, auto);
  align-items: start;
  gap: 18px;
}

.package-select-dot {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  border: 2px solid var(--green-dark);
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 5px #fff;
}

.package-option:has(input:checked) .package-select-dot {
  background: var(--green);
}

.package-summary h2 {
  margin: 0 0 8px;
  color: var(--black);
  font-size: 28px;
}

.package-summary p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.5;
}

.package-price {
  text-align: right;
}

.package-price strong {
  display: block;
  color: var(--black);
  font-size: 34px;
  line-height: 1;
}

.package-price span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.package-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.included-list {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.included-list h3 {
  margin: 0 0 12px;
  color: var(--black);
  font-size: 16px;
}

.included-list ul,
.contact-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.7;
}

.included-list li {
  font-weight: 750;
}

.feature-price-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.feature-price-table div {
  display: grid;
  gap: 3px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-price-table span {
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
}

.feature-price-table strong {
  font-size: 14px;
  color: var(--green-dark);
}

.feature-price-table small {
  color: var(--muted);
  font-weight: 750;
}

.addon-picker {
  display: grid;
  gap: 10px;
}

.addon-picker > .section-title-row {
  margin-top: 6px;
}

.addon-picker {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.addon-picker .section-title-row {
  grid-column: 1 / -1;
}

.addon-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.addon-toggle:has(input:checked) {
  border-color: rgba(37, 211, 102, 0.9);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.12);
}

.addon-toggle input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  accent-color: var(--green);
}

.addon-toggle span {
  display: grid;
  gap: 2px;
}

.addon-toggle small {
  color: var(--muted);
  font-weight: 800;
}

.addon-toggle em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

.bill-summary {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 24px;
  border-color: rgba(37, 211, 102, 0.45);
  background: #fff;
}

.bill-summary h2 {
  color: var(--black);
  font-size: 40px;
  line-height: 1;
}

.bill-summary #billLines,
.bill-lines {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.bill-summary #billLines div,
.bill-lines div,
.checkout-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.bill-summary #billLines strong,
.bill-lines strong,
.checkout-total strong {
  color: var(--black);
}

.signup-checkout {
  grid-template-columns: minmax(0, 520px) minmax(320px, 420px);
  gap: 20px;
}

.checkout-summary {
  padding: 22px;
  align-self: start;
}

.checkout-summary h2 {
  color: var(--black);
}

.checkout-total {
  margin: 18px 0;
  font-size: 18px;
  font-weight: 900;
}

.marketing-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  padding-bottom: 72px;
}

.marketing-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.marketing-form label {
  display: grid;
  gap: 8px;
}

.contact-panel {
  padding: 22px;
}

.industry-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 72px;
}

.industry-layout article {
  padding: 20px;
}

.industry-layout a {
  color: var(--green-dark);
  font-weight: 900;
}

.seo-page {
  padding-bottom: 60px;
}

.seo-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
  align-items: center;
  gap: 54px;
  padding: 56px 0 44px;
}

.seo-hero h1 {
  max-width: 780px;
  color: var(--black);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
}

.seo-hero p,
.seo-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.seo-section,
.seo-internal-links {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
}

.seo-section h2 {
  color: var(--black);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
}

.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.seo-card-grid article,
.sample-chat {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.seo-card-grid article {
  padding: 18px;
}

.seo-card-grid h3 {
  color: var(--black);
  font-size: 18px;
}

.sample-chat {
  max-width: 720px;
  padding: 18px;
  background: #f3f7f5;
}

.topic-mockup {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(7, 17, 12, 0.14);
}

.mockup-toolbar {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.mockup-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.mockup-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.mockup-row span {
  color: var(--green-dark);
  font-weight: 900;
}

.mockup-panel {
  margin-top: 18px;
  padding: 16px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 900;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.screen-grid article {
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.screen-grid span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--black);
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
}

.seo-internal-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.seo-internal-links a {
  min-height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--black);
  font-weight: 900;
  text-align: center;
}

.marketing-auth {
  min-height: calc(100vh - 220px);
  display: grid;
  place-items: center;
  padding: 64px 0;
}

.marketing-footer {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
}

.marketing-footer p {
  max-width: 520px;
  margin: 12px 0 0;
}

.product-credit {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.legal-hero {
  padding: 64px 0 34px;
}

.legal-hero h1 {
  max-width: 880px;
  margin: 0 0 12px;
  color: var(--black);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
}

.legal-hero p {
  max-width: 860px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.legal-subtitle {
  margin: 0 0 18px;
  color: var(--green-dark) !important;
  font-weight: 850;
}

.legal-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 82px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-toc strong {
  color: var(--black);
  font-size: 15px;
}

.legal-toc a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.legal-toc a:hover {
  color: var(--green-dark);
}

.legal-page {
  display: grid;
  gap: 18px;
}

.legal-section {
  scroll-margin-top: 100px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(7, 17, 12, 0.05);
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--black);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.18;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.legal-section p {
  margin: 0 0 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 8px;
}

.app-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  overflow-x: hidden;
  transition: grid-template-columns 200ms ease;
  font-family: Calibri, Inter, ui-sans-serif, system-ui, sans-serif;
}

.app-shell.sidebar-collapsed {
  grid-template-columns: 80px minmax(0, 1fr);
}

.app-shell.super-admin-shell {
  background: #f6f8f7;
}

.super-admin-shell .sidebar {
  background: #090d0b;
}

.super-admin-shell .topbar {
  border-bottom-color: #dde6e1;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 14px 12px;
  background: var(--sidebar);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
  border-radius: 0;
  transition: width 200ms ease, transform 200ms ease;
  font-family: Calibri, "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-sidebar {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 42px;
  padding: 0 10px;
  flex: 0 0 auto;
}

.brand-top {
  height: 48px;
}

.brand-wide {
  display: none;
  width: 174px;
  max-height: 44px;
  object-fit: contain;
}

.brand-square {
  display: none;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-fallback {
  font-weight: 800;
  font-size: 20px;
  color: inherit;
}

.logo-loaded .brand-fallback {
  display: none;
}

.logo-loaded img {
  display: block;
}

.brand img:not([src]),
.brand img[src=""],
.auth-logo img:not([src]),
.auth-logo img[src=""],
.logo-missing img {
  display: none;
}

.side-nav {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 9px 10px;
  border-left: 0;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 650;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-link:hover {
  background: #191919;
  color: #fff;
}

.nav-link:hover .nav-icon {
  color: var(--green);
}

.nav-link.active {
  background: rgba(37, 211, 102, 0.18);
  color: #fff;
  font-weight: 800;
}

.nav-link.active::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 999px;
  background: var(--green);
}

.nav-icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.72);
}

.nav-icon .settings-lucide,
.nav-group-icon .settings-lucide {
  width: 20px;
  height: 20px;
}

.nav-label,
.nav-group-title,
.sidebar-collapse-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-scroll {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 5px;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 211, 102, 0.55) rgba(255, 255, 255, 0.08);
}

.sidebar-scroll::-webkit-scrollbar {
  width: 8px;
}

.sidebar-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(37, 211, 102, 0.55);
  border-radius: 999px;
}

.admin-flat-nav {
  display: grid;
  gap: 6px;
}

.sidebar-collapse-button,
.nav-group-trigger {
  width: 100%;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.sidebar-collapse-button {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #111713;
}

.sidebar-footer {
  flex: 0 0 auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-bottom {
  flex: 0 0 auto;
}

.nav-group-list {
  display: grid;
  gap: 15px;
}

.nav-group {
  display: grid;
  gap: 8px;
}

.nav-group-trigger {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 9px;
  border-radius: 8px;
  text-align: left;
}

.nav-group-trigger:hover {
  color: #fff;
  background: #151515;
}

.nav-group-icon {
  display: inline-grid;
  place-items: center;
  color: var(--green);
}

.nav-group-title {
  flex: 1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-group-chevron {
  display: inline-flex;
  transition: transform 200ms ease;
}

.nav-group.open .nav-group-chevron {
  transform: rotate(90deg);
}

.nav-group-items {
  display: none;
  gap: 6px;
}

.nav-group.open .nav-group-items {
  display: grid;
}

.nav-badge {
  margin-left: auto;
  min-width: 22px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.2);
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
}

.utility-link {
  min-height: 36px;
}

.sidebar-collapsed .brand-sidebar {
  justify-content: center;
  padding-inline: 0;
}

.sidebar-collapsed .brand-sidebar .brand-fallback,
.sidebar-collapsed .nav-label,
.sidebar-collapsed .nav-group-title,
.sidebar-collapsed .nav-badge,
.sidebar-collapsed .sidebar-collapse-button span {
  display: none;
}

.sidebar-collapsed .sidebar {
  padding-inline: 10px;
}

.sidebar-collapsed .sidebar-collapse-button,
.sidebar-collapsed .nav-group-trigger,
.sidebar-collapsed .nav-link {
  justify-content: center;
  padding-inline: 0;
}

.sidebar-collapsed .nav-link {
  border-left-color: transparent;
}

.sidebar-collapsed .nav-group-chevron {
  display: none;
}

.main-shell {
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-rows: 82px minmax(0, 1fr);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 30px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  min-width: 0;
  max-width: 100%;
}

.super-admin-shell .brand-top {
  display: none;
}

.topbar-page-meta {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 4px;
}

.topbar-page-meta strong {
  display: block;
  color: #0d1712;
  font-size: 22px;
  line-height: 1.05;
}

.topbar-breadcrumb {
  color: #64726b;
  font-size: 13px;
  font-weight: 700;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.profile-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  font-weight: 800;
}

.notification-button .settings-lucide {
  width: 20px;
  height: 20px;
}

.profile-button {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
  border-radius: 12px;
  font-size: 16px;
}

.account-menu {
  position: relative;
  display: inline-flex;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 60;
  width: 260px;
  display: none;
  padding: 12px;
  border-radius: 16px;
  background: #090909;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 45px rgba(5, 10, 20, 0.28);
}

.account-menu.open .account-dropdown {
  display: grid;
  gap: 4px;
}

.account-dropdown::before {
  content: "";
  position: absolute;
  right: 12px;
  top: -8px;
  width: 16px;
  height: 16px;
  background: #090909;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(45deg);
}

.account-dropdown-link {
  appearance: none;
  background: transparent;
  border: 0;
  position: relative;
  z-index: 1;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #f5f7fb;
  text-decoration: none;
  font-weight: 650;
  text-align: left;
  width: 100%;
}

.account-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.account-dropdown-link span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
}

.account-dropdown-link .settings-lucide {
  width: 21px;
  height: 21px;
}

.mobile-menu {
  display: none;
  gap: 4px;
  align-content: center;
}

.mobile-menu span {
  display: block;
  width: 17px;
  height: 2px;
  background: currentColor;
}

.status-pill {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid #cdebd8;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.page {
  min-width: 0;
  max-width: 100%;
  padding: 28px;
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 6px;
  font-size: 30px;
  line-height: 1.12;
}

h2 {
  margin-bottom: 14px;
  font-size: 18px;
}

h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.subtle {
  color: var(--muted);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.primary-button,
.secondary-button,
.ghost-button {
  min-height: 40px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 800;
}

.primary-button {
  background: var(--green);
  color: #031209;
}

.secondary-button {
  background: var(--black);
  color: #fff;
}

.ghost-button {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel,
.metric,
.table-wrap,
.auth-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel {
  padding: 18px;
}

.super-admin-shell .panel,
.super-admin-shell .metric,
.super-admin-shell .table-wrap {
  border-color: #e1e8e4;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(12, 24, 17, 0.05);
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.integration-tile {
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.integration-tile h3 {
  margin: 0 0 8px;
  color: var(--black);
  font-size: 16px;
}

.integration-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.metric {
  padding: 16px;
  min-height: 112px;
}

.metric-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric-value {
  margin-top: 10px;
  font-size: 28px;
  font-weight: 850;
}

.metric-note {
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 750;
}

.progress {
  height: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: #edf1ee;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--green);
}

.setup-list,
.activity-list,
.settings-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-step,
.activity-item,
.settings-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.badge {
  height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.badge.green {
  background: var(--green-soft);
  color: var(--green-dark);
}

.badge.grey {
  background: #eef1ef;
  color: var(--muted);
}

.badge.warning {
  background: #fff4d8;
  color: var(--warning);
}

.badge.danger {
  background: #fde8e6;
  color: var(--danger);
}

.table-wrap {
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.inbox-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr) minmax(280px, 340px);
  gap: 16px;
}

.conversation-list,
.message-stream,
.lead-summary-panel {
  min-height: 560px;
}

.conversation {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 12px;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.conversation.active {
  background: var(--green-soft);
}

.message {
  max-width: 72%;
  margin: 10px 0;
  padding: 11px 13px;
  border-radius: var(--radius);
  background: #eef1ef;
  line-height: 1.45;
}

.message.outbound {
  margin-left: auto;
  background: var(--green);
  color: #031209;
}

.thread-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.lead-summary-panel {
  align-self: start;
}

.lead-convert-form {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.button-column {
  display: grid;
  gap: 10px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.offline-customer-form textarea {
  resize: vertical;
  min-height: 110px;
}

.offline-addon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.offline-addon-option {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.offline-addon-option input {
  width: 18px;
  height: 18px;
}

.offline-addon-option span {
  display: grid;
  gap: 3px;
}

.offline-addon-option small {
  color: var(--muted);
  font-weight: 750;
}

.two-column-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.span-2 {
  grid-column: 1 / -1;
}

.form-row {
  display: grid;
  gap: 7px;
}

.seo-admin-card {
  display: grid;
  gap: 16px;
}

.seo-example-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-page-form textarea {
  min-height: 96px;
  resize: vertical;
}

.seo-url-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.seo-url-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.seo-url-box code {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--black);
  font-size: 13px;
}

.tenant-onboarding-panel {
  margin-bottom: 16px;
}

.tenant-onboarding-form {
  margin-top: 16px;
}

.option-fieldset {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.option-fieldset legend {
  padding: 0 6px;
  color: var(--black);
  font-weight: 800;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.option-check {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-weight: 750;
}

.option-check input {
  width: 18px;
  height: 18px;
}

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

.feature-edit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 12px;
}

.admin-addon-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 16px;
}

.admin-addon-card h3 {
  margin: 0;
  font-size: 16px;
}

.super-admin-workspace {
  display: grid;
  gap: 16px;
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.admin-form-stack {
  display: grid;
  gap: 16px;
}

.admin-section-card {
  padding: 20px;
}

.starter-feature-editor {
  display: grid;
  gap: 10px;
}

.starter-feature-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(190px, 1.2fr) minmax(140px, 0.7fr) minmax(120px, 0.6fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf9;
}

.danger-button {
  color: var(--danger);
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 10px;
  margin: 14px 0;
}

.admin-action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 220px;
}

.admin-action-list .ghost-button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.admin-chart-card {
  min-height: 260px;
  padding: 20px;
}

.admin-card-empty {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
  border: 1px dashed #d5dfd9;
  border-radius: 12px;
  background: #f8fbf9;
  color: var(--muted);
}

.admin-card-empty strong {
  color: var(--black);
}

.admin-card-empty p {
  margin: 0;
}

.bar-chart {
  height: 160px;
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.bar-chart span {
  position: relative;
  flex: 1;
  min-height: 18px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--green), #128c4a);
}

.bar-chart small {
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  color: var(--muted);
  font-weight: 800;
}

.admin-empty-state {
  min-height: 160px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 24px;
}

.admin-empty-state p {
  margin: 0;
  color: var(--muted);
}

.admin-tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-tab-row span {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
}

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

.admin-settings-form-grid {
  display: grid;
  gap: 16px;
}

.admin-settings-workspace {
  display: grid;
  gap: 18px;
}

.admin-settings-shell {
  display: grid;
  gap: 18px;
}

.settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 4px;
}

.settings-tab {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid #dbe5df;
  border-radius: 999px;
  background: #f9fbfa;
  color: #344139;
  text-decoration: none;
  font-weight: 800;
}

.settings-tab:hover {
  background: #eef8f2;
  color: var(--green-dark);
}

.settings-tab.active {
  border-color: rgba(37, 211, 102, 0.45);
  background: var(--green-soft);
  color: var(--green-dark);
}

.settings-tab .settings-lucide {
  width: 18px;
  height: 18px;
}

.admin-settings-tab-panel {
  display: grid;
  gap: 16px;
}

.settings-card-directory {
  width: min(100%, 1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.settings-directory-card {
  min-height: 190px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(7, 17, 12, 0.05);
}

.settings-directory-card.green {
  border-color: rgba(37, 211, 102, 0.45);
}

.settings-directory-card.warning {
  border-color: rgba(183, 121, 31, 0.28);
}

.settings-directory-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
}

.settings-directory-card.warning .settings-directory-icon {
  background: #fff4d8;
  color: var(--warning);
}

.settings-directory-card.grey .settings-directory-icon {
  background: #eef1ef;
  color: var(--muted);
}

.settings-directory-body {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.settings-directory-body h3 {
  margin: 0 0 4px;
  color: var(--black);
  font-size: 19px;
  line-height: 1.15;
}

.settings-directory-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.settings-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.settings-mini-grid span {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.settings-mini-grid strong {
  font-size: 12px;
  line-height: 1.2;
}

.settings-mini-grid small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.settings-card-link {
  width: max-content;
  color: var(--green-dark);
  font-weight: 900;
}

.settings-card-link:hover {
  color: var(--black);
}

.admin-settings-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-settings-form-card {
  display: grid;
  gap: 16px;
  scroll-margin-top: 96px;
}

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

.settings-form-grid .form-row {
  display: grid;
  gap: 7px;
}

.settings-form-grid .form-row span {
  font-weight: 850;
}

.settings-form-grid .form-row small {
  color: var(--muted);
  font-weight: 750;
}

.settings-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.switch-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

.switch-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.settings-status-table {
  display: grid;
  gap: 8px;
}

.settings-status-head,
.settings-status-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.15fr) minmax(110px, 0.7fr) minmax(130px, 1fr);
  gap: 10px;
  align-items: center;
}

.settings-status-head {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.settings-status-row {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.settings-status-row > span {
  color: var(--ink);
  font-weight: 850;
}

.settings-status-row small {
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.settings-test-result {
  margin-top: 12px;
}

.settings-test-result small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

.meta-settings-page {
  width: min(100%, 1200px);
  margin-inline: auto;
  display: grid;
  gap: 22px;
}

.meta-settings-hero,
.meta-config-card,
.meta-help-sidebar,
.meta-status-card,
.meta-info-banner {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(7, 17, 12, 0.07);
  animation: settingsFadeIn 220ms ease both;
}

.meta-settings-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
}

.meta-settings-hero h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
}

.meta-settings-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.meta-settings-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid #dbe4df;
  border-radius: 999px;
  background: #f8faf9;
  color: var(--ink);
  font-weight: 850;
  white-space: nowrap;
}

.meta-settings-toggle input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.meta-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.meta-status-card {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(7, 17, 12, 0.05);
}

.meta-status-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  flex: 0 0 auto;
}

.meta-status-card.green .meta-status-icon {
  background: var(--green-soft);
  color: var(--green-dark);
}

.meta-status-card.yellow .meta-status-icon {
  background: #fff7dc;
  color: #9a6700;
}

.meta-status-card.red .meta-status-icon {
  background: #fff1f0;
  color: #b42318;
}

.meta-status-card strong {
  display: block;
  color: var(--black);
  font-size: 14px;
}

.meta-status-card p {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 850;
}

.meta-status-card.green p {
  color: var(--green-dark);
}

.meta-status-card.yellow p {
  color: #9a6700;
}

.meta-status-card.red p {
  color: #b42318;
}

.meta-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-color: #f2d48a;
  background: #fffaf0;
  box-shadow: none;
}

.meta-info-banner > .settings-lucide {
  color: #a15c07;
  flex: 0 0 auto;
}

.meta-info-banner strong {
  color: #6c3d00;
}

.meta-info-banner p {
  margin: 4px 0 0;
  color: #8a5a12;
  line-height: 1.5;
}

.meta-info-banner.ready {
  border-color: #b8ebc9;
  background: #effcf4;
}

.meta-info-banner.ready > .settings-lucide,
.meta-info-banner.ready strong {
  color: var(--green-dark);
}

.meta-info-banner.ready p {
  color: #3f6f52;
}

.meta-settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.meta-settings-stack {
  display: grid;
  gap: 18px;
}

.meta-config-card {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.meta-config-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.meta-config-head > span,
.meta-help-illustration {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-dark);
  flex: 0 0 auto;
}

.meta-config-head h3,
.meta-help-sidebar h3 {
  margin: 0;
  color: var(--black);
  font-size: 20px;
  line-height: 1.2;
}

.meta-config-head p,
.meta-help-sidebar p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.meta-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.meta-code-row label,
.meta-field > span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.meta-code-row code {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid #dbe4df;
  border-radius: 12px;
  background: #f8faf9;
  color: var(--black);
  overflow-x: auto;
  white-space: nowrap;
}

.meta-copy-result {
  min-height: 18px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

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

.meta-readiness-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-readiness-pill,
.meta-optional-note {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.meta-readiness-pill.ready {
  background: #effcf4;
  color: var(--green-dark);
}

.meta-readiness-pill.missing,
.meta-optional-note {
  background: #fff7dc;
  color: #8a5a12;
}

.meta-readiness-pill .settings-lucide,
.meta-optional-note .settings-lucide {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.meta-optional-note {
  border-radius: 12px;
  justify-content: flex-start;
}

.meta-field {
  display: grid;
  gap: 0;
}

.meta-field small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.meta-input-wrap {
  position: relative;
}

.meta-input-wrap input {
  min-height: 48px;
  border-color: #dbe4df;
  border-radius: 12px;
  padding: 12px 44px 12px 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.meta-input-wrap input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.16);
}

.meta-input-wrap input[readonly] {
  color: var(--muted);
  background: #f8faf9;
}

.meta-icon-button {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.meta-icon-button:hover {
  background: var(--green-soft);
  color: var(--black);
}

.meta-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-primary-button,
.meta-secondary-button,
.meta-ghost-button {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.meta-primary-button {
  background: var(--green);
  color: #031209;
}

.meta-secondary-button,
.meta-ghost-button {
  background: #fff;
  color: var(--ink);
  border-color: #dbe4df;
}

.meta-primary-button:hover,
.meta-secondary-button:hover,
.meta-ghost-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(7, 17, 12, 0.08);
}

.meta-primary-button:focus-visible,
.meta-secondary-button:focus-visible,
.meta-ghost-button:focus-visible,
.meta-icon-button:focus-visible,
.meta-settings-toggle:focus-within {
  outline: 3px solid rgba(37, 211, 102, 0.28);
  outline-offset: 2px;
}

.meta-primary-button:disabled,
.meta-secondary-button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.meta-help-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  padding: 22px;
}

.meta-help-sidebar ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-help-sidebar li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.meta-help-sidebar li .settings-lucide {
  color: var(--green-dark);
}

.settings-lucide {
  width: 20px;
  height: 20px;
}

.validation-card.danger {
  border-color: #f5b5ae;
  background: #fff4f2;
}

.validation-card.danger strong {
  color: #9f1f17;
}

.validation-card.danger p {
  color: #b42318;
}

.meta-settings-alert .validation-card {
  animation: settingsSlideDown 180ms ease both;
}

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

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

.admin-modal-panel {
  border-color: rgba(37, 211, 102, 0.45);
}

label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.16);
}

.auth-page {
  min-height: calc(100vh - 126px);
  display: grid;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-panel {
  width: min(100%, 440px);
  padding: 26px;
}

.auth-logo {
  margin-bottom: 22px;
}

.auth-logo img {
  display: none;
  width: 190px;
  max-height: 50px;
  object-fit: contain;
}

.wizard {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.wizard-steps {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
}

.wizard-step {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.wizard-step span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #eef1ef;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  flex: 0 0 auto;
}

.wizard-step strong {
  font-size: 13px;
}

.wizard-step.active {
  border-color: rgba(37, 211, 102, 0.6);
  background: var(--green-soft);
  color: var(--ink);
}

.wizard-step.active span,
.wizard-step.complete span {
  background: var(--green);
  color: #031209;
}

.wizard-body {
  min-width: 0;
}

.wizard-panel {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.wizard-panel.active {
  display: block;
}

.wizard-panel-head {
  margin-bottom: 18px;
}

.wizard-panel-head h2 {
  margin-top: 12px;
}

.wizard-footer {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.check-grid {
  display: grid;
  gap: 10px;
}

.approval-check,
.status-choice label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.approval-check input,
.status-choice input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.webhook-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.webhook-box code,
.payload-preview,
.panel-subtle {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8faf9;
}

.webhook-box code {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  overflow-x: auto;
  white-space: nowrap;
}

.panel-subtle {
  margin-top: 12px;
  padding: 14px;
}

.panel-subtle p {
  margin: 6px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

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

.connection-summary div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8faf9;
  padding: 14px;
}

.connection-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

.connection-summary strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.payload-preview {
  margin: 14px 0 0;
  max-height: 340px;
  overflow: auto;
  padding: 14px;
  color: var(--ink);
  font-size: 13px;
}

.validation-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.validation-card.ready {
  border-color: #b9e7c9;
  background: var(--green-soft);
}

.validation-card.pending {
  border-color: #f0d99a;
  background: #fff8e8;
}

.validation-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.form-row input.input-error,
.form-row select.input-error,
.form-row textarea.input-error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.field-error-message {
  color: #b91c1c;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
}

.compact-actions {
  margin-top: 12px;
}

.admin-toast {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  max-width: min(420px, calc(100vw - 32px));
  opacity: 0;
  padding: 14px 16px;
  pointer-events: none;
  position: fixed;
  right: 20px;
  top: 20px;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 1000;
}

.admin-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-toast.warning {
  background: #7f1d1d;
}

.admin-modal-backdrop {
  align-items: flex-start;
  background: rgba(2, 6, 23, 0.56);
  display: none;
  inset: 0;
  justify-content: center;
  overflow: auto;
  padding: 36px 20px;
  position: fixed;
  z-index: 1200;
}

.admin-modal-backdrop.open {
  display: flex;
}

.admin-modal-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.24);
  max-width: 1040px;
  padding: 22px;
  width: min(1040px, 100%);
}

.subscription-detail-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.email-template-stack {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.email-template-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}

.email-template-card textarea {
  min-height: 150px;
}

.validation-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.status-choice {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.save-result {
  margin-top: 14px;
}

.lead-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.lead-column {
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}

.lead-column h2 {
  font-size: 14px;
  margin-bottom: 10px;
}

.lead-card {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8faf9;
  margin-bottom: 8px;
}

.lead-card p {
  margin: 0;
  font-size: 13px;
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.addon-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.addon-price {
  display: grid;
  gap: 2px;
}

.addon-price strong {
  font-size: 30px;
}

.addon-price span,
.addon-price small {
  color: var(--muted);
  font-weight: 700;
}

.addon-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mobile-backdrop {
  display: none;
}

@media (max-width: 1100px) {
  .marketing-hero,
  .seo-hero,
  .pricing-builder,
  .signup-checkout,
  .marketing-contact {
    grid-template-columns: 1fr;
  }

  .hero-product {
    min-height: 480px;
  }

  .marketing-grid.three,
  .industry-layout,
  .seo-card-grid,
  .screen-grid,
  .how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bill-summary {
    position: static;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .addon-grid,
  .offline-addon-grid,
  .settings-card-directory,
  .integration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .package-summary,
  .package-body {
    grid-template-columns: 1fr;
  }

  .package-price {
    text-align: left;
    padding-left: 42px;
  }

  .feature-price-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) and (min-width: 821px) {
  .app-shell.super-admin-shell {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .super-admin-shell .brand-sidebar {
    justify-content: center;
    padding-inline: 0;
  }

  .super-admin-shell .brand-sidebar .brand-fallback,
  .super-admin-shell .nav-label,
  .super-admin-shell .nav-group-title,
  .super-admin-shell .nav-badge,
  .super-admin-shell .sidebar-collapse-button span {
    display: none;
  }

  .super-admin-shell .sidebar-collapse-button,
  .super-admin-shell .nav-group-trigger,
  .super-admin-shell .nav-link {
    justify-content: center;
    padding-inline: 0;
  }

  .super-admin-shell .nav-group-chevron {
    display: none;
  }
}

@media (max-width: 820px) {
  .marketing-nav {
    width: 100%;
    min-height: 66px;
    align-items: center;
    padding: 10px 16px;
    display: flex;
    gap: 12px;
    box-shadow: 0 10px 26px rgba(7, 17, 12, 0.06);
  }

  .marketing-brand img {
    width: 154px;
    max-height: 42px;
  }

  .brand-logo-wrap small {
    display: none;
  }

  .marketing-menu-button {
    display: grid;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .marketing-menu-backdrop {
    position: fixed;
    inset: 66px 0 0;
    z-index: 38;
    background: rgba(7, 17, 12, 0.34);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .marketing-nav.mobile-open .marketing-menu-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .marketing-menu-panel {
    position: fixed;
    top: 66px;
    left: 12px;
    right: 12px;
    z-index: 39;
    max-height: calc(100vh - 82px);
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    align-items: stretch;
    justify-content: stretch;
    justify-items: stretch;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 60px rgba(7, 17, 12, 0.18);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .marketing-nav.mobile-open .marketing-menu-panel {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .marketing-menu-head {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
  }

  .marketing-menu-head strong {
    color: var(--black);
    font-size: 15px;
  }

  .marketing-nav nav,
  .marketing-nav-actions {
    width: 100%;
    display: grid;
    align-items: stretch;
    gap: 8px;
  }

  .marketing-nav nav a,
  .marketing-nav-actions a,
  .nav-dropdown summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    color: var(--black);
    font-size: 15px;
    font-weight: 850;
  }

  .marketing-nav nav > a,
  .marketing-nav-actions > a:not(.marketing-button),
  .nav-dropdown summary {
    padding: 0 12px;
    background: #f8faf9;
    border: 1px solid var(--line);
  }

  .nav-dropdown[open] summary {
    border-color: rgba(37, 211, 102, 0.5);
    background: var(--green-soft);
  }

  .nav-dropdown summary::after {
    margin-left: auto;
  }

  .marketing-nav .marketing-button {
    width: 100%;
    min-height: 46px;
  }

  .marketing-footer,
  .marketing-main > section {
    width: min(100% - 32px, 1180px);
  }

  .marketing-hero,
  .seo-hero,
  .marketing-hero.lite {
    min-height: auto;
    gap: 28px;
    padding: 34px 0;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(42px, 8vw, 48px);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 1.55;
  }

  .landing-hero {
    min-height: auto;
  }

  .hero-badge {
    margin-bottom: 14px;
  }

  .hero-proof {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-proof span {
    padding: 8px 10px;
    font-size: 13px;
  }

  .marketing-actions,
  .split-feature,
  .pricing-preview,
  .industry-preview,
  .final-cta,
  .faq-section,
  .base-package-card,
  .marketing-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .seo-faq {
    width: min(100% - 32px, 960px);
    gap: 18px;
    padding: 34px 0 44px;
  }

  .legal-hero,
  .legal-layout {
    width: min(100% - 32px, 1180px);
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .legal-toc {
    position: static;
  }

  .legal-section {
    padding: 20px;
  }

  .seo-faq h2 {
    max-width: none;
    font-size: 28px;
  }

  .pricing-toolbar,
  .section-title-row {
    display: grid;
    align-items: start;
  }

  .catalog-status {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .marketing-actions .marketing-button,
  .pricing-preview .marketing-button,
  .final-cta .marketing-button {
    width: 100%;
    max-width: 420px;
  }

  .trust-strip,
  .marketing-grid.three,
  .industry-layout,
  .seo-card-grid,
  .seo-internal-links,
  .screen-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    justify-self: start;
  }

  .mini-dashboard {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 300px);
    margin-top: -52px;
    justify-self: end;
  }

  .industry-tags {
    justify-content: flex-start;
  }

  .final-cta {
    padding: 24px;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    left: 0;
    transform: translateX(-100%);
    width: 280px;
    max-width: 100vw;
    transition: transform 180ms ease;
  }

  .main-shell {
    width: 100%;
    overflow-x: hidden;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .super-admin-shell .sidebar.open .brand-sidebar {
    justify-content: flex-start;
    padding-inline: 10px;
  }

  .super-admin-shell .sidebar.open .brand-sidebar .brand-fallback,
  .super-admin-shell .sidebar.open .nav-label,
  .super-admin-shell .sidebar.open .nav-group-title,
  .super-admin-shell .sidebar.open .nav-badge,
  .super-admin-shell .sidebar.open .sidebar-collapse-button span {
    display: inline;
  }

  .super-admin-shell .sidebar.open .sidebar-collapse-button,
  .super-admin-shell .sidebar.open .nav-group-trigger,
  .super-admin-shell .sidebar.open .nav-link {
    justify-content: flex-start;
    padding-inline: 10px;
  }

  .super-admin-shell .sidebar.open .nav-group-chevron {
    display: inline-flex;
  }

  .mobile-backdrop.open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(7, 17, 12, 0.4);
    z-index: 25;
  }

  .mobile-menu {
    display: inline-grid;
  }

  .topbar {
    padding: 0 16px;
  }

  .topbar-page-meta strong {
    font-size: 18px;
  }

  .topbar-breadcrumb {
    display: none;
  }

  .brand-wide {
    width: 136px;
  }

  .status-pill {
    display: none;
  }

  .page {
    padding: 20px 16px;
  }

  .page-head {
    display: grid;
  }

  .grid-4,
  .grid-3,
  .addon-grid,
  .grid-2,
  .inbox-layout,
  .wizard,
  .two-column-form,
  .feature-price-table,
  .feature-edit-grid,
  .addon-picker,
  .offline-addon-grid,
  .admin-addon-grid,
  .connection-summary,
  .integration-grid,
  .option-grid {
    grid-template-columns: 1fr;
  }

  .package-summary {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .package-price {
    grid-column: 2;
    padding-left: 0;
  }

  .package-price strong,
  .bill-summary h2 {
    font-size: 30px;
  }

  .wizard-steps {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conversation-list,
  .message-stream {
    min-height: auto;
  }

  .thread-head {
    display: grid;
  }
}

@media (max-width: 520px) {
  .page h1 {
    font-size: 25px;
  }

  .marketing-main > section,
  .marketing-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .marketing-hero,
  .seo-hero,
  .marketing-hero.lite {
    padding: 30px 0;
  }

  .feature-card {
    min-height: 0;
    padding: 18px;
    gap: 10px;
  }

  .feature-card .icon-badge {
    width: 42px;
    height: 42px;
  }

  .topbar-actions {
    gap: 6px;
  }

  .icon-button,
  .profile-button {
    width: 34px;
    height: 34px;
  }

  .account-dropdown {
    width: min(260px, calc(100vw - 24px));
    right: -6px;
  }

  .metric-value {
    font-size: 24px;
  }

  .table-wrap {
    overflow-x: auto;
  }

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

  .wizard-footer,
  .webhook-box {
    display: grid;
    grid-template-columns: 1fr;
  }

  .wizard-footer .primary-button,
  .wizard-footer .ghost-button,
  .webhook-box .ghost-button {
    width: 100%;
  }
}

@media print {
  .marketing-nav,
  .marketing-footer,
  .legal-toc {
    display: none !important;
  }

  #marketingRoot,
  .marketing-main {
    background: #fff !important;
  }

  .legal-hero,
  .legal-layout {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
  }

  .legal-section {
    break-inside: avoid;
    box-shadow: none;
    border-color: #d8d8d8;
    margin: 0 0 14px;
  }

  .legal-hero h1 {
    font-size: 34px;
  }
}

.marketing-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(5, minmax(120px, 1fr));
  align-items: start;
}

@media (max-width: 1100px) {
  .starter-pricing-section,
  .lead-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketing-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .starter-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .marketing-nav nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nav-dropdown div {
    position: static;
    margin-top: 8px;
    box-shadow: none;
    min-width: 0;
    border-color: #edf2ef;
    background: #fff;
  }

  .landing-hero .hero-product {
    min-height: auto;
    padding: 16px;
  }

  .starter-pricing-section,
  .lead-flow,
  .industry-card-grid,
  .starter-feature-list,
  .marketing-footer {
    grid-template-columns: 1fr;
  }

  .admin-metric-grid,
  .admin-dashboard-grid,
  .admin-settings-grid,
  .settings-card-directory,
  .admin-filters,
  .starter-feature-row {
    grid-template-columns: 1fr;
  }

  .settings-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .settings-tab {
    justify-content: flex-start;
    border-radius: 12px;
  }

  .admin-settings-intro {
    display: grid;
  }

  .meta-settings-page {
    gap: 16px;
  }

  .meta-settings-hero {
    display: grid;
    padding: 22px;
  }

  .meta-settings-layout {
    grid-template-columns: 1fr;
  }

  .meta-help-sidebar {
    display: none;
  }

  .meta-status-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .meta-status-card {
    min-width: 210px;
    scroll-snap-align: start;
  }

  .meta-field-grid,
  .meta-code-row {
    grid-template-columns: 1fr;
  }

  .meta-card-actions,
  .meta-card-actions .meta-primary-button,
  .meta-card-actions .meta-secondary-button,
  .meta-code-row .meta-ghost-button,
  .meta-help-sidebar .meta-secondary-button {
    width: 100%;
  }

  .meta-primary-button,
  .meta-secondary-button,
  .meta-ghost-button {
    min-height: 48px;
  }

  .settings-form-grid {
    grid-template-columns: 1fr;
  }

  .settings-directory-card {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .settings-mini-grid {
    grid-template-columns: 1fr;
  }

  .settings-status-head {
    display: none;
  }

  .settings-status-row {
    grid-template-columns: 1fr;
  }

  .starter-card-head {
    display: grid;
  }

  .starter-price strong {
    font-size: 36px;
  }

  .how-section,
  .starter-pricing-section,
  .marketplace-preview,
  .integrations-section,
  .lead-flow-section {
    width: min(100% - 32px, 1180px);
    padding: 52px 0 16px;
  }
}

@media (max-width: 520px) {
  .marketing-nav nav {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    max-width: 100%;
  }

  .whatsapp-card,
  .lead-journey-card {
    width: 100%;
  }
}
