:root {
  --bg: #f3fbf0;
  --surface: #ffffff;
  --surface-2: #f9fbf5;
  --text: #142015;
  --muted: #66715d;
  --green: #1a7a42;
  --green-2: #22a058;
  --primary: var(--green);
  --text-secondary: var(--muted);
  --gold: #f5c542;
  --gold-soft: #fff3b8;
  --ember: #e5481f;
  --insta-red: #e1302f;
  --insta-yellow: #feda75;
  --insta-orange: #fa7e1e;
  --insta-pink: #d62976;
  --insta-purple: #962fbf;
  --insta-blue: #4f5bd5;
  --insta-gradient: linear-gradient(135deg, #feda75 0%, #fa7e1e 24%, var(--insta-red) 56%, #c13584 80%, #833ab4 100%);
  --border: #ded7ad;
  --shadow: 0 14px 36px rgba(20, 32, 21, .10);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  max-width: 100%;
  overflow-x: hidden;
}

.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 28px;
  background: linear-gradient(135deg, #07100b 0%, #16351f 58%, #5b2118 100%);
  border-bottom: 1px solid rgba(245, 197, 66, .65);
}
.brand { min-width: 0; }
.brand img { width: 260px; max-width: 100%; max-height: 56px; object-fit: contain; display: block; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(245,197,66,.55);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(0,0,0,.28);
  font-size: 13px;
  font-weight: 700;
}

.shell { min-height: calc(100vh - 76px); max-width: 100%; }
.hidden { display: none !important; }

.auth-view {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 28px;
}
.auth-panel {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.auth-copy {
  padding: 42px;
  background: linear-gradient(135deg, #0f1f13, #1f4d2d 62%, #7f2b18);
  color: #fff7cf;
}
.auth-icon { width: 116px; height: 116px; object-fit: contain; margin-bottom: 28px; }
.auth-copy h1 { margin: 0 0 10px; font-size: 34px; letter-spacing: 0; }
.auth-copy p { margin: 0; max-width: 460px; color: #fff0ad; line-height: 1.55; }

.form, .panel, .content, .sidebar {
  background: var(--surface);
  min-width: 0;
}
.form { padding: 42px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 22px; }
.tab, button {
  font: inherit;
}
.tab {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  min-height: 38px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}
.tab.active { background: var(--green); border-color: var(--green); color: white; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 12px; color: var(--muted); font-weight: 800; text-transform: uppercase; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 0 12px;
  outline: none;
}
input, select { min-height: 42px; }
textarea { min-height: 96px; padding-top: 10px; resize: vertical; font: inherit; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,122,66,.12); }
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  margin: 0;
  accent-color: var(--green);
}
input[type="checkbox"]:focus,
input[type="radio"]:focus {
  box-shadow: 0 0 0 3px rgba(26,122,66,.12);
}

.primary, .secondary, .ghost {
  border: 0;
  border-radius: 8px;
  min-height: 42px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 800;
}
.primary { background: linear-gradient(135deg, var(--green), var(--green-2)); color: white; }
.secondary { background: #172018; color: var(--gold-soft); }
.ghost { background: rgba(255,255,255,.12); color: var(--gold-soft); border: 1px solid rgba(245,197,66,.45); }
.full-button { width: 100%; margin-top: 10px; }
.helper-text { color: var(--muted); line-height: 1.45; margin: 8px 0 0; font-size: 13px; }
.hint-box { min-height: 44px; border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; color: var(--muted); background: var(--bg); font-size: 13px; line-height: 1.35; }
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}
.message { min-height: 20px; margin: 12px 0 0; color: var(--ember); font-size: 13px; }
.message.ok { color: var(--green); }

.app-view {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - 76px);
  max-width: 100%;
}
.sidebar {
  border-right: 1px solid var(--border);
  padding: 18px;
}
.account-card {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface-2);
  margin-bottom: 18px;
}
.account-card > div { min-width: 0; }
.account-card strong,
.account-card span { overflow-wrap: anywhere; }
.account-card span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #1b1300;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), #fff1a1);
}
nav { display: grid; gap: 8px; }
.nav {
  text-align: left;
  min-height: 40px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 800;
}
.nav.active { background: #edf7ed; border-color: #cfe7cf; color: var(--green); }
.nav-download {
  background: #fff7c9;
  border-color: #efd578;
  color: #775000;
}
.nav-download.active { background: var(--gold); border-color: var(--gold); color: #241800; }

.content { padding: 22px; max-width: 100%; overflow: hidden; }
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.toolbar > div { min-width: 0; }
.toolbar h2,
.toolbar p { overflow-wrap: anywhere; }
h2, h3 { margin: 0; letter-spacing: 0; }
.toolbar p { margin: 4px 0 0; color: var(--muted); }
.panel, .view {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(20,32,21,.05);
  max-width: 100%;
  min-width: 0;
}
.panel { margin-bottom: 16px; }
.notification-area {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.notification-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border: 1px solid #efc85e;
  border-radius: 8px;
  background: #fff7c9;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(125, 80, 0, .10);
}
.notification-card strong {
  display: block;
  color: #5a3b00;
  margin-bottom: 4px;
}
.notification-card span {
  display: block;
  color: #6d5b32;
  line-height: 1.4;
}
.notification-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-shrink: 0;
}
.inline-form {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 12px;
  align-items: end;
}
.inline-form > *,
.settings-grid > *,
.metric-grid > *,
.device-grid > *,
.sales-grid > *,
.steps-grid > *,
.pricing-grid > *,
.faq-grid > * {
  min-width: 0;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.install-banner,
.help-strip,
.install-hero,
.demo-sales {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffef3, #ecf8ec);
  padding: 16px;
  margin-bottom: 16px;
}
.install-banner strong,
.help-strip strong,
.install-hero h3,
.demo-sales strong {
  display: block;
  color: var(--green);
  margin-bottom: 4px;
}
.install-banner span,
.help-strip span,
.install-hero p,
.demo-sales p {
  display: block;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}
.help-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.install-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: min(320px, 100%);
}
.install-actions .link-button { width: 100%; }
.eyebrow {
  color: #765100;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.mode-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.mode-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}
.mode-card h3 {
  color: var(--green);
  margin: 6px 0 8px;
  font-size: 18px;
}
.mode-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 12px;
}
.mode-card .mini-button { width: 100%; }
.button-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.button-row .mini-button,
.button-row .link-button {
  flex: 1 1 150px;
  text-align: center;
}
.device-card,
.install-steps {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}
.device-card.recommended {
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(125,67,19,.12);
}
.device-card span {
  display: inline-flex;
  background: var(--gold-soft);
  color: #654600;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}
.device-card h3 { color: var(--green); margin-bottom: 8px; }
.device-card p,
.install-steps li {
  color: var(--muted);
  line-height: 1.5;
}
.device-card .link-button { width: 100%; margin-top: 10px; }
.device-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.install-steps h3 { color: var(--green); margin-bottom: 8px; }
.install-steps ol { margin: 0; padding-left: 22px; }
.compact-steps {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}
.metric {
  border: 1px solid #e7dfb9;
  border-radius: 8px;
  padding: 16px;
  background: var(--surface-2);
}
.metric span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.metric strong { display: block; margin-top: 8px; color: var(--green); font-size: 28px; }
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.seg-checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 8px;
}
.seg-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid rgba(222,215,173,.8);
  border-radius: 8px;
  padding: 7px 9px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
}
.actions-section,
.comment-templates {
  display: grid;
  gap: 8px;
}
.action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(222,215,173,.75);
  border-radius: 8px;
  min-height: 52px;
  padding: 8px 10px;
  background: #fff;
}
.action-row .seg-check {
  border: 0;
  padding: 0;
  background: transparent;
}
.action-count {
  display: grid;
  grid-template-columns: auto 80px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.action-count input {
  width: 80px;
  min-height: 34px;
  padding: 0 10px;
}
.action-mode-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.action-mode-opt {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  align-items: start;
  border: 1px solid rgba(222,215,173,.8);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}
.action-mode-opt strong,
.action-mode-opt span { grid-column: 2; }
.action-mode-opt span {
  color: var(--muted);
  line-height: 1.45;
  font-size: 13px;
}
.span-2 { grid-column: span 2; }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { text-align: left; border-bottom: 1px solid var(--border); padding: 11px 8px; font-size: 14px; overflow-wrap: anywhere; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.soft-panel { background: #fbfff6; }
.assistant-box, .manual-doc, .compact-list {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 14px;
  margin: 14px 0;
}
.assistant-box { min-height: 92px; color: var(--muted); line-height: 1.5; }
.manual-doc { line-height: 1.65; white-space: pre-wrap; }
.assistant-box,
.manual-doc,
.compact-list,
.manual-preview,
.demo-access-box,
.install-steps,
.device-card,
.metric,
.field,
input,
select,
textarea {
  min-width: 0;
  max-width: 100%;
}
.manual-doc h3 { margin-top: 18px; color: var(--green); }
.compact-list { display: grid; gap: 8px; }
.compact-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(222,215,173,.7);
  padding-bottom: 8px;
}
.compact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-button {
  min-height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 820px) {
  .topbar {
    min-height: 76px;
    height: auto;
    padding: 10px 12px;
  }
  .brand img { width: min(180px, 48vw); height: auto; }
  .top-actions { gap: 8px; flex-shrink: 0; }
  .top-actions .pill { min-height: 28px; padding: 0 10px; font-size: 12px; }
  .top-actions .ghost { min-height: 38px; padding: 0 12px; }
  .auth-panel, .app-view { grid-template-columns: 1fr; }
  .seg-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-row,
  .action-mode-row { grid-template-columns: 1fr; }
  .action-count { grid-template-columns: auto minmax(80px, 1fr); }
  .action-count input { width: 100%; }
  .action-mode-opt strong,
  .action-mode-opt span { grid-column: 2; }
  .auth-view { padding: 18px 12px; }
  .auth-copy,
  .form { padding: 24px 18px; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--border); padding: 14px 12px; }
  .content { padding: 16px 12px 28px; overflow: hidden; }
  .panel, .view { padding: 14px 12px; }
  nav { gap: 6px; }
  .nav { min-height: 42px; }
  .inline-form, .metric-grid, .settings-grid { grid-template-columns: 1fr; }
  .device-grid,
  .mode-guide { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .toolbar .primary { width: 100%; }
  .install-banner, .help-strip, .install-hero, .demo-sales { align-items: stretch; flex-direction: column; }
  .notification-card { align-items: stretch; flex-direction: column; }
  .notification-actions { justify-content: stretch; width: 100%; }
  .notification-actions .mini-button,
  .notification-actions .link-button { flex: 1 1 150px; }
  .help-actions { width: 100%; }
  .help-actions .link-button,
  .install-actions,
  .install-hero .link-button,
  .demo-sales .sales-cta { width: 100%; }
  table { min-width: 100%; table-layout: fixed; }
  th, td { padding: 9px 6px; font-size: 12px; }
  .mini-button { width: 100%; }
  .mobile-install-card { max-height: calc(100vh - 36px); overflow-y: auto; }
}

.sales-page {
  background:
    radial-gradient(circle at 10% 8%, rgba(254,218,117,.22), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(225,48,47,.14), transparent 26%),
    #fffaf0;
}

.sales-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 82vh;
  color: #fff8cf;
  background:
    radial-gradient(circle at 76% 18%, rgba(225,48,47,.20), transparent 27%),
    radial-gradient(circle at 92% 74%, rgba(247,119,55,.14), transparent 31%),
    linear-gradient(135deg, rgba(7,16,11,.98), rgba(24,53,32,.95) 52%, rgba(70,31,20,.88));
  padding: 20px clamp(18px, 5vw, 70px) 56px;
  display: grid;
  align-content: start;
  gap: 30px;
  border-bottom: 1px solid rgba(245, 197, 66, .55);
}

.sales-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: min(84vw, 940px);
  aspect-ratio: 1;
  right: max(-190px, -10vw);
  top: 74px;
  opacity: .20;
  border: 0;
  border-radius: 0;
  transform: rotate(-7deg);
  background: url("/assets/instagram-background.png") center / contain no-repeat;
  filter: saturate(.86) brightness(.78);
  box-shadow: none;
}

.sales-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .56;
  background:
    radial-gradient(circle at 78% 34%, rgba(254,218,117,.10), transparent 28%),
    linear-gradient(90deg, rgba(6, 17, 10, .05), rgba(225,48,47,.05), rgba(247,119,55,.03));
}

.sales-nav,
.sales-hero-grid {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.sales-hero::after {
  opacity: .56;
  background:
    radial-gradient(circle at 78% 34%, rgba(254,218,117,.10), transparent 28%),
    linear-gradient(90deg, rgba(6,17,10,.05), rgba(225,48,47,.05), rgba(247,119,55,.03));
}

.sales-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sales-nav-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}

.sales-nav img {
  width: min(320px, 62vw);
  max-height: 76px;
  object-fit: contain;
}

.sales-login,
.sales-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-align: center;
}

.sales-login {
  color: var(--gold-soft);
  border: 1px solid rgba(245,197,66,.5);
  background: rgba(0,0,0,.24);
}

.sales-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(440px, 1.04fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-height: calc(82vh - 150px);
}

.sales-copy {
  width: min(720px, 100%);
  min-width: 0;
}
.sales-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  margin-bottom: 16px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(225,48,47,.72), rgba(250,126,30,.54));
  padding: 8px 12px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
  white-space: normal;
  box-shadow: 0 10px 26px rgba(225,48,47,.16);
}

.sales-badge::before,
.insta-chip::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 6px;
  background:
    radial-gradient(circle at 68% 32%, #fff 0 2px, transparent 3px),
    radial-gradient(circle, transparent 0 5px, #fff 6px 7px, transparent 8px),
    var(--insta-gradient);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.85);
}

.sales-icon {
  width: 94px;
  height: 94px;
  object-fit: contain;
  margin-bottom: 18px;
}

.sales-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(42px, 6.2vw, 72px);
  line-height: .98;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.sales-copy p {
  margin: 0;
  max-width: 580px;
  color: #fff1af;
  font-size: 19px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.sales-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.sales-actions.center { justify-content: center; }

.sales-cta {
  min-width: 156px;
}

.sales-page .primary.sales-cta {
  border: 0;
  color: #fff;
  background: var(--insta-gradient);
  box-shadow: 0 12px 24px rgba(225,48,47,.20);
}

.sales-page .secondary.sales-cta {
  border-color: rgba(225,48,47,.34);
  color: #142015;
  background: rgba(255,255,255,.88);
}

.sales-hero-media {
  margin: 0;
  min-width: 0;
  position: relative;
  background: #0b3f20;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
}

.sales-hero-media img,
.visual-image,
.stats-band img {
  display: block;
  width: 100%;
  height: auto;
}

.sales-hero-media img {
  background: #0b3f20;
  border-radius: 8px;
  opacity: 1;
}

.visual-frame {
  position: relative;
  min-width: 0;
}

.insta-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--insta-gradient);
  box-shadow: 0 14px 28px rgba(225,48,47,.20);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
  white-space: normal;
}

.insta-chip.top-right {
  top: 16px;
  right: 16px;
}

.insta-chip.bottom-left {
  left: 16px;
  bottom: 16px;
}

.insta-chip.mid-left {
  left: 16px;
  top: 18px;
}

.insta-chip.bottom-right {
  right: 16px;
  bottom: 16px;
}

.sales-main {
  padding: 24px clamp(18px, 5vw, 70px) 54px;
}

.sales-section {
  padding: 38px 0;
}

.visual-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
}

.visual-split.reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(0, .9fr);
}

.visual-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.visual-image {
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(20,32,21,.10);
  background: #fff;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 5px #dff4df;
}

.stats-band {
  display: grid;
  grid-template-columns: minmax(280px, .65fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 22%, rgba(225,48,47,.24), transparent 28%),
    linear-gradient(135deg, #0d1b12, #214f30 48%, #7a2d1d);
  color: #fff7cf;
  box-shadow: 0 18px 42px rgba(20,32,21,.16);
}

.stats-copy span {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.stats-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.stats-copy p {
  color: #fff1af;
  line-height: 1.55;
  font-size: 18px;
}

.stats-band img {
  border-radius: 8px;
  border: 1px solid rgba(245,197,66,.45);
}

.stats-band .visual-frame {
  min-width: 0;
}

.sales-section.band {
  margin-left: calc(clamp(18px, 5vw, 70px) * -1);
  margin-right: calc(clamp(18px, 5vw, 70px) * -1);
  padding-left: clamp(18px, 5vw, 70px);
  padding-right: clamp(18px, 5vw, 70px);
  background: #fffaf0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  max-width: 840px;
  margin-bottom: 18px;
}

.section-title span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-title h2 {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

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

.sales-grid article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(20,32,21,.06);
}

.demo-sales {
  background: #fff;
  box-shadow: 0 8px 22px rgba(20,32,21,.06);
}
.demo-sales .sales-cta { flex: 0 0 auto; }
.demo-access-box {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfff6;
}
.demo-access-box span,
.demo-access-box small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.demo-access-box strong {
  color: var(--text);
  overflow-wrap: anywhere;
}
.demo-copy-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sales-grid strong,
.sales-grid span {
  display: block;
}

.sales-grid strong {
  color: var(--green);
  font-size: 17px;
  margin-bottom: 7px;
}

.sales-grid span {
  color: var(--muted);
  line-height: 1.45;
}
.use-options-grid article {
  display: flex;
  flex-direction: column;
}
.use-options-grid .sales-cta {
  margin-top: auto;
  align-self: flex-start;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-row span {
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(245,197,66,.36);
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 800;
}

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

.steps-grid article,
.price-card,
.manual-preview,
.guarantee {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(20,32,21,.06);
}

.steps-grid b {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  margin-bottom: 12px;
}

.steps-grid strong,
.steps-grid span {
  display: block;
}

.steps-grid strong {
  color: var(--text);
  margin-bottom: 6px;
}

.steps-grid span,
.price-card p,
.manual-preview,
.guarantee p {
  color: var(--muted);
  line-height: 1.55;
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
}

.price-card.highlighted {
  border-color: rgba(225,48,47,.42);
  box-shadow: 0 16px 38px rgba(225,48,47,.13);
}

.price-card .tag {
  display: inline-flex;
  background: linear-gradient(90deg, rgba(254,218,117,.9), rgba(250,126,30,.28));
  color: #5f2b00;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}

.price-card h3 {
  margin: 18px 0 8px;
  font-size: 28px;
  color: var(--green);
}

.price {
  color: var(--text);
  font-size: 36px;
  font-weight: 900;
}

.price small { font-size: 15px; color: var(--muted); }
.price-card ul { padding-left: 18px; color: var(--muted); line-height: 1.7; }

.promo-strip {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.promo-strip strong,
.promo-strip span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--border);
}

.manual-preview ol {
  margin-bottom: 0;
  line-height: 1.9;
}

.motion-strip {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.motion-strip span {
  color: var(--green);
  font-weight: 900;
}

.motion-strip b {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--ember));
  background-size: 200% 100%;
  animation: flowMove 1.8s linear infinite;
}

@keyframes flowMove {
  from { background-position: 0 0; }
  to { background-position: 200% 0; }
}

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

.faq-grid article {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.faq-grid strong,
.faq-grid span {
  display: block;
}

.faq-grid strong {
  color: var(--green);
  margin-bottom: 7px;
  font-size: 17px;
}

.faq-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.brand-footer {
  border-top: 1px solid var(--border);
  background: #edf3f7;
  text-align: center;
  padding: 48px clamp(18px, 5vw, 70px) 34px;
}

.brand-footer a {
  color: var(--green);
  text-decoration: none;
  font-weight: 900;
}

.brand-footer-main {
  width: min(180px, 46vw);
  max-height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 auto 20px;
}

.brand-footer p {
  margin: 10px auto 0;
  max-width: 780px;
  color: #5b6b82;
  font-size: 18px;
  line-height: 1.5;
}

.brand-footer .agency-line {
  font-size: 15px;
}

.agency-logo-link {
  display: inline-flex;
  margin-top: 14px;
}

.brand-footer-agency {
  width: min(170px, 44vw);
  max-height: 46px;
  object-fit: contain;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1b8f46;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(11, 74, 38, .28);
}

.whatsapp-float.hidden {
  display: none;
}

.mobile-install-hint {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(5, 12, 7, .48);
}

.mobile-install-card {
  position: relative;
  width: min(440px, 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fffef7;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.mobile-install-card img {
  width: 210px;
  max-height: 64px;
  object-fit: contain;
  display: block;
  margin-bottom: 12px;
}

.mobile-install-card h2 {
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.mobile-install-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 12px;
}

.mobile-install-card ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-install-card li {
  color: var(--text);
  line-height: 1.35;
}

.mobile-install-card li strong {
  color: var(--green);
}

.mobile-install-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.mobile-install-primary,
.mobile-install-secondary,
.mobile-install-close {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.mobile-install-primary,
.mobile-install-secondary {
  flex: 1;
  min-height: 42px;
}

.mobile-install-primary {
  background: var(--green);
  color: #fff;
}

.mobile-install-secondary {
  background: #172018;
  color: var(--gold-soft);
}

.mobile-install-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 32px;
  height: 32px;
  background: #f7ecd2;
  color: var(--text);
}

.guarantee {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .sales-hero {
    min-height: 82vh;
    background: linear-gradient(135deg, rgba(7,16,11,.97), rgba(24,53,32,.9) 58%, rgba(111,36,20,.86));
    padding-bottom: 34px;
  }
  .sales-hero::before {
    width: min(116vw, 560px);
    right: -190px;
    top: 86px;
    border-width: 0;
    opacity: .17;
  }
  .sales-hero::after {
    opacity: .42;
  }
  .sales-hero-grid,
  .visual-split,
  .visual-split.reverse,
  .stats-band { grid-template-columns: 1fr; }
  .sales-copy { padding-top: 14px; }
  .sales-copy p { font-size: 16px; }
  .sales-grid, .steps-grid, .pricing-grid, .faq-grid { grid-template-columns: 1fr; }
  .sales-nav { align-items: flex-start; flex-direction: column; }
  .sales-nav-actions { width: 100%; justify-content: flex-start; }
  .demo-copy-actions .mini-button { flex: 1 1 140px; }
  .motion-strip { grid-template-columns: 1fr; }
  .motion-strip b { min-height: 5px; }
  .insta-chip {
    position: static;
    width: fit-content;
    margin: 0 0 10px;
  }
  .brand-footer { padding-top: 34px; }
  .brand-footer p { font-size: 16px; }
}

@media (max-width: 600px) {
  html,
  body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body > *,
  .shell,
  .auth-view,
  .app-view,
  .sidebar,
  .content,
  .panel,
  .view,
  .sales-page,
  .sales-main,
  .sales-section {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .topbar {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    min-height: 64px;
    height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    padding: 8px 8px;
    overflow: hidden;
  }

  .brand {
    width: 100%;
    min-width: 0;
    max-width: calc(100vw - 158px);
    overflow: hidden;
  }

  .brand img {
    width: min(128px, 36vw);
    max-width: 100%;
    max-height: 42px;
    object-fit: contain;
    object-position: left center;
  }

  .top-actions {
    min-width: 0;
    max-width: 150px;
    gap: 5px;
    justify-content: flex-end;
    flex-shrink: 0;
  }

  .top-actions .pill {
    min-width: 0;
    min-height: 30px;
    padding: 0 8px;
    font-size: 12px;
    line-height: 1;
  }

  .top-actions .ghost {
    min-width: 0;
    min-height: 38px;
    padding: 0 10px;
    font-size: 15px;
  }

  .app-view {
    display: block;
    min-height: auto;
  }

  .sidebar {
    padding: 12px;
    overflow: hidden;
  }

  .content {
    padding: 14px 10px 26px;
    overflow: hidden;
  }

  .account-card,
  .install-banner,
  .help-strip,
  .install-hero,
  .demo-sales,
  .metric,
  .mode-card,
  .device-card,
  .install-steps,
  .manual-doc,
  .assistant-box,
  .compact-list {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .account-card {
    padding: 10px;
  }

  .account-card strong,
  .account-card span,
  .toolbar h2,
  .toolbar p,
  .field span,
  .nav,
  p,
  h1,
  h2,
  h3,
  strong,
  span,
  a,
  button {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  nav {
    width: 100%;
  }

  .nav {
    width: 100%;
    padding: 0 10px;
  }

  .toolbar {
    width: 100%;
    gap: 12px;
  }

  .toolbar .primary,
  .primary,
  .secondary,
  .ghost,
  .link-button {
    max-width: 100%;
  }

  .inline-form,
  .settings-grid,
  .metric-grid,
  .device-grid,
  .sales-grid,
  .steps-grid,
  .pricing-grid,
  .faq-grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  input,
  select,
  textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  table {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    table-layout: fixed;
  }

  th,
  td {
    padding: 8px 5px;
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .sales-hero,
  .stats-band {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    padding-left: 14px;
    padding-right: 14px;
    overflow: hidden;
  }

  .sales-nav img {
    width: min(230px, 72vw);
    height: auto;
  }
}


