:root {
  --ink: #172026;
  --muted: #5d6872;
  --line: #d8e0e4;
  --paper: #fbfcfa;
  --mist: #eef5f2;
  --teal: #107c7c;
  --teal-dark: #075e62;
  --green: #45a36f;
  --yellow: #f6c95f;
  --coral: #d96655;
  --charcoal: #26343a;
  --white: #ffffff;
  --shadow-sm: 0 8px 22px rgba(23, 32, 38, 0.08);
  --shadow-md: 0 18px 48px rgba(23, 32, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.is-locked {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(246, 201, 95, 0.8);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(216, 224, 228, 0.9);
  background: rgba(251, 252, 250, 0.96);
  backdrop-filter: blur(14px);
}

.site-header.compact {
  position: sticky;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 14px;
}

.brand-copy small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: var(--teal);
  color: var(--teal);
}

.header-actions,
.hero-actions,
.dashboard-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.text-link:hover,
.footer-links a:hover,
.footer a:hover {
  color: var(--teal);
}

.header-cta,
.primary-button,
.secondary-button,
.plan-button,
.catalog-toolbar button,
.catalog-add-row button,
.sync-button,
.panel-button,
#toggleLock,
#payButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 17px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.header-cta,
.primary-button,
.plan-button.dark,
.catalog-toolbar button.primary-button,
.catalog-add-row .primary-button,
.sync-button,
.panel-button,
#payButton {
  background: var(--teal);
  color: var(--white);
}

.header-cta:hover,
.primary-button:hover,
.plan-button.dark:hover,
.sync-button:hover,
.panel-button:hover,
#payButton:hover {
  background: var(--teal-dark);
}

.secondary-button,
.plan-button,
#toggleLock {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.secondary-button:hover,
.plan-button:hover,
#toggleLock:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.compact-button {
  min-height: 40px;
  padding: 0 13px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  min-height: min(760px, calc(100vh - 72px));
  overflow: hidden;
  padding: clamp(52px, 7vw, 96px) clamp(18px, 7vw, 100px);
  background: var(--charcoal);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background: rgba(14, 38, 39, 0.66);
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--yellow);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: 74px;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 21px;
  line-height: 1.1;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 21px;
}

.hero-actions {
  margin: 30px 0 24px;
}

.light-button {
  background: var(--yellow);
  color: var(--charcoal);
}

.light-button:hover {
  background: var(--white);
  color: var(--charcoal);
}

.light-outline {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--white);
}

.light-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
}

.check-mark {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-style: normal;
}

.hero-visual {
  justify-self: end;
  width: min(100%, 500px);
  padding-top: 28px;
}

.preview-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(69, 163, 111, 0.16);
}

.tablet-shell {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 14px solid var(--charcoal);
  border-radius: 27px;
  background: #f7fbfb;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  padding: 15px;
  overflow: hidden;
}

.tablet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
}

.wide {
  grid-column: 1 / -1;
}

.field-card,
.garment-row,
.total-box {
  min-height: 66px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  padding: 10px;
}

.field-card small,
.field-card span,
.tablet-top span,
.period,
.panel-heading > span,
.device-list span {
  color: var(--muted);
}

.field-card small {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
  font-weight: 700;
}

.field-card strong,
.field-card span {
  display: block;
  font-size: 12px;
}

.field-card span {
  font-size: 11px;
}

.garment-row,
.total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  font-size: 12px;
}

.total-box {
  min-height: 54px;
  background: var(--teal);
  color: var(--white);
}

.signal-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  overflow: auto;
  padding: 15px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--teal-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.signal-title {
  color: var(--yellow);
  font-weight: 900;
}

.benefit-band,
.apps-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: 68px clamp(18px, 4vw, 58px);
  background: var(--charcoal);
  color: var(--white);
}

.band-copy {
  max-width: 650px;
}

.benefit-band h2,
.apps-band h2 {
  color: var(--white);
}

.benefit-band p,
.apps-band p {
  color: rgba(255, 255, 255, 0.78);
}

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

.metrics article {
  min-height: 144px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  padding: 22px;
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 39px;
  line-height: 1;
}

.section,
.pricing-section,
.faq-section {
  padding: 82px clamp(18px, 4vw, 58px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading > p,
.split-heading > p {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  max-width: 1120px;
}

.split-heading h2 {
  margin-bottom: 0;
}

.operations-section {
  background: var(--mist);
}

.operations-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.operations-image-wrap {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--teal);
  box-shadow: var(--shadow-md);
}

.operations-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.operations-image-wrap figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  border-radius: 7px;
  background: rgba(23, 32, 38, 0.9);
  color: var(--white);
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 800;
}

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

.workflow-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.workflow-item:first-child {
  border-top: 1px solid var(--line);
}

.workflow-item h3,
.workflow-item p {
  margin-bottom: 0;
}

.workflow-item p {
  color: var(--muted);
  font-size: 14px;
}

.workflow-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(16, 124, 124, 0.1);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.workflow-item.active .workflow-number {
  background: var(--teal);
  color: var(--white);
}

.modules-section {
  background: var(--paper);
}

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

.feature-card,
.price-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 32, 38, 0.02);
}

.feature-card {
  min-height: 230px;
  padding: 24px;
}

.feature-card:hover {
  border-color: rgba(16, 124, 124, 0.5);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.module-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
}

.feature-card p,
.price-card p {
  color: var(--muted);
}

.feature-card p {
  min-height: 66px;
  margin-bottom: 17px;
  font-size: 14px;
}

.module-link,
.text-action {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.pricing-section {
  background: var(--mist);
}

.pricing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.billing-button {
  min-height: 38px;
  border: 0;
  border-radius: 5px;
  padding: 0 14px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.billing-button span {
  color: var(--green);
  font-size: 11px;
}

.billing-button.active {
  background: var(--teal);
  color: var(--white);
}

.billing-button.active span {
  color: var(--yellow);
}

.price-note {
  color: var(--muted);
  font-size: 12px;
}

.price-card {
  position: relative;
  padding: 28px;
}

.price-card.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.popular-label {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  background: var(--yellow);
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 900;
}

.plan-kicker,
.panel-kicker {
  margin-bottom: 8px;
  color: var(--teal) !important;
  font-size: 11px !important;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  display: block;
  margin: 22px 0 2px;
  font-size: 42px;
  line-height: 1;
}

.price-card ul {
  min-height: 145px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  margin-bottom: 10px;
  color: var(--charcoal);
  font-size: 14px;
}

.price-card li::before {
  display: inline-block;
  width: 18px;
  color: var(--green);
  content: "\2713";
  font-weight: 900;
}

.plan-button {
  width: 100%;
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  max-width: 900px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  float: right;
  color: var(--teal);
  content: "+";
  font-size: 23px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
}

.whatsapp-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: clamp(26px, 6vw, 90px);
  align-items: center;
  padding: 76px clamp(18px, 7vw, 100px);
  background: #e8f7ef;
}

.whatsapp-copy {
  max-width: 690px;
}

.whatsapp-copy h2 {
  max-width: 620px;
}

.whatsapp-copy > p:not(.eyebrow) {
  max-width: 580px;
  color: var(--muted);
  font-size: 17px;
}

.whatsapp-benefits {
  display: grid;
  gap: 9px;
  margin: 22px 0 26px;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 800;
}

.whatsapp-benefits i {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-style: normal;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 8px;
  border-radius: 7px;
  background: #1f9d63;
  color: var(--white);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 900;
}

.whatsapp-button:hover {
  background: #167d4f;
}

.whatsapp-demo,
.whatsapp-template-preview {
  border: 1px solid rgba(31, 157, 99, 0.24);
  border-radius: 9px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 18px;
}

.whatsapp-demo {
  width: min(100%, 390px);
  justify-self: end;
}

.whatsapp-demo-top {
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 13px;
}

.whatsapp-demo-top > div {
  flex: 1;
}

.whatsapp-demo-top strong,
.whatsapp-demo-top small {
  display: block;
}

.whatsapp-demo-top strong {
  font-size: 13px;
}

.whatsapp-demo-top small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.whatsapp-logo {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #1f9d63;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.verified {
  color: #1f9d63;
  font-size: 14px;
  font-weight: 900;
}

.whatsapp-bubble {
  display: grid;
  gap: 6px;
  margin: 18px 0 14px 22px;
  border-radius: 8px 8px 2px 8px;
  background: #e4f6e9;
  padding: 14px;
  color: var(--charcoal);
  font-size: 12px;
}

.whatsapp-bubble strong {
  font-size: 13px;
}

.whatsapp-bubble small {
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

.whatsapp-bubble small b {
  color: #1f9d63;
}

.whatsapp-demo-footer {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.apps-band {
  background: var(--teal);
}

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

.store-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  padding: 14px;
}

.store-links a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.store-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: var(--white);
  color: var(--teal);
  font-size: 20px;
  font-weight: 900;
}

.store-links strong,
.store-links small {
  display: block;
}

.store-links small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 58px);
  color: var(--muted);
  font-size: 13px;
}

.footer p {
  margin: 9px 0 0 48px;
}

.footer-brand strong {
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 700;
}

.checkout-result {
  max-width: 620px;
  margin: 12vh auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 42px;
  text-align: center;
}

.checkout-result h1 {
  margin: 10px auto 16px;
  color: var(--ink);
  font-size: 48px;
}

.checkout-result p:not(.eyebrow) {
  color: var(--muted);
}

.checkout-result small {
  display: block;
  margin: 18px 0 24px;
  color: var(--muted);
  font-family: monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.checkout-result .primary-button {
  width: 100%;
}

.checkout-result-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 30px;
  font-weight: 900;
}

.checkout-result-icon.warning {
  background: var(--yellow);
  color: var(--charcoal);
}

.management-body {
  background: #f4f7f6;
}

.dashboard {
  max-width: 1500px;
  margin: 0 auto;
  padding: 34px clamp(18px, 4vw, 46px) 76px;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 22px;
}

.dashboard-hero h1 {
  max-width: 920px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 58px;
}

.dashboard-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

.dashboard-actions {
  margin-top: 22px;
}

.account-status {
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--white);
  padding: 24px;
}

.account-status strong {
  display: block;
  margin: 17px 0 6px;
  color: var(--yellow);
  font-size: 38px;
  line-height: 1;
}

.account-status p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.account-status a {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
}

.status-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.setup-overview {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 14px 28px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  padding: 18px 20px;
}

.setup-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.setup-copy .eyebrow {
  margin-bottom: 4px;
}

.setup-copy strong,
.setup-hint {
  display: block;
}

.setup-hint {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--mist);
}

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

.setup-steps {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.setup-steps .done,
.setup-steps .current {
  color: var(--teal);
}

.setup-steps .done i {
  color: var(--green);
  font-style: normal;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  padding: 18px;
}

.stat-card span,
.stat-card small {
  color: var(--muted);
  font-size: 12px;
}

.stat-card strong {
  display: block;
  margin: 7px 0 3px;
  font-size: 29px;
  line-height: 1;
}

.stat-card small {
  color: var(--green);
  font-weight: 700;
}

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

.wide-panel {
  grid-column: 1 / -1;
}

.panel {
  padding: 24px;
}

.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 19px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 24px;
}

.panel-heading > span {
  white-space: nowrap;
  font-size: 12px;
}

.panel-intro {
  color: var(--muted);
  font-size: 14px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select,
.stripe-placeholder {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 11px 12px;
}

input::placeholder {
  color: #85919a;
}

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

.panel-button {
  width: 100%;
  margin-top: 3px;
}

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

.switch-list label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 62px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f9fbfa;
  padding: 11px;
}

.switch-list label:has(input:checked) {
  border-color: rgba(16, 124, 124, 0.5);
  background: var(--mist);
}

.switch-list input {
  width: 18px;
  min-height: auto;
  margin-top: 2px;
  accent-color: var(--teal);
}

.switch-list strong,
.switch-list small {
  display: block;
}

.switch-list strong {
  font-size: 12px;
}

.switch-list small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
}

.catalog-toolbar label,
.catalog-add-row label {
  margin: 0;
}

.catalog-add-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 180px 160px auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
  border: 1px solid rgba(16, 124, 124, 0.3);
  border-radius: 6px;
  background: var(--mist);
  padding: 12px;
}

.price-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.table-head,
.catalog-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 120px 120px;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
}

.table-head {
  background: var(--charcoal);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.catalog-row {
  min-height: 54px;
  border-top: 1px solid var(--line);
  background: var(--white);
  font-size: 13px;
}

.catalog-row:hover {
  background: #f8fbfa;
}

.status-pill,
.device-state {
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  background: var(--mist);
  color: var(--teal);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
}

.text-action {
  border: 0;
  background: transparent;
  padding: 5px 0;
}

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

.full-field {
  grid-column: 1 / -1;
}

.note-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 5px 0 17px;
  border-radius: 6px;
  background: var(--charcoal);
  color: var(--white);
  padding: 15px;
}

.note-summary span,
.note-summary strong {
  display: block;
}

.note-summary span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.note-summary strong {
  margin-top: 3px;
  font-size: 14px;
}

.device-list {
  display: grid;
  gap: 9px;
}

.device-list article {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f9fbfa;
  padding: 11px;
}

.device-list article.pending {
  border-color: rgba(246, 201, 95, 0.8);
  background: #fffaf0;
}

.device-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
}

.device-icon.android {
  background: var(--green);
}

.device-icon.ipad {
  background: var(--charcoal);
}

.device-list strong,
.device-list span {
  display: block;
}

.device-list strong {
  font-size: 12px;
}

.device-list span {
  margin-top: 2px;
  font-size: 11px;
}

.pending .device-state {
  background: #fff0bd;
  color: #7b5b00;
}

.sync-button {
  width: 100%;
  margin-top: 16px;
}

.sync-note {
  min-height: 21px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

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

.whatsapp-toggle-list {
  display: grid;
  gap: 9px;
  margin: 17px 0;
}

.whatsapp-toggle-list label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 58px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 10px;
}

.whatsapp-toggle-list label:has(input:checked) {
  border-color: rgba(31, 157, 99, 0.45);
  background: #e8f7ef;
}

.whatsapp-toggle-list input {
  width: 18px;
  min-height: auto;
  margin-top: 2px;
  accent-color: #1f9d63;
}

.whatsapp-toggle-list strong,
.whatsapp-toggle-list small {
  display: block;
}

.whatsapp-toggle-list strong {
  font-size: 12px;
}

.whatsapp-toggle-list small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.whatsapp-template-preview {
  background: #e8f7ef;
  box-shadow: none;
}

.whatsapp-template-preview > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr);
  gap: 18px;
}

.payment-card,
.lock-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f9fbfa;
  padding: 19px;
}

.secure-note {
  display: flex;
  gap: 11px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: var(--mist);
  padding: 12px;
  color: var(--teal-dark);
}

.secure-note > span {
  font-size: 18px;
}

.secure-note strong,
.secure-note span {
  display: block;
}

.secure-note strong {
  font-size: 12px;
}

.secure-note div span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

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

.payment-fields label:last-child {
  grid-column: 1 / -1;
}

.stripe-placeholder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #85919a;
  font-weight: 400;
}

.stripe-placeholder b {
  color: var(--teal);
  font-size: 11px;
}

.payment-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  margin: 4px 0 16px;
  border-radius: 6px;
  background: var(--charcoal);
  color: var(--white);
  padding: 15px;
}

.payment-total span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.payment-total strong {
  font-size: 22px;
}

.lock-card {
  position: relative;
  overflow: hidden;
}

.lock-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff0bd;
  color: #7b5b00;
}

.lock-card h3 {
  margin-top: 17px;
}

.lock-card p {
  min-height: 76px;
  color: var(--muted);
  font-size: 13px;
}

#toggleLock {
  width: 100%;
}

.blocked {
  border-color: var(--coral) !important;
  background: #fff5f2 !important;
}

.blocked strong,
.blocked .lock-icon {
  color: var(--coral);
}

.blocked .lock-icon {
  background: rgba(217, 102, 85, 0.14);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  max-width: min(380px, calc(100vw - 44px));
  border-radius: 7px;
  background: var(--charcoal);
  box-shadow: var(--shadow-md);
  color: var(--white);
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .site-header {
    gap: 16px;
  }

  .main-nav {
    gap: 14px;
  }

  .text-link {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.82fr);
  }

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

  .dashboard-hero,
  .payment-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hero,
  .benefit-band,
  .apps-band,
  .operations-layout,
  .whatsapp-section,
  .whatsapp-settings-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 58px;
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-overlay {
    background: rgba(14, 38, 39, 0.72);
  }

  .hero-visual {
    justify-self: start;
    max-width: 560px;
  }

  .whatsapp-demo {
    justify-self: start;
  }

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

  .setup-overview {
    grid-template-columns: 1fr;
  }

  .setup-steps {
    grid-column: auto;
  }

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

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .wide-panel {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand-copy small {
    display: none;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  h1 {
    font-size: 52px;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-actions > a {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    gap: 9px;
  }

  .signal-strip {
    justify-content: start;
  }

  .signal-title {
    min-width: 220px;
  }

  .section,
  .pricing-section,
  .faq-section,
  .benefit-band,
  .apps-band {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .split-heading,
  .pricing-toolbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .metrics,
  .feature-grid,
  .pricing-grid,
  .store-links,
  .note-form-grid,
  .payment-fields,
  .switch-list {
    grid-template-columns: 1fr;
  }

  .whatsapp-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .whatsapp-demo {
    width: 100%;
  }

  .metrics article {
    min-height: auto;
  }

  .operations-image-wrap,
  .operations-image-wrap img {
    min-height: 300px;
  }

  .billing-toggle {
    width: 100%;
  }

  .billing-button {
    flex: 1;
    padding: 0 8px;
  }

  .price-card ul {
    min-height: auto;
  }

  .footer p {
    margin-left: 0;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .dashboard {
    padding-top: 26px;
  }

  .checkout-result {
    margin: 8vh 18px;
    padding: 28px 20px;
  }

  .checkout-result h1 {
    font-size: 40px;
  }

  .dashboard-hero h1 {
    font-size: 48px;
  }

  .setup-copy,
  .setup-steps,
  .table-footer,
  .note-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .setup-hint {
    text-align: left;
  }

  .setup-steps {
    display: grid;
    gap: 6px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 18px;
  }

  .panel-heading {
    flex-direction: column;
    gap: 5px;
  }

  .catalog-toolbar,
  .catalog-add-row {
    grid-template-columns: 1fr;
  }

  .table-head {
    display: none;
  }

  .catalog-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 13px 14px;
  }

  .catalog-row span:nth-child(2)::before,
  .catalog-row span:nth-child(3)::before,
  .catalog-row span:nth-child(4)::before {
    display: inline-block;
    width: 66px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .catalog-row span:nth-child(2)::before {
    content: "Tipo";
  }

  .catalog-row span:nth-child(3)::before {
    content: "Precio";
  }

  .catalog-row span:nth-child(4)::before {
    content: "Estado";
  }

  .device-list article {
    grid-template-columns: 34px 1fr;
  }

  .device-state {
    grid-column: 2;
    justify-self: start;
  }

  .payment-fields label:last-child {
    grid-column: auto;
  }
}
