:root {
  --green: #00a850;
  --green-dark: #007f3e;
  --green-soft: #e8fff2;
  --cream: #fcf5eb;
  --gold: #ffc12d;
  --gold-soft: #fff6d9;
  --ink: #082015;
  --ink-2: #173628;
  --muted: #66776f;
  --surface: #ffffff;
  --surface-2: #fcf5eb;
  --line: #e7dfd4;
  --danger: #d92d20;
  --shadow: 0 24px 70px rgba(3, 34, 19, 0.16);
  --shadow-soft: 0 12px 34px rgba(2, 42, 22, 0.1);
  --radius: 8px;
  --radius-lg: 18px;
  --max: 1240px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: transform 180ms ease;
}

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

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

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 9px 0;
  background: color-mix(in srgb, var(--cream) 88%, #ffffff 12%);
  border-bottom: 1px solid rgba(231, 223, 212, 0.68);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 28px rgba(8, 32, 21, 0.08);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 54px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

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

.brand img {
  width: 122px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.site-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.site-menu.legal-menu {
  justify-content: flex-end;
}

.site-menu a,
.nav-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.site-menu a {
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  background: var(--green-soft);
  color: var(--green-dark);
}

.site-menu a[aria-current="page"] {
  background: var(--green-soft);
  color: var(--green-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-control-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 36% 24%, rgba(255, 255, 255, 0.96), rgba(255, 246, 214, 0.84) 48%, rgba(255, 193, 45, 0.12));
  color: #b97900;
  box-shadow: 0 8px 18px rgba(255, 193, 45, 0.12);
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px) scale(1.03);
  color: var(--green-dark);
  box-shadow: 0 10px 22px rgba(0, 168, 80, 0.12);
}

.theme-toggle[aria-pressed="true"] {
  background:
    radial-gradient(circle at 36% 22%, rgba(255, 193, 45, 0.42), rgba(9, 35, 24, 0.94) 48%, #06170f);
  color: var(--gold);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.theme-toggle__icon {
  width: 19px;
  height: 19px;
  transition: transform 220ms ease;
}

.theme-toggle:hover .theme-toggle__icon {
  transform: rotate(18deg) scale(1.04);
}

.nav-control {
  position: relative;
}

.nav-control-trigger {
  min-width: 58px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 9px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(232, 255, 242, 0.52));
  color: var(--green-dark);
  box-shadow: 0 8px 18px rgba(0, 168, 80, 0.08);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-control-trigger:hover,
.nav-control-trigger:focus-visible,
.nav-control.is-open .nav-control-trigger {
  transform: translateY(-1px);
  background:
    linear-gradient(145deg, #ffffff, rgba(255, 246, 217, 0.82));
  box-shadow: 0 12px 24px rgba(0, 168, 80, 0.12);
}

.nav-control-trigger .mask-icon {
  width: 16px;
  height: 16px;
}

.language-flag {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 5px 12px rgba(8, 32, 21, 0.08);
}

.nav-control-trigger .icon-chevron {
  width: 11px;
  height: 11px;
  opacity: 0.72;
  transition: transform 180ms ease;
}

.nav-control.is-open .icon-chevron {
  transform: rotate(180deg);
}

.nav-control-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 170;
  width: min(278px, calc(100vw - 32px));
  max-height: min(70vh, 430px);
  overflow: auto;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(0, 168, 80, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 247, 0.96));
  box-shadow: 0 24px 60px rgba(3, 34, 19, 0.18);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-control.is-open .nav-control-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.nav-control-menu button {
  min-height: 54px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, color 160ms ease;
}

.nav-control-menu button:hover,
.nav-control-menu button:focus-visible {
  background: rgba(0, 168, 80, 0.09);
  color: var(--green-dark);
  transform: translateX(2px);
}

.nav-control-menu strong,
.nav-control-menu small {
  display: block;
  line-height: 1.2;
}

.nav-control-menu small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.flag-chip,
.currency-chip {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.95), rgba(0, 168, 80, 0.15)),
    #e8fff2;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 6px 14px rgba(0, 168, 80, 0.08);
}

.flag-chip {
  object-fit: cover;
  overflow: hidden;
}

.currency-chip {
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.96), rgba(255, 193, 45, 0.28)),
    #fff6d9;
  color: #8a5d00;
}

.nav-control-note {
  margin: 2px 6px 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.btn:focus-visible,
.site-menu a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(0, 168, 80, 0.25);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 168, 80, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-dark);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.68);
  border-color: transparent;
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(0, 168, 80, 0.35);
  color: var(--green-dark);
}

.btn-soft {
  background: var(--green-soft);
  border-color: rgba(0, 168, 80, 0.14);
  color: var(--green-dark);
}

.btn-soft:hover,
.btn-soft:focus-visible {
  background: #d9ffeb;
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-ghost-light:hover,
.btn-ghost-light:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.btn-large {
  min-height: 48px;
  padding: 12px 20px;
  font-size: 15px;
}

.mask-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.icon-arrow { --icon: url("../icons/arrow-out-up-right-square.svg"); }
.icon-send { --icon: url("../icons/paper-plane.svg"); }
.icon-chat { --icon: url("../icons/discussion.svg"); }
.icon-widget { --icon: url("../icons/widget.svg"); }
.icon-network { --icon: url("../icons/chart-network.svg"); }
.icon-bell { --icon: url("../icons/bell-check.svg"); }
.icon-team { --icon: url("../icons/community.svg"); }
.icon-ticket { --icon: url("../icons/ticket.svg"); }
.icon-check { --icon: url("../icons/check.svg"); }
.icon-code { --icon: url("../icons/code.svg"); }
.icon-sparkles { --icon: url("../icons/sparkles.svg"); }
.icon-crown { --icon: url("../icons/crown.svg"); }
.icon-phone { --icon: url("../icons/phone.svg"); }
.icon-lock { --icon: url("../icons/lock.svg"); }
.icon-badge { --icon: url("../icons/badge-check.svg"); }
.icon-copy { --icon: url("../icons/copy-check.svg"); }
.icon-sun { --icon: url("../icons/sun.svg"); }
.icon-moon { --icon: url("../icons/moon.svg"); }
.icon-cog { --icon: url("../icons/cog.svg"); }
.icon-chevron { --icon: url("../icons/chevron-down.svg"); }
.icon-flag { --icon: url("../icons/flag.svg"); }
.icon-dollar { --icon: url("../icons/dollar.svg"); }
.icon-gift { --icon: url("../icons/gift.svg"); }
.icon-discount { --icon: url("../icons/discount.svg"); }
.icon-card { --icon: url("../icons/credit-card.svg"); }
.icon-cursor { --icon: url("../icons/cursor-click.svg"); }
.icon-headset { --icon: url("../icons/headphone-mic.svg"); }

.hero {
  min-height: 84vh;
  display: flex;
  align-items: center;
  padding: 58px 0 34px;
  background:
    linear-gradient(135deg, rgba(0, 168, 80, 0.08), rgba(255, 193, 45, 0.08) 46%, rgba(255, 255, 255, 0) 76%),
    #f7fcf9;
}

.premium-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 168, 80, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 168, 80, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #f4fff8 0%, #fff9e7 44%, #ffffff 100%);
  background-size: 42px 42px, 42px 42px, auto;
}

.premium-hero::after {
  content: "WhaChat";
  position: absolute;
  right: max(16px, calc((100vw - var(--max)) / 2));
  bottom: -34px;
  z-index: -1;
  color: rgba(0, 168, 80, 0.045);
  font-size: clamp(72px, 17vw, 220px);
  font-weight: 950;
  line-height: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid rgba(0, 168, 80, 0.12);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 900;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(255, 193, 45, 0.2);
}

.hero h1,
.section-heading h2,
.split-copy h2,
.dashboard-copy h2,
.contact-card h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 950;
  line-height: 1.06;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 6.4vw, 72px);
  line-height: 0.98;
}

.hero-lede {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--ink-2);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 14px;
}

.hero-proof strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.product-stage {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(0, 83, 45, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
}

.dashboard-preview {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(6, 59, 34, 0.16);
  background: #102f21;
}

.preview-topbar {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: #062719;
  color: rgba(255, 255, 255, 0.8);
}

.preview-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.preview-topbar span:nth-child(1) { background: #ff6b6b; }
.preview-topbar span:nth-child(2) { background: var(--gold); }
.preview-topbar span:nth-child(3) { background: var(--green); }
.preview-topbar strong {
  margin-left: auto;
  font-size: 13px;
}

.preview-layout {
  display: grid;
  grid-template-columns: 112px 1fr;
  min-height: 480px;
}

.preview-sidebar {
  padding: 22px 15px;
  background: #082b1b;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preview-sidebar span {
  height: 42px;
  padding: 0 10px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.1);
}

.preview-sidebar .active {
  background: var(--green);
  color: #fff;
}

.preview-main {
  min-width: 0;
  padding: 20px;
  background: #f6fbf7;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.metric-row article {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.metric-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric-row strong {
  display: block;
  margin-top: 4px;
  font-size: 26px;
}

.inbox-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.82fr) minmax(0, 1.18fr);
  gap: 14px;
  min-height: 352px;
}

.chat-list,
.conversation-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.chat-list {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.chat-pill {
  width: 100%;
  min-height: 70px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  text-align: left;
  background: var(--surface-2);
  color: var(--ink);
}

.chat-pill.active {
  background: var(--green-soft);
  border-color: rgba(0, 168, 80, 0.22);
}

.avatar-flag {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dceafe;
  color: #174ea6;
  font-size: 12px;
  font-weight: 950;
}

.avatar-flag.ng {
  background: #dff8e8;
  color: #007f3e;
}

.avatar-flag.uk {
  background: #ffe9ea;
  color: #b42318;
}

.chat-pill strong,
.chat-pill small {
  display: block;
}

.chat-pill strong {
  font-size: 14px;
  line-height: 1.2;
}

.chat-pill small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.conversation-card {
  min-width: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.conversation-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.conversation-head small,
.widget-head small {
  display: block;
  color: var(--muted);
}

.status-ring {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--green), var(--gold), var(--green));
  box-shadow: 0 0 0 4px rgba(0, 168, 80, 0.08);
}

.status-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  background: #fff;
}

.status-ring.small {
  width: 44px;
  height: 44px;
}

.bubble {
  max-width: 82%;
  padding: 11px 13px;
  border-radius: 14px;
  font-size: 14px;
}

.bubble.incoming {
  align-self: flex-start;
  background: #f0f4f2;
}

.bubble.outgoing {
  align-self: flex-end;
  background: var(--green);
  color: #fff;
}

.composer-preview {
  min-height: 48px;
  margin-top: auto;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.composer-preview .mask-icon {
  color: var(--green);
}

.widget-preview {
  position: absolute;
  right: -12px;
  bottom: -22px;
  width: 270px;
  border: 1px solid rgba(0, 168, 80, 0.18);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(5, 38, 22, 0.2);
  overflow: hidden;
}

.widget-head {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #f4fbf7;
}

.widget-head .verified {
  width: 22px;
  height: 22px;
  margin-left: auto;
}

.widget-body {
  padding: 14px;
}

.widget-body p {
  margin: 0 0 12px;
  color: var(--ink-2);
  font-size: 14px;
}

.widget-body button {
  width: 100%;
  min-height: 40px;
  margin-top: 8px;
  border: 1px solid rgba(0, 168, 80, 0.16);
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
}

.trust-strip {
  margin-top: 26px;
  margin-bottom: 40px;
  min-height: 96px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--green-dark);
  font-weight: 900;
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 110ms; }
.delay-2 { transition-delay: 220ms; }

.feature-section,
.install-section,
.dashboard-section,
.faq-section,
.product-tour-section,
.automation-section,
.page-links-section {
  padding: 70px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.compact {
  max-width: 820px;
}

.section-heading .eyebrow,
.dashboard-copy .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.split-copy h2,
.dashboard-copy h2,
.contact-card h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.08;
}

.section-heading p:not(.eyebrow),
.split-copy p,
.dashboard-copy p,
.contact-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.58;
}

.product-tour-section {
  background: #fff;
}

.tour-shell {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f5fbf7);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tour-tabs {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: thin;
}

.tour-tabs button {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.tour-tabs button:hover,
.tour-tabs button:focus-visible {
  color: var(--green-dark);
  border-color: rgba(0, 168, 80, 0.24);
  transform: translateY(-1px);
}

.tour-tabs button.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.tour-viewport {
  position: relative;
  min-height: 470px;
}

.tour-slide {
  display: none;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
}

.tour-slide.active {
  display: grid;
  animation: slideIn 320ms ease both;
}

.tour-slide h3 {
  margin: 14px 0 10px;
  font-size: 34px;
  line-height: 1.08;
}

.tour-slide p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.app-screen {
  min-height: 350px;
  border: 1px solid rgba(0, 168, 80, 0.18);
  border-radius: 18px;
  overflow: hidden;
  background: #f7fbf8;
  box-shadow: 0 18px 46px rgba(8, 32, 21, 0.12);
}

.app-screen-bar {
  min-height: 58px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #072719;
  color: #fff;
}

.app-screen-bar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 18px 0 0 var(--green), 36px 0 0 rgba(255, 255, 255, 0.24);
}

.app-screen-bar strong {
  margin-left: 44px;
}

.app-screen-bar small {
  margin-left: auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.app-screen-grid,
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.screen-card,
.settings-grid label {
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.screen-card.wide {
  grid-column: span 2;
}

.screen-card small,
.settings-grid label {
  color: var(--muted);
  font-weight: 850;
}

.screen-card strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  line-height: 1;
}

.screen-card span,
.settings-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
}

.screen-card.strong {
  background: var(--green);
  color: #fff;
}

.screen-card.strong small,
.screen-card.strong span {
  color: rgba(255, 255, 255, 0.78);
}

.chat-demo-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 18px;
}

.mini-inbox,
.mini-chat {
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.mini-inbox {
  padding: 10px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.mini-inbox span {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.mini-inbox .active {
  background: var(--green-soft);
  color: var(--green-dark);
}

.mini-chat {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.settings-grid {
  padding: 22px;
}

.settings-grid label {
  min-height: 88px;
}

.color-chip {
  width: 34px;
  height: 34px;
  margin-top: 10px;
  border-radius: 999px;
  display: block;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.78), 0 8px 22px rgba(8, 32, 21, 0.14);
}

.color-chip.green { background: var(--green); }
.color-chip.gold { background: var(--gold); }

.status-card-ui {
  margin: 18px;
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: #fff;
}

.status-card-ui img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.status-card-ui strong,
.status-card-ui span {
  display: block;
}

.status-card-ui strong {
  font-size: 22px;
}

.status-card-ui span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.compact-code {
  margin: 18px;
}

.compact-code pre {
  white-space: pre-wrap;
}

.install-status-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 18px 18px;
}

.install-status-row span {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--green-dark);
  font-weight: 900;
}

.section-center-link {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.split-action {
  margin-top: 26px;
}

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

.feature-card,
.install-step,
.price-card,
.ops-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 36px rgba(8, 32, 21, 0.06);
}

.feature-card {
  min-height: 260px;
  padding: 22px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 168, 80, 0.28);
  box-shadow: 0 22px 50px rgba(8, 32, 21, 0.1);
}

.feature-icon {
  width: 42px;
  height: 42px;
  color: var(--green);
}

.feature-card h3,
.install-step h3,
.price-card h3,
.ops-grid h3 {
  margin: 16px 0 8px;
  font-size: 19px;
  line-height: 1.2;
}

.feature-card p,
.install-step p,
.price-card p,
.ops-grid p,
.faq-list p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  padding: 72px 0;
  background: #062719;
  color: #fff;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 44px;
  align-items: center;
}

.split-section .split-copy h2,
.split-section .split-copy p {
  color: #fff;
}

.split-section .split-copy p {
  color: rgba(255, 255, 255, 0.72);
}

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

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-2);
}

.split-section .check-list li {
  color: rgba(255, 255, 255, 0.84);
}

.check-list .mask-icon {
  margin-top: 3px;
  color: var(--gold);
}

.status-showcase {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.story-phone {
  width: min(360px, 100%);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: linear-gradient(180deg, #fff, #f6fbf7);
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.story-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.story-top small {
  display: block;
  color: var(--muted);
}

.story-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface-2);
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.story-phone p {
  margin: 14px 0;
  color: var(--ink-2);
}

.story-actions {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.story-actions .mask-icon {
  color: var(--green);
}

.floating-note {
  position: absolute;
  right: 20px;
  bottom: 64px;
  max-width: 230px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  backdrop-filter: blur(10px);
}

.floating-note img {
  width: 42px;
  height: 42px;
}

.install-section {
  background: #fff;
}

.automation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: start;
}

.automation-copy {
  position: sticky;
  top: 112px;
}

.automation-copy h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.08;
}

.automation-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

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

.automation-card {
  min-height: 360px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.automation-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 10px;
}

.automation-card h3 {
  margin: 14px 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.automation-card p {
  margin: 0;
  color: var(--muted);
}

.conversion-section {
  padding: 76px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.12fr 0.82fr;
  gap: 16px;
  align-items: stretch;
}

.conversion-copy,
.conversion-stage-grid article,
.conversion-live-card,
.audience-card,
.industry-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.conversion-copy {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.conversion-copy h2,
.industry-copy h2,
.trust-stack-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
}

.conversion-copy p:not(.eyebrow),
.industry-copy p,
.trust-stack-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.conversion-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.conversion-stage-grid article {
  min-height: 205px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.conversion-stage-grid .mask-icon,
.audience-card .mask-icon,
.trust-stack-list .mask-icon {
  width: 36px;
  height: 36px;
  color: var(--green);
}

.conversion-stage-grid strong,
.audience-card h3,
.industry-card h3,
.trust-stack-list strong {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.conversion-stage-grid p,
.audience-card p,
.industry-card p,
.trust-stack-list p {
  margin: 0;
  color: var(--muted);
}

.conversion-live-card {
  padding: 18px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 193, 45, 0.22), transparent 34%),
    #ffffff;
}

.conversion-live-card img {
  width: 100%;
  min-height: 210px;
  object-fit: contain;
}

.conversion-live-metrics {
  display: grid;
  gap: 8px;
}

.conversion-live-metrics span {
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 168, 80, 0.16);
  border-radius: var(--radius);
  display: grid;
  align-content: center;
  background: rgba(232, 255, 242, 0.78);
}

.conversion-live-metrics strong,
.conversion-live-metrics small {
  display: block;
}

.conversion-live-metrics strong {
  font-size: 24px;
  line-height: 1;
}

.conversion-live-metrics small {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 750;
}

.audience-section {
  padding: 78px 0;
  background:
    linear-gradient(135deg, rgba(0, 168, 80, 0.08), rgba(255, 193, 45, 0.12)),
    var(--surface-2);
}

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

.audience-card {
  min-height: 260px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.audience-card h3 {
  margin-top: auto;
}

.industry-section {
  padding: 76px 0;
  display: grid;
  grid-template-columns: 0.88fr 1.5fr;
  gap: 18px;
  align-items: stretch;
}

.industry-copy {
  padding: 28px 0;
}

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

.industry-card {
  min-height: 360px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.industry-card img {
  width: 100%;
  aspect-ratio: 1.16 / 1;
  object-fit: contain;
  padding: 18px 18px 6px;
  background:
    radial-gradient(circle at 50% 35%, rgba(0, 168, 80, 0.12), transparent 52%),
    linear-gradient(180deg, rgba(255, 246, 217, 0.62), rgba(255, 255, 255, 0));
}

.industry-card div {
  padding: 18px;
}

.industry-card h3 {
  margin-top: 0;
}

.trust-stack-section {
  padding: 80px 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 193, 45, 0.18), transparent 30%),
    radial-gradient(circle at 82% 24%, rgba(0, 168, 80, 0.18), transparent 32%),
    var(--ink);
  color: #fff;
}

.trust-stack-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
  align-items: center;
}

.trust-stack-copy h2,
.trust-stack-copy .eyebrow {
  color: #fff;
}

.trust-stack-copy p {
  color: rgba(255, 255, 255, 0.78);
}

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

.trust-stack-list article {
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.trust-stack-list strong {
  color: #fff;
}

.trust-stack-list p {
  color: rgba(255, 255, 255, 0.72);
}

.trust-stack-list .mask-icon {
  color: var(--gold);
}

@media (max-width: 1100px) {
  .conversion-section,
  .industry-section,
  .trust-stack-grid {
    grid-template-columns: 1fr;
  }

  .conversion-stage-grid,
  .audience-grid,
  .industry-grid,
  .trust-stack-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conversion-live-card {
    grid-template-columns: minmax(180px, 0.6fr) 1fr;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .conversion-section,
  .industry-section {
    padding: 56px 0;
  }

  .audience-section,
  .trust-stack-section {
    padding: 60px 0;
  }

  .conversion-copy,
  .conversion-stage-grid article,
  .conversion-live-card,
  .audience-card,
  .industry-card,
  .trust-stack-list article {
    padding: 16px;
  }

  .conversion-stage-grid,
  .audience-grid,
  .industry-grid,
  .trust-stack-list,
  .conversion-live-card {
    grid-template-columns: 1fr;
  }

  .conversion-stage-grid article,
  .audience-card,
  .industry-card,
  .trust-stack-list article {
    min-height: auto;
  }

  .conversion-actions .btn {
    width: 100%;
  }

  .industry-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    align-items: center;
  }

  .industry-card img {
    height: 100%;
    min-height: 150px;
    aspect-ratio: auto;
    padding: 8px;
  }

  .industry-card div {
    padding: 14px 14px 14px 0;
  }
}

:root[data-theme="dark"] .conversion-copy,
:root[data-theme="dark"] .conversion-stage-grid article,
:root[data-theme="dark"] .conversion-live-card,
:root[data-theme="dark"] .audience-card,
:root[data-theme="dark"] .industry-card {
  background: var(--surface);
  border-color: var(--line);
}

:root[data-theme="dark"] .audience-section,
:root[data-theme="dark"] .conversion-live-metrics span {
  background: var(--surface-2);
}

:root[data-theme="dark"] .industry-card img {
  background:
    radial-gradient(circle at 50% 35%, rgba(34, 201, 109, 0.14), transparent 52%),
    linear-gradient(180deg, rgba(255, 209, 90, 0.12), rgba(6, 23, 15, 0));
}

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

.install-step {
  min-height: 210px;
  padding: 22px;
}

.install-step span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #8a5a00;
  font-weight: 950;
}

.code-panel {
  margin-top: 18px;
  border: 1px solid #163c2a;
  border-radius: var(--radius);
  overflow: hidden;
  background: #061d13;
  color: #fff;
}

.code-panel > div {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-panel .mask-icon {
  color: var(--gold);
}

.code-panel pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  color: #d8ffe9;
}

.code-panel code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
}

.dashboard-section {
  background: var(--surface-2);
}

.page-links-section {
  background: #fff;
}

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

.page-link-card {
  min-height: 160px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.page-link-card:hover,
.page-link-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(0, 168, 80, 0.26);
  box-shadow: 0 22px 48px rgba(8, 32, 21, 0.12);
}

.page-link-card .mask-icon {
  width: 34px;
  height: 34px;
  color: var(--green);
}

.page-link-card strong,
.page-link-card small {
  display: block;
}

.page-link-card strong {
  margin-top: auto;
  font-size: 19px;
}

.page-link-card small {
  margin-top: 5px;
  color: var(--muted);
}

.launch-offer-section {
  padding: 70px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 193, 45, 0.24), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(0, 168, 80, 0.18), transparent 34%),
    linear-gradient(145deg, #f8fff9, #ffffff 46%, #f3fbf6);
}

.launch-offer-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: stretch;
}

.launch-offer-hero,
.launch-offer-card {
  border: 1px solid rgba(0, 168, 80, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 247, 0.92));
  box-shadow: 0 24px 70px rgba(3, 34, 19, 0.13);
  transform-style: preserve-3d;
}

.launch-offer-hero {
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.launch-offer-hero h2 {
  margin: 10px 0 14px;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.06;
  letter-spacing: 0;
}

.launch-offer-hero p {
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.56;
}

.launch-price-pill {
  width: fit-content;
  min-height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  background: #071f14;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 16px 36px rgba(7, 31, 20, 0.18);
}

.launch-price-pill .mask-icon {
  color: var(--gold);
}

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

.launch-offer-card {
  min-height: 220px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.launch-offer-card:hover,
.launch-offer-card:focus-within {
  transform: translateY(-5px) rotateX(1.2deg) rotateY(-1.2deg);
  border-color: rgba(255, 193, 45, 0.45);
  box-shadow: 0 30px 80px rgba(3, 34, 19, 0.18);
}

.launch-offer-card .mask-icon {
  width: 32px;
  height: 32px;
  color: var(--green);
}

.launch-offer-card h3 {
  margin: 0;
  font-size: 18px;
}

.launch-offer-card p {
  margin: 0;
  color: var(--muted);
}

.launch-offer-card img {
  width: 100%;
  max-height: 92px;
  object-fit: contain;
  margin-top: auto;
  filter: drop-shadow(0 16px 24px rgba(3, 34, 19, 0.12));
}

.install-download-badges {
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 38px rgba(3, 34, 19, 0.1);
}

.install-download-badges span {
  padding: 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.install-download-badges a {
  height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 11px;
  overflow: hidden;
  transition: transform 180ms ease, filter 180ms ease;
}

.install-download-badges a:hover,
.install-download-badges a:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.install-download-badges img {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.guide-demo-section {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background:
    radial-gradient(circle at 16% 20%, rgba(0, 168, 80, 0.16), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(255, 193, 45, 0.18), transparent 32%),
    linear-gradient(145deg, #fcf5eb 0%, #ffffff 48%, #edfcef 100%);
}

.guide-demo-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
}

.guide-demo-copy h2 {
  max-width: 720px;
  margin: 12px 0 16px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

.guide-demo-copy p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
}

.guide-step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.guide-step-list span {
  min-height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(3, 34, 19, 0.08);
}

.guide-step-list .mask-icon {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.guide-phone-stage {
  justify-self: center;
  width: min(520px, 100%);
}

.guide-phone-frame {
  position: relative;
  isolation: isolate;
  filter: drop-shadow(0 34px 54px rgba(3, 34, 19, 0.22));
}

.guide-phone-frame:hover *,
.guide-phone-frame:focus-within *,
.guide-phone-stage:hover *,
.guide-phone-stage:focus-within * {
  animation-play-state: paused !important;
}

.guide-phone-mockup {
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.guide-phone-screen {
  position: absolute;
  left: 31.4%;
  top: 15.4%;
  width: 37.2%;
  height: 73.1%;
  overflow: hidden;
  border-radius: clamp(18px, 3vw, 42px);
  background:
    radial-gradient(circle at 24% 16%, rgba(0, 168, 80, 0.22), transparent 36%),
    linear-gradient(180deg, #071d13, #07130e 58%, #030806);
  color: #fff;
}

.guide-splash,
.guide-scene {
  position: absolute;
  inset: 0;
  padding: clamp(12px, 2vw, 18px);
}

.guide-splash {
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 168, 80, 0.28), transparent 36%),
    #07130e;
  animation: guideSplash 40s ease-in-out infinite;
}

.guide-splash > img:not(.guide-loader) {
  width: 64%;
  max-width: 132px;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
  filter: drop-shadow(0 10px 18px rgba(0, 168, 80, 0.18));
}

.guide-splash span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 750;
}

.guide-loader {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-top: 12px;
  opacity: 0.94;
  filter: drop-shadow(0 8px 14px rgba(0, 168, 80, 0.28));
}

.guide-scene {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}

.guide-scene-widget {
  animation: guideScene 40s ease-in-out infinite;
  animation-delay: 4.4s;
}

.guide-scene-chat {
  animation: guideScene 40s ease-in-out infinite;
  animation-delay: 13s;
}

.guide-scene-status {
  animation: guideScene 40s ease-in-out infinite;
  animation-delay: 21.4s;
}

.guide-scene-dashboard {
  animation: guideScene 40s ease-in-out infinite;
  animation-delay: 29.6s;
}

.guide-mini-site {
  min-height: 64%;
  border-radius: 18px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 245, 235, 0.94));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.64);
}

.guide-mini-site span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #e6efe9;
  margin-bottom: 8px;
}

.guide-mini-site span:nth-child(1) {
  width: 68%;
}

.guide-mini-site span:nth-child(2) {
  width: 90%;
}

.guide-mini-site span:nth-child(3) {
  width: 54%;
}

.guide-mini-site strong {
  display: block;
  margin-top: 16px;
  font-size: 12px;
}

.guide-mini-site small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.guide-widget-launcher {
  position: absolute;
  right: 16px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--green);
  box-shadow: 0 14px 24px rgba(0, 168, 80, 0.34);
  animation: guidePulse 1.8s ease-in-out infinite;
}

.guide-widget-launcher img,
.guide-widget-card img,
.guide-chat-head img,
.guide-status-ring img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
}

.guide-widget-card {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 74px;
  border-radius: 22px;
  padding: 11px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fff9 100%);
  color: var(--ink);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  animation: guideCardUp 40s ease-in-out infinite;
}

.guide-widget-card-head,
.guide-chat-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.guide-agent-avatar {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
}

.guide-verified {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #fff;
  object-fit: contain;
  padding: 1px;
  box-shadow: 0 2px 5px rgba(3, 34, 19, 0.18);
}

.guide-widget-card strong,
.guide-chat-head strong {
  display: block;
  font-size: 11.5px;
  line-height: 1.08;
  letter-spacing: 0;
}

.guide-widget-card small,
.guide-chat-head small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.22;
  margin-top: 2px;
}

.guide-widget-card small::before,
.guide-chat-head small::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 193, 45, 0.18);
}

.guide-widget-card p {
  margin: 8px 0 7px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.3;
  font-weight: 750;
}

.guide-prechat-option {
  width: 100%;
  min-height: 31px;
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  background: #effff6;
  color: var(--green-dark);
  font-size: 9.5px;
  font-weight: 900;
  text-align: left;
  padding: 0 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 168, 80, 0.08);
}

.guide-prechat-option.active {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 168, 80, 0.24);
}

.guide-tap-finger {
  position: absolute;
  right: 18px;
  bottom: 42px;
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(3, 34, 19, 0.2));
  transform-origin: 50% 10%;
  animation: guideTap 40s ease-in-out infinite;
}

.guide-chat-head {
  border-radius: 18px;
  padding: 9px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(0, 168, 80, 0.1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.guide-chat-head small {
  color: rgba(255, 255, 255, 0.62);
}

.guide-bubble {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 88%;
  margin: 7px 0 0;
  border-radius: 18px 18px 18px 5px;
  padding: 7px 9px;
  background: #fff;
  color: var(--ink);
  font-size: clamp(8.8px, 0.9vw, 10.5px);
  font-weight: 720;
  line-height: 1.24;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  animation: guideBubble1 40s ease-in-out infinite;
}

.guide-bubble img {
  width: 17px;
  height: 17px;
  border-radius: 999px;
  flex: 0 0 auto;
  object-fit: cover;
}

.guide-bubble.out {
  margin-left: auto;
  border-radius: 18px 18px 5px 18px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 18px rgba(0, 168, 80, 0.18);
}

.guide-scene-chat .guide-bubble:nth-of-type(1) { animation-name: guideBubble1; }
.guide-scene-chat .guide-bubble:nth-of-type(2) { animation-name: guideBubble2; }
.guide-scene-chat .guide-bubble:nth-of-type(3) { animation-name: guideBubble3; }
.guide-scene-chat .guide-bubble:nth-of-type(4) { animation-name: guideBubble4; }
.guide-scene-chat .guide-bubble:nth-of-type(5) { animation-name: guideBubble5; }
.guide-scene-chat .guide-bubble:nth-of-type(6) { animation-name: guideBubble6; }

.guide-bubble.small {
  font-size: 10px;
}

.guide-composer {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  min-height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 7px 0 13px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 800;
}

.guide-composer i {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--green);
}

.guide-status-ring {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 22px auto 14px;
  background:
    conic-gradient(var(--gold), var(--green), var(--gold));
  animation: guideSpin 3.8s linear infinite;
}

.guide-status-ring img {
  width: 66px;
  height: 66px;
  border: 4px solid #07130e;
}

.guide-scene-status {
  text-align: center;
}

.guide-scene-status strong {
  display: block;
  font-size: 18px;
}

.guide-scene-status p {
  margin: 8px 0 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.guide-story-card {
  border-radius: 18px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(255, 193, 45, 0.9), rgba(0, 168, 80, 0.9));
  color: #07130e;
  text-align: left;
}

.guide-story-card span,
.guide-story-card small {
  display: block;
}

.guide-story-card span {
  font-size: 13px;
  font-weight: 950;
}

.guide-story-card small {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 850;
}

.guide-dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.guide-dashboard-top strong {
  font-size: 14px;
}

.guide-dashboard-top small {
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(0, 168, 80, 0.18);
  color: #7cffb8;
  font-size: 9px;
  font-weight: 900;
}

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

.guide-dashboard-grid span,
.guide-code-card {
  border-radius: 16px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.1);
}

.guide-dashboard-grid strong,
.guide-dashboard-grid small {
  display: block;
}

.guide-dashboard-grid strong {
  font-size: 17px;
}

.guide-dashboard-grid small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 800;
}

.guide-code-card {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.guide-code-card span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.guide-code-card button {
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #07130e;
  font-size: 10px;
  font-weight: 950;
}

.guide-progress {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: -26px;
  position: relative;
  z-index: 2;
}

.guide-progress span {
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 168, 80, 0.16);
  overflow: hidden;
}

.guide-progress span::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  animation: guideProgress 40s linear infinite;
}

.guide-progress span:nth-child(2)::after { animation-delay: 10s; }
.guide-progress span:nth-child(3)::after { animation-delay: 20s; }
.guide-progress span:nth-child(4)::after { animation-delay: 30s; }

@keyframes guideSplash {
  0%, 12% {
    opacity: 1;
    transform: scale(1);
  }
  18%, 97% {
    opacity: 0;
    transform: scale(1.04);
    pointer-events: none;
  }
  99%, 100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes guideScene {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  8%, 26% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  34%, 100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
  }
}

@keyframes guidePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 14px 24px rgba(0, 168, 80, 0.34);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 18px 34px rgba(0, 168, 80, 0.46);
  }
}

@keyframes guideCardUp {
  0%, 18% {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  21%, 31% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  37%, 100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

@keyframes guideTap {
  0%, 21% {
    opacity: 0;
    transform: translate(10px, 10px) scale(0.96);
  }
  23%, 29% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(0, 6px) scale(0.86);
  }
  33%, 100% {
    opacity: 0;
    transform: translate(-8px, -8px) scale(0.98);
  }
}

@keyframes guideBubble1 {
  0%, 39% { opacity: 0; transform: translateY(8px); }
  41%, 56% { opacity: 1; transform: translateY(0); }
  61%, 100% { opacity: 0; transform: translateY(-4px); }
}

@keyframes guideBubble2 {
  0%, 42% { opacity: 0; transform: translateY(8px); }
  44%, 56% { opacity: 1; transform: translateY(0); }
  61%, 100% { opacity: 0; transform: translateY(-4px); }
}

@keyframes guideBubble3 {
  0%, 45% { opacity: 0; transform: translateY(8px); }
  47%, 56% { opacity: 1; transform: translateY(0); }
  61%, 100% { opacity: 0; transform: translateY(-4px); }
}

@keyframes guideBubble4 {
  0%, 48% { opacity: 0; transform: translateY(8px); }
  50%, 56% { opacity: 1; transform: translateY(0); }
  61%, 100% { opacity: 0; transform: translateY(-4px); }
}

@keyframes guideBubble5 {
  0%, 51% { opacity: 0; transform: translateY(8px); }
  53%, 57% { opacity: 1; transform: translateY(0); }
  62%, 100% { opacity: 0; transform: translateY(-4px); }
}

@keyframes guideBubble6 {
  0%, 54% { opacity: 0; transform: translateY(8px); }
  56%, 58% { opacity: 1; transform: translateY(0); }
  63%, 100% { opacity: 0; transform: translateY(-4px); }
}

@keyframes guideSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes guideProgress {
  0% {
    transform: scaleX(0);
  }
  21% {
    transform: scaleX(1);
  }
  22%, 100% {
    transform: scaleX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .guide-splash,
  .guide-scene,
  .guide-widget-launcher,
  .guide-widget-card,
  .guide-bubble,
  .guide-status-ring,
  .guide-progress span::after {
    animation: none !important;
  }

  .guide-splash {
    display: none;
  }

  .guide-scene-chat {
    opacity: 1;
    transform: none;
  }
}

/* Worldwide live currency control */
.icon-search { --icon: url("../icons/search.svg"); }
.icon-refresh { --icon: url("../icons/refresh.svg"); }

.currency-trigger-symbol {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  border-radius: 7px;
  color: #075f31;
  background: rgba(255, 193, 45, 0.28);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.currency-control .currency-menu {
  width: min(380px, calc(100vw - 24px));
  max-height: min(76vh, 650px);
  padding: 0;
  overflow: hidden;
  gap: 0;
}

.currency-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(0, 168, 80, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(232, 255, 242, 0.72));
}

.currency-menu-header > span {
  min-width: 0;
}

.currency-menu-header strong,
.currency-menu-header small {
  display: block;
}

.currency-menu-header strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.currency-menu-header small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.currency-menu .currency-refresh-button {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 168, 80, 0.15);
  border-radius: 12px;
  justify-content: center;
  color: var(--green-dark);
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 168, 80, 0.08);
}

.currency-menu .currency-refresh-button:hover,
.currency-menu .currency-refresh-button:focus-visible {
  transform: translateY(-1px);
  color: #fff;
  background: var(--green);
}

.currency-menu .currency-refresh-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.currency-refresh-button .mask-icon {
  width: 18px;
  height: 18px;
}

.currency-refresh-button.is-loading .mask-icon {
  animation: currencyRefreshSpin 850ms linear infinite;
}

.currency-search-field {
  min-height: 46px;
  margin: 12px 12px 8px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(0, 168, 80, 0.18);
  border-radius: 13px;
  color: var(--green-dark);
  background: #fff;
  box-shadow: 0 8px 22px rgba(3, 34, 19, 0.06);
}

.currency-search-field:focus-within {
  border-color: rgba(0, 168, 80, 0.62);
  box-shadow: 0 0 0 3px rgba(0, 168, 80, 0.11);
}

.currency-search-field .mask-icon {
  width: 18px;
  height: 18px;
}

.currency-search-field input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
}

.currency-search-field input::placeholder {
  color: #718078;
  opacity: 1;
}

.currency-rate-status {
  margin: 0;
  padding: 0 14px 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
}

.currency-options-list {
  min-height: 76px;
  max-height: min(52vh, 410px);
  padding: 0 9px 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 168, 80, 0.34) transparent;
}

.currency-group-label {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0;
  padding: 9px 8px 6px;
  color: #137446;
  background: rgba(249, 253, 251, 0.96);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.currency-menu .currency-option {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px;
  border-radius: 13px;
}

.currency-menu .currency-option:hover,
.currency-menu .currency-option:focus-visible {
  transform: none;
}

.currency-menu .currency-option.is-selected {
  color: var(--green-dark);
  background: linear-gradient(145deg, rgba(232, 255, 242, 0.96), rgba(255, 246, 217, 0.72));
  box-shadow: inset 0 0 0 1px rgba(0, 168, 80, 0.16);
}

.currency-menu .currency-chip {
  width: 40px;
  height: 36px;
  padding: 0 4px;
  border-radius: 11px;
  font-size: 10px;
  line-height: 1;
  text-align: center;
}

.currency-option-copy {
  min-width: 0;
}

.currency-option-copy strong,
.currency-option-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.currency-option-copy strong {
  color: inherit;
  font-size: 13px;
  font-weight: 950;
}

.currency-option-copy small {
  max-width: 180px;
  font-size: 10px;
  font-weight: 750;
}

.currency-option-rate {
  color: var(--muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  white-space: nowrap;
}

.currency-option-check {
  width: 17px;
  height: 17px;
  color: var(--green);
}

.currency-empty {
  margin: 12px 4px;
  padding: 18px 12px;
  border: 1px dashed rgba(0, 168, 80, 0.24);
  border-radius: 13px;
  color: var(--muted);
  background: rgba(0, 168, 80, 0.04);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.currency-menu-footer {
  min-height: 42px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(0, 168, 80, 0.1);
  color: var(--muted);
  background: rgba(247, 252, 249, 0.96);
  font-size: 10px;
  font-weight: 850;
}

.currency-menu-footer a {
  color: var(--green-dark);
  text-decoration: none;
}

.currency-menu-footer a:hover,
.currency-menu-footer a:focus-visible {
  text-decoration: underline;
}

:root[data-theme="dark"] .currency-trigger-symbol {
  color: #063d23;
  background: var(--gold);
}

:root[data-theme="dark"] .currency-control .currency-menu {
  color: #f7fff9;
  border-color: rgba(255, 209, 90, 0.22);
  background: linear-gradient(145deg, #06170f, #0a2116 54%, #06170f);
}

:root[data-theme="dark"] .currency-menu-header,
:root[data-theme="dark"] .currency-menu-footer,
:root[data-theme="dark"] .currency-group-label {
  color: var(--ink);
  border-color: rgba(255, 209, 90, 0.18);
  background: #0a2116;
}

:root[data-theme="dark"] .currency-search-field,
:root[data-theme="dark"] .currency-menu .currency-refresh-button {
  color: var(--gold);
  border-color: rgba(255, 209, 90, 0.22);
  background: #0d2b1d;
}

:root[data-theme="dark"] .currency-search-field input,
:root[data-theme="dark"] .currency-menu-header strong,
:root[data-theme="dark"] .currency-menu-header small,
:root[data-theme="dark"] .currency-rate-status,
:root[data-theme="dark"] .currency-option-rate,
:root[data-theme="dark"] .currency-menu-footer,
:root[data-theme="dark"] .currency-menu-footer a {
  color: var(--ink);
}

:root[data-theme="dark"] .currency-search-field input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

:root[data-theme="dark"] .currency-menu .currency-option,
:root[data-theme="dark"] .currency-menu .currency-option-copy strong,
:root[data-theme="dark"] .currency-menu .currency-option-copy small {
  color: #f7fff9;
}

:root[data-theme="dark"] .currency-menu .currency-option.is-selected {
  color: #063d23;
  background: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(255, 209, 90, 0.74);
}

@keyframes currencyRefreshSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 760px) {
  .currency-control .currency-menu {
    position: fixed;
    top: calc(70px + env(safe-area-inset-top));
    right: auto;
    left: 50%;
    width: min(380px, calc(100vw - 20px));
    max-height: calc(100vh - 84px - env(safe-area-inset-top));
    max-height: calc(100dvh - 84px - env(safe-area-inset-top));
    transform: translate(-50%, -8px) scale(0.98);
    transform-origin: top center;
  }

  .currency-control.is-open .currency-menu {
    transform: translate(-50%, 0) scale(1);
  }

  .currency-options-list {
    max-height: calc(100vh - 300px - env(safe-area-inset-top));
    max-height: calc(100dvh - 300px - env(safe-area-inset-top));
  }

  .currency-option-copy small {
    max-width: 150px;
  }
}

@media (max-width: 390px) {
  .currency-menu .currency-option {
    grid-template-columns: 38px minmax(0, 1fr) auto 16px;
    gap: 8px;
  }

  .currency-option-copy small {
    max-width: 120px;
  }

  .currency-option-rate {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .currency-refresh-button.is-loading .mask-icon {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .guide-demo-shell {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .guide-demo-copy h2,
  .guide-demo-copy p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }

  .guide-step-list {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .launch-offer-section {
    padding: 48px 0;
  }

  .launch-offer-hero,
  .launch-offer-card {
    border-radius: 18px;
  }

  .launch-offer-hero {
    padding: 22px;
  }

  .launch-offer-hero p {
    font-size: 16px;
  }

  .guide-demo-section {
    padding: 54px 0;
  }

  .guide-demo-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .guide-phone-stage {
    width: min(430px, 100%);
  }

  .install-download-badges {
    width: 100%;
    justify-content: center;
  }

  .install-download-badges span {
    width: 100%;
    text-align: center;
  }
}

.dashboard-copy {
  max-width: 850px;
  margin: 0 auto 30px;
  text-align: center;
}

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

.ops-grid article {
  overflow: hidden;
}

.ops-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 18px;
  background: #fff;
}

.ops-grid h3,
.ops-grid p {
  padding: 0 20px;
}

.ops-grid p {
  padding-bottom: 22px;
}

.pricing-section {
  padding: 74px 0;
  background: #071f14;
}

.pricing-section .section-heading h2 {
  color: #fff;
}

.pricing-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.price-card {
  padding: 24px;
}

.price-card.featured {
  border-color: rgba(255, 193, 45, 0.48);
  box-shadow: 0 24px 70px rgba(255, 193, 45, 0.12);
}

.billing-cycle-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 18px 0 4px;
  padding: 5px;
  border: 1px solid rgba(0, 168, 80, 0.18);
  border-radius: 8px;
  background: rgba(0, 168, 80, 0.06);
}

.billing-cycle-switch button {
  min-height: 44px;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.billing-cycle-switch button:hover,
.billing-cycle-switch button:focus-visible {
  color: var(--green-dark);
  transform: translateY(-1px);
}

.billing-cycle-switch button.active {
  background: #fff;
  color: var(--green-dark);
  box-shadow: 0 8px 20px rgba(3, 34, 19, 0.1);
}

.billing-cycle-switch small {
  display: block;
  margin-top: 2px;
  color: #775000;
  font-size: 11px;
  line-height: 1.2;
}

[data-billing-price][hidden],
[data-billing-detail][hidden] {
  display: none !important;
}

.billing-cycle-detail,
.billing-cycle-copy {
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.billing-cycle-copy {
  min-height: 0;
}

.stripe-checkout-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.stripe-checkout-note .mask-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--green);
}

.payment-trust-section {
  padding: 42px 0;
  background: var(--surface-2);
}

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

.payment-trust-grid article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-content: start;
  gap: 4px 11px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.payment-trust-grid .mask-icon {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
}

.payment-trust-grid strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
}

.payment-trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.pricing-faq-section {
  padding: 72px 0;
}

.plan-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
}

.price {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 950;
  color: var(--ink);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: grid;
  gap: 10px;
}

.price-card li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.faq-section {
  background: #fff;
}

.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 32, 21, 0.05);
}

summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background: var(--green);
  -webkit-mask: url("../icons/chevron-down.svg") center / contain no-repeat;
  mask: url("../icons/chevron-down.svg") center / contain no-repeat;
  transition: transform 180ms ease;
}

details[open] summary::after {
  transform: rotate(180deg);
}

details p {
  padding: 0 18px 18px;
}

.contact-section {
  padding: 70px 0;
  background:
    linear-gradient(135deg, rgba(0, 168, 80, 0.14), rgba(255, 193, 45, 0.14)),
    #071f14;
}

.contact-card {
  min-height: 260px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.contact-card h2,
.contact-card p {
  color: #fff;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer {
  padding: 38px 0;
  background: #03150d;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  padding: 76px 0 46px;
  background:
    linear-gradient(90deg, rgba(0, 168, 80, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 168, 80, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #f5fff9 0%, #fff9e7 56%, #ffffff 100%);
  background-size: 42px 42px, 42px 42px, auto;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  gap: 38px;
  align-items: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.04;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.35vw, 19px);
}

.page-hero-visual {
  min-height: 320px;
  border: 1px solid rgba(0, 168, 80, 0.18);
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-hero-visual img {
  width: min(86%, 420px);
  max-height: 330px;
  object-fit: contain;
}

.content-band {
  padding: 72px 0;
}

.content-band.soft {
  background: var(--surface-2);
}

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

.detail-card {
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.detail-card .mask-icon {
  width: 38px;
  height: 38px;
  color: var(--green);
}

.detail-card h2,
.detail-card h3 {
  margin: 16px 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

.detail-card p,
.detail-card li {
  color: var(--muted);
}

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

.process-list {
  display: grid;
  gap: 14px;
  counter-reset: process;
}

.process-item {
  counter-increment: process;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.process-item::before {
  content: counter(process, decimal-leading-zero);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  color: #8a5a00;
  font-weight: 950;
}

.process-item h3 {
  margin: 0 0 4px;
}

.process-item p {
  margin: 0;
  color: var(--muted);
}

.comparison-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.comparison-table th {
  background: var(--surface-2);
  color: var(--ink);
}

.comparison-table td {
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: 18px;
  align-items: start;
}

.contact-info,
.contact-form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

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

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

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 850;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.legal-page {
  background: var(--surface-2);
}

.legal-shell {
  max-width: 900px;
  padding: 74px 0;
}

.legal-shell h1 {
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  line-height: 1.08;
}

.legal-date {
  margin: 12px 0 28px;
  color: var(--muted);
  font-weight: 700;
}

.legal-shell article {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.legal-shell h2 {
  margin: 30px 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.legal-shell h2:first-child {
  margin-top: 0;
}

.legal-shell p {
  margin: 0;
  color: var(--ink-2);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.footer-grid img {
  width: 118px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.footer-grid p {
  max-width: 420px;
  margin: 10px 0 0;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.footer-grid nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.footer-grid nav a:hover,
.footer-grid nav a:focus-visible {
  color: #fff;
}

.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 860px;
    font-size: 48px;
  }

  .product-stage {
    max-width: 820px;
  }

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

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

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

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

  .tour-slide,
  .page-hero-grid,
  .automation-section,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .automation-copy {
    position: static;
  }
}

@media (max-width: 880px) {
  .site-header {
    padding: 10px 0;
  }

  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 56px;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 116px;
    height: 42px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-menu {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 72px;
    z-index: 110;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-menu.legal-menu {
    position: static;
    display: flex;
    justify-content: flex-end;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-menu a {
    justify-content: flex-start;
    padding: 13px 14px;
  }

  .nav-actions {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-lede,
  .section-heading p:not(.eyebrow),
  .split-copy p,
  .dashboard-copy p,
  .contact-card p {
    font-size: 16px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .preview-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .preview-sidebar {
    min-height: 68px;
    flex-direction: row;
    padding: 13px;
    overflow-x: auto;
  }

  .preview-sidebar span {
    flex: 1 0 112px;
    height: 38px;
  }

  .inbox-card {
    grid-template-columns: 1fr;
  }

  .widget-preview {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .split-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .status-showcase {
    min-height: auto;
  }

  .tour-slide {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .tour-viewport {
    min-height: auto;
  }

  .app-screen {
    min-height: auto;
  }

  .page-hero {
    padding: 52px 0 34px;
  }

  .page-hero-visual {
    min-height: 260px;
  }

  .floating-note {
    position: static;
    margin: 16px auto 0;
  }

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

  .footer-cta {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .nav-shell {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: auto;
    padding-bottom: 24px;
  }

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

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .contact-actions .btn,
  .price-card .btn {
    width: 100%;
  }

  .product-stage {
    padding: 10px;
    border-radius: 16px;
  }

  .preview-main {
    padding: 12px;
  }

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

  .metric-row article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .bubble {
    max-width: 92%;
  }

  .feature-section,
  .install-section,
  .dashboard-section,
  .faq-section,
  .pricing-section,
  .split-section,
  .contact-section,
  .product-tour-section,
  .automation-section,
  .page-links-section,
  .content-band {
    padding: 52px 0;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading .eyebrow,
  .dashboard-copy .eyebrow {
    margin-left: 0;
  }

  .section-heading h2,
  .split-copy h2,
  .dashboard-copy h2,
  .contact-card h2 {
    font-size: 30px;
  }

  .feature-grid,
  .pricing-grid,
  .ops-grid,
  .install-grid,
  .automation-grid,
  .page-link-grid,
  .launch-offer-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .payment-trust-grid {
    grid-template-columns: 1fr;
  }

  .billing-cycle-switch {
    width: 100%;
  }

  .app-screen-grid,
  .settings-grid,
  .status-card-ui,
  .chat-demo-row,
  .install-status-row {
    grid-template-columns: 1fr;
  }

  .screen-card.wide {
    grid-column: auto;
  }

  .tour-slide h3,
  .automation-copy h2 {
    font-size: 28px;
  }

  .trust-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-card {
    padding: 24px;
  }

  .code-panel pre {
    padding: 14px;
  }

  .code-panel code {
    font-size: 13px;
  }

  .legal-shell {
    padding: 52px 0;
  }

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

  .legal-shell article {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

:root[data-theme="dark"] {
  --green: #22c96d;
  --green-dark: #8af2b0;
  --green-soft: rgba(34, 201, 109, 0.14);
  --gold: #ffd15a;
  --gold-soft: rgba(255, 209, 90, 0.14);
  --ink: #f4fff8;
  --ink-2: #d9efe3;
  --muted: #a9beb3;
  --surface: #06170f;
  --surface-2: #0a2116;
  --line: rgba(213, 242, 226, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.24);
  color-scheme: dark;
}

:root[data-theme="dark"] .site-header,
:root[data-theme="dark"] .site-menu,
:root[data-theme="dark"] .btn-ghost,
:root[data-theme="dark"] .metric-row article,
:root[data-theme="dark"] .chat-list,
:root[data-theme="dark"] .conversation-card,
:root[data-theme="dark"] .widget-preview,
:root[data-theme="dark"] .trust-strip,
:root[data-theme="dark"] .tour-tabs button,
:root[data-theme="dark"] .screen-card,
:root[data-theme="dark"] .settings-grid label,
:root[data-theme="dark"] .mini-inbox,
:root[data-theme="dark"] .mini-chat,
:root[data-theme="dark"] .status-card-ui,
:root[data-theme="dark"] .install-status-row span,
:root[data-theme="dark"] .feature-card,
:root[data-theme="dark"] .install-step,
:root[data-theme="dark"] .price-card,
:root[data-theme="dark"] .ops-grid article,
:root[data-theme="dark"] .automation-card,
:root[data-theme="dark"] .page-link-card,
:root[data-theme="dark"] .detail-card,
:root[data-theme="dark"] .process-item,
:root[data-theme="dark"] .contact-info,
:root[data-theme="dark"] .contact-form,
:root[data-theme="dark"] .legal-shell article,
:root[data-theme="dark"] details {
  background: var(--surface);
}

:root[data-theme="dark"] .billing-cycle-switch {
  border-color: rgba(255, 209, 90, 0.2);
  background: rgba(255, 209, 90, 0.07);
}

:root[data-theme="dark"] .billing-cycle-switch button.active {
  background: var(--gold);
  color: #064224;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] .billing-cycle-switch button:not(.active) {
  color: var(--ink-2);
}

:root[data-theme="dark"] .billing-cycle-switch small {
  color: #064224;
}

:root[data-theme="dark"] .payment-trust-grid article {
  border-color: rgba(255, 209, 90, 0.16);
  background: var(--surface);
}

:root[data-theme="dark"] .premium-hero,
:root[data-theme="dark"] .page-hero {
  background:
    linear-gradient(90deg, rgba(34, 201, 109, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(34, 201, 109, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #071b11 0%, #0b2518 48%, #06170f 100%);
  background-size: 42px 42px, 42px 42px, auto;
}

:root[data-theme="dark"] .preview-main,
:root[data-theme="dark"] .dashboard-section,
:root[data-theme="dark"] .content-band.soft,
:root[data-theme="dark"] .color-demo-section,
:root[data-theme="dark"] .widget-head {
  background: var(--surface-2);
}

:root[data-theme="dark"] .contact-form input,
:root[data-theme="dark"] .contact-form textarea,
:root[data-theme="dark"] .contact-form select {
  background: var(--surface-2);
}

.feature-ticker {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--surface);
}

.feature-ticker__track {
  width: max-content;
  min-width: 100%;
  display: flex;
  gap: 22px;
  padding: 13px 0;
  animation: tickerScroll 34s linear infinite;
}

.feature-ticker span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: 950;
}

.feature-ticker span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold);
}

.difference-section {
  padding: 74px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 193, 45, 0.14), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(0, 168, 80, 0.14), transparent 28%),
    var(--surface);
}

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

.difference-card {
  min-height: 320px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  background: color-mix(in srgb, var(--surface) 92%, var(--green-soft) 8%);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.difference-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(0, 168, 80, 0.3);
  box-shadow: var(--shadow);
}

.difference-card .mask-icon {
  width: 38px;
  height: 38px;
  color: var(--green);
}

.difference-card h3 {
  margin: 18px 0 8px;
  font-size: 21px;
  line-height: 1.18;
}

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

.difference-card .btn {
  margin-top: auto;
}

.color-demo-section {
  padding: 76px 0;
  background: var(--surface-2);
}

.color-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: 26px;
  align-items: center;
}

.color-palette-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.color-palette-panel h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.08;
}

.color-palette-panel p {
  color: var(--muted);
}

.swatch-row {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.swatch-button {
  min-height: 54px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease;
}

.swatch-button:hover,
.swatch-button.active {
  transform: translateX(4px);
  border-color: rgba(0, 168, 80, 0.36);
}

.swatch {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.62);
}

.demo-widget {
  --demo-brand: #00a850;
  --demo-accent: #ffc12d;
  width: min(420px, 100%);
  margin: 0 auto;
  border: 1px solid color-mix(in srgb, var(--demo-brand) 34%, transparent);
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.demo-widget__head {
  min-height: 86px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--demo-brand), color-mix(in srgb, var(--demo-brand) 74%, #001b10 26%));
}

.demo-widget__avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  padding: 3px;
  background: conic-gradient(var(--demo-accent), #fff, var(--demo-brand), var(--demo-accent));
}

.demo-widget__avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.demo-widget__body {
  padding: 16px;
}

.demo-widget__bubble {
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--demo-brand) 12%, var(--surface) 88%);
}

.demo-widget__quick {
  min-height: 42px;
  margin-top: 8px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--demo-brand);
  font-weight: 900;
}

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

.docs-nav {
  position: sticky;
  top: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 6px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.docs-nav a {
  min-height: 40px;
  padding: 8px 10px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  color: var(--muted);
  font-weight: 850;
}

.docs-nav a:hover,
.docs-nav a:focus-visible {
  background: var(--green-soft);
  color: var(--green-dark);
}

.docs-content {
  display: grid;
  gap: 18px;
}

.docs-section {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.docs-section h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.15;
}

.docs-section h3 {
  margin: 22px 0 8px;
}

.docs-section p,
.docs-section li {
  color: var(--muted);
}

.docs-section ol,
.docs-section ul {
  padding-left: 22px;
}

.premium-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.premium-modal[aria-hidden="false"] {
  display: block;
}

.premium-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
}

.premium-modal__panel {
  position: relative;
  width: min(620px, calc(100% - 28px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  margin: 20dvh auto 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: modalIn 240ms ease both;
}

.premium-modal__panel h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
}

.premium-modal__panel p:not(.eyebrow) {
  color: var(--muted);
}

.premium-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  cursor: pointer;
}

.premium-modal__close::before,
.premium-modal__close::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 21px;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.premium-modal__close::before { transform: rotate(45deg); }
.premium-modal__close::after { transform: rotate(-45deg); }

.code-panel {
  position: relative;
}

.copy-code-button {
  position: absolute;
  right: 12px;
  top: 10px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.cookie-consent {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.cookie-consent.is-hiding {
  opacity: 0;
  transform: translateY(14px);
}

.cookie-consent p {
  margin: 4px 0 0;
  color: var(--muted);
}

.cookie-consent > div:last-child {
  display: flex;
  gap: 10px;
}

.promo-popup-stack {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 880;
  width: min(384px, calc(100vw - 28px));
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.promo-popup-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px 44px 14px 14px;
  border: 1px solid rgba(0, 168, 80, 0.15);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(244, 251, 247, 0.94));
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(3, 34, 19, 0.18);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  animation: promoCardIn 320ms ease var(--promo-delay, 0ms) both;
}

.promo-popup-card.is-hiding {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 200ms ease, transform 200ms ease;
}

.promo-popup-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.96), rgba(255, 193, 45, 0.34)),
    var(--gold-soft);
  color: #9a6900;
  box-shadow: inset 0 0 0 1px rgba(255, 193, 45, 0.28);
}

.promo-popup-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.promo-popup-card p {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.promo-popup-card a {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
}

.promo-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 168, 80, 0.08);
  color: var(--green-dark);
  cursor: pointer;
}

.promo-popup-close::before,
.promo-popup-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.promo-popup-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.promo-popup-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.promo-popup-dismiss {
  justify-self: end;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(8, 32, 21, 0.82);
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(3, 34, 19, 0.2);
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes promoCardIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

  .color-demo-grid,
  .docs-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .promo-popup-stack {
    right: 14px;
    bottom: 82px;
    width: calc(100vw - 28px);
  }

  .promo-popup-card {
    padding: 13px 40px 13px 13px;
    border-radius: 16px;
  }

  .promo-popup-card p {
    font-size: 12px;
  }

  .difference-section,
  .color-demo-section {
    padding: 52px 0;
  }

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

  .color-palette-panel h2 {
    font-size: 28px;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
    bottom: 74px;
  }

  .cookie-consent > div:last-child {
    flex-wrap: wrap;
  }

  .docs-nav {
    grid-template-columns: 1fr;
  }

  .premium-modal__panel {
    margin-top: 10dvh;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-ticker__track {
    animation: none !important;
  }
}

/* Premium polish pass: header controls, floating setup, footer, and widget studio demo. */
.brand img {
  width: 122px;
  height: 44px;
}

.site-header {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cream) 92%, #ffffff 8%), color-mix(in srgb, var(--cream) 84%, transparent));
}

.site-menu a {
  color: color-mix(in srgb, var(--ink) 68%, var(--muted) 32%);
}

.site-menu a:hover,
.site-menu a:focus-visible,
.site-menu a[aria-current="page"] {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--green-soft) 82%, #fff 18%), color-mix(in srgb, var(--gold-soft) 48%, transparent));
}

.floating-shortcut {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 850;
  width: 54px;
  height: 54px;
  border: 1px solid color-mix(in srgb, var(--green) 28%, var(--line));
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--green-soft) 78%, transparent));
  color: var(--green-dark);
  box-shadow: 0 20px 42px rgba(0, 67, 32, 0.18);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.floating-shortcut::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 1px solid rgba(255, 193, 45, 0.34);
  opacity: 0.7;
  animation: shortcutPulse 2.8s ease-in-out infinite;
}

.floating-shortcut .mask-icon {
  width: 25px;
  height: 25px;
  position: relative;
  z-index: 1;
}

.floating-shortcut:hover,
.floating-shortcut:focus-visible {
  transform: translateY(-3px) rotate(10deg);
  border-color: var(--green);
  box-shadow: 0 24px 54px rgba(0, 67, 32, 0.24);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 58px 0 34px;
  background:
    linear-gradient(135deg, #03150d 0%, #06271a 48%, #020d08 100%);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
}

.site-footer::after {
  content: "WhaChat";
  position: absolute;
  right: max(18px, calc((100vw - var(--max)) / 2));
  bottom: -24px;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(70px, 15vw, 190px);
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 0.9fr) minmax(230px, auto);
  align-items: stretch;
}

.footer-grid > div:first-child,
.footer-grid nav,
.footer-cta {
  min-height: 0;
  height: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.footer-grid > div:first-child > img {
  width: 152px;
  height: 60px;
  object-fit: contain;
  object-position: left center;
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.footer-mail-card {
  width: 100%;
  max-width: 100%;
  margin-top: 16px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer-mail-card img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer-mail-card strong,
.footer-mail-card a {
  display: block;
  line-height: 1.2;
}

.footer-mail-card strong {
  font-size: 12px;
}

.footer-mail-card a {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.footer-grid nav {
  align-content: start;
}

.footer-grid nav a {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.055);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.footer-grid nav a:hover,
.footer-grid nav a:focus-visible {
  transform: translateY(-1px);
  background: rgba(0, 168, 80, 0.24);
  color: #fff;
}

.footer-cta {
  justify-content: space-between;
  gap: 14px;
  align-items: stretch;
}

.footer-cta span {
  color: rgba(255, 255, 255, 0.62);
}

.footer-store-badges {
  display: grid;
  gap: 8px;
  width: min(190px, 100%);
}

.footer-store-badges a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  overflow: hidden;
  transition: transform 180ms ease, filter 180ms ease;
}

.footer-store-badges a:hover,
.footer-store-badges a:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.footer-store-badges img {
  width: auto;
  max-width: 100%;
  height: 42px;
  display: block;
  object-fit: contain;
}

@media (max-width: 980px) {
  .site-footer {
    padding: 52px 0 30px;
  }

  .site-footer::after {
    right: 16px;
    bottom: -10px;
    font-size: clamp(64px, 22vw, 150px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-grid > div:first-child,
  .footer-grid nav,
  .footer-cta {
    width: 100%;
  }

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

  .footer-grid nav a {
    justify-content: center;
    text-align: center;
  }

  .footer-cta {
    align-items: center;
  }

  .footer-store-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(390px, 100%);
  }

  .footer-store-badges a {
    min-width: 0;
  }
}

.demo-widget {
  position: relative;
  width: min(430px, 100%);
  overflow: visible;
  border-radius: 26px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, transparent), color-mix(in srgb, var(--surface-2) 92%, transparent));
}

.demo-widget__chrome {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 24px 24px 0 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--demo-brand) 86%, #001b10 14%), color-mix(in srgb, var(--demo-accent) 40%, #052014 60%));
}

.demo-widget__chrome span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.demo-widget__chrome span:nth-child(1) { background: #ff6961; }
.demo-widget__chrome span:nth-child(2) { background: var(--demo-accent); }
.demo-widget__chrome span:nth-child(3) { background: #59df8d; }

.demo-widget__chrome strong {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0;
}

.demo-widget__head {
  min-height: 94px;
  border-radius: 0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.14);
}

.demo-widget__agent {
  min-width: 0;
}

.demo-widget__agent strong {
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.15;
}

.demo-widget__agent small {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.demo-widget__agent small span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--demo-accent);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.14);
}

.demo-widget__verified {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
}

.demo-widget__body {
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--demo-brand) 28%, var(--line));
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--demo-brand) 6%, var(--surface)), var(--surface));
}

.demo-widget__messages {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.demo-widget__bubble {
  max-width: 86%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.45;
  box-shadow: 0 12px 26px rgba(8, 32, 21, 0.08);
}

.demo-widget__bubble.incoming {
  justify-self: start;
  border-bottom-left-radius: 6px;
  background: color-mix(in srgb, var(--demo-brand) 12%, var(--surface) 88%);
  color: var(--ink);
}

.demo-widget__bubble.outgoing {
  justify-self: end;
  border-bottom-right-radius: 6px;
  background: var(--demo-brand);
  color: #fff;
}

.demo-widget__quick-row {
  display: grid;
  gap: 9px;
}

.demo-widget__quick {
  width: 100%;
  min-height: 44px;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--demo-brand) 24%, transparent);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--demo-brand), color-mix(in srgb, var(--demo-brand) 72%, #001b10 28%));
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.demo-widget__quick:hover,
.demo-widget__quick:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px color-mix(in srgb, var(--demo-brand) 24%, transparent);
}

.demo-widget__launcher {
  position: absolute;
  right: 18px;
  bottom: -28px;
  width: 62px;
  height: 62px;
  border: 4px solid var(--surface-2);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--demo-brand), var(--demo-accent));
  color: #fff;
  box-shadow: 0 20px 42px color-mix(in srgb, var(--demo-brand) 24%, transparent);
}

.demo-widget__launcher .mask-icon {
  width: 28px;
  height: 28px;
}

.chat-screen {
  min-height: 390px;
}

.chat-screen .app-screen-bar small {
  background: rgba(0, 168, 80, 0.22);
  color: #dfffee;
}

.mini-inbox span {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
}

.mini-inbox span b {
  position: absolute;
  right: 10px;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(0, 168, 80, 0.11);
}

.mini-inbox small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.mini-chat {
  overflow: hidden;
  min-height: 310px;
  max-height: 330px;
  padding: 0;
  gap: 0;
}

.mini-chat-head {
  min-height: 62px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--green-soft) 70%, var(--surface)), var(--surface));
}

.mini-chat-head strong,
.mini-chat-head small {
  display: block;
}

.mini-chat-head strong {
  line-height: 1.15;
}

.mini-chat-head small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.status-ring.tiny {
  width: 38px;
  height: 38px;
  padding: 2px;
  box-shadow: 0 0 0 3px rgba(0, 168, 80, 0.08);
}

.mini-chat-live {
  margin-left: auto;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.mini-chat-log {
  min-height: 156px;
  max-height: 176px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  scroll-behavior: smooth;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 58%, transparent), var(--surface));
}

.mini-chat-log .bubble {
  margin: 0;
  animation: demoMessageIn 220ms ease both;
}

.typing-demo {
  min-height: 28px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
}

.typing-demo[hidden] {
  display: none;
}

.typing-demo span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  animation: typingDot 980ms ease-in-out infinite;
}

.typing-demo span:nth-child(2) {
  animation-delay: 120ms;
}

.typing-demo span:nth-child(3) {
  animation-delay: 240ms;
}

.typing-demo small {
  margin-left: 5px;
  font-size: 12px;
  font-weight: 800;
}

.demo-composer {
  min-height: 54px;
  margin: auto 12px 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  align-items: end;
  background: var(--surface);
  box-shadow: 0 12px 26px rgba(8, 32, 21, 0.08);
}

.demo-composer textarea {
  width: 100%;
  min-height: 38px;
  max-height: 86px;
  padding: 8px 4px 8px 10px;
  border: 0;
  outline: 0;
  resize: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.demo-composer textarea::placeholder {
  color: var(--muted);
}

.demo-composer button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 168, 80, 0.24);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.demo-composer button:hover,
.demo-composer button:focus-visible {
  transform: translateY(-1px) scale(1.03);
  background: var(--green-dark);
  box-shadow: 0 16px 30px rgba(0, 168, 80, 0.28);
}

.demo-composer button .mask-icon {
  width: 20px;
  height: 20px;
}

.demo-composer-hint {
  margin: 6px 14px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

:root[data-theme="dark"] .theme-toggle {
  background:
    radial-gradient(circle at 36% 22%, rgba(255, 193, 45, 0.42), rgba(9, 35, 24, 0.94) 48%, #06170f);
}

:root[data-theme="dark"] .nav-control-trigger {
  background:
    linear-gradient(145deg, rgba(9, 35, 24, 0.94), rgba(6, 23, 15, 0.96));
  color: var(--gold);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

:root[data-theme="dark"] .nav-control-menu,
:root[data-theme="dark"] .promo-popup-card,
:root[data-theme="dark"] .launch-offer-hero,
:root[data-theme="dark"] .launch-offer-card,
:root[data-theme="dark"] .guide-step-list span {
  background:
    linear-gradient(145deg, rgba(9, 35, 24, 0.96), rgba(6, 23, 15, 0.94));
  border-color: rgba(138, 242, 176, 0.13);
}

:root[data-theme="dark"] .launch-offer-section,
:root[data-theme="dark"] .guide-demo-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 193, 45, 0.12), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(0, 168, 80, 0.16), transparent 34%),
    linear-gradient(145deg, #06170f, #0a2116 48%, #06170f);
}

:root[data-theme="dark"] .nav-control-menu button,
:root[data-theme="dark"] .promo-popup-card {
  color: var(--ink);
}

:root[data-theme="dark"] .promo-popup-dismiss {
  background: rgba(255, 255, 255, 0.12);
}

:root[data-theme="dark"] .floating-shortcut {
  background:
    linear-gradient(145deg, rgba(6, 23, 15, 0.94), rgba(34, 201, 109, 0.12));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .site-menu a {
  color: color-mix(in srgb, var(--ink) 72%, var(--muted) 28%);
}

:root[data-theme="dark"] .bubble.incoming,
:root[data-theme="dark"] .chat-pill,
:root[data-theme="dark"] .mini-inbox span,
:root[data-theme="dark"] .composer-preview,
:root[data-theme="dark"] .mini-chat-head,
:root[data-theme="dark"] .demo-composer,
:root[data-theme="dark"] .demo-widget__bubble.incoming {
  background: color-mix(in srgb, var(--surface-2) 82%, #ffffff 4%);
  color: var(--ink);
}

:root[data-theme="dark"] .demo-composer textarea {
  color: var(--ink);
}

:root[data-theme="dark"] .app-screen,
:root[data-theme="dark"] .tour-shell,
:root[data-theme="dark"] .demo-widget,
:root[data-theme="dark"] .demo-widget__body {
  background: var(--surface-2);
}

:root[data-theme="dark"] .demo-widget__launcher {
  border-color: var(--surface-2);
}

@keyframes shortcutPulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.48;
  }
  50% {
    transform: scale(1.08);
  opacity: 0.78;
  }
}

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

@keyframes typingDot {
  0%, 70%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  35% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@media (max-width: 880px) {
  .nav-shell {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .brand {
    order: 1;
    margin-right: auto;
  }

  .nav-actions {
    order: 2;
    display: flex;
    margin-left: 0;
  }

  .nav-control-row {
    gap: 6px;
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-toggle {
    order: 3;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
  }

  .nav-control-trigger {
    min-width: 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    gap: 0;
  }

  .nav-control-trigger strong,
  .nav-control-trigger .icon-chevron {
    display: none;
  }

  .nav-control-menu {
    right: -58px;
  }

  .brand img {
    width: 118px;
    height: 42px;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 112px;
    height: 40px;
  }

  .site-footer {
    padding: 46px 0 26px;
  }

  .site-footer::after {
    right: 10px;
    bottom: 4px;
    font-size: clamp(48px, 24vw, 96px);
  }

  .footer-grid > div:first-child,
  .footer-grid nav,
  .footer-cta {
    min-height: auto;
    padding: 16px;
    border-radius: 14px;
  }

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

  .footer-grid nav a {
    min-width: 0;
    min-height: 42px;
    padding: 0 8px;
    text-align: center;
    justify-content: center;
    font-size: 13px;
  }

  .footer-grid > div:first-child > img {
    width: 138px;
    height: 54px;
  }

  .footer-mail-card {
    width: 100%;
    align-items: flex-start;
  }

  .footer-store-badges {
    grid-template-columns: 1fr;
    width: min(190px, 100%);
    margin: 0 auto;
  }

  .footer-store-badges img {
    height: 40px;
  }

  .footer-cta {
    align-items: stretch;
  }

  .footer-cta .btn {
    width: 100%;
  }

  .footer-cta span {
    text-align: center;
    font-size: 13px;
  }

  .floating-shortcut {
    left: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
  }

  .demo-widget__launcher {
    right: 14px;
    width: 56px;
    height: 56px;
  }

  .chat-screen {
    min-height: auto;
  }

  .mini-chat {
    max-height: none;
  }

  .mini-chat-log {
    min-height: 190px;
    max-height: 240px;
  }

  .demo-composer {
    border-radius: 18px;
    grid-template-columns: 1fr 44px;
    align-items: end;
  }
}

/* WhaChat documentation manual upgrade */
.docs-hero {
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--green-soft) 82%, #fff 18%), color-mix(in srgb, var(--gold-soft) 55%, #fff 45%)),
    #fff;
}

.manual-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.manual-hero-stats span {
  min-height: 76px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--green) 16%, var(--line));
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  box-shadow: 0 14px 34px rgba(8, 32, 21, 0.08);
}

.manual-hero-stats strong {
  display: block;
  color: var(--green-dark);
  font-size: 30px;
  line-height: 1;
}

.manual-hero-visual {
  min-width: 0;
}

.manual-device,
.manual-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--green) 18%, var(--line));
  border-radius: 22px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow);
}

.manual-device::after,
.manual-shot::after {
  content: "";
  position: absolute;
  inset: auto -20% -42% 30%;
  height: 170px;
  background: radial-gradient(circle, color-mix(in srgb, var(--green) 16%, transparent), transparent 68%);
  pointer-events: none;
}

.manual-device-bar,
.manual-shot-bar {
  min-height: 58px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #062719, #0b3b28);
  color: #fff;
}

.manual-device-bar span,
.manual-shot-bar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ff6b6b;
  box-shadow: 18px 0 0 var(--gold), 36px 0 0 var(--green);
}

.manual-device-bar strong,
.manual-shot-bar strong {
  margin-left: 44px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manual-device-bar small,
.manual-shot-bar small {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 850;
  white-space: nowrap;
}

.manual-device-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.manual-device-card {
  min-height: 82px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  background: #fff;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.manual-device-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--green) 28%, var(--line));
  box-shadow: var(--shadow-soft);
}

.manual-device-card .mask-icon {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  color: var(--green-dark);
}

.manual-device-card strong,
.manual-device-card small {
  min-width: 0;
}

.manual-device-card small {
  color: var(--muted);
  font-weight: 750;
}

.manual-device-card.active {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
}

.manual-device-card.active .mask-icon,
.manual-device-card.active small {
  color: rgba(255, 255, 255, 0.86);
}

.manual-overview-band {
  padding: 70px 0;
  background:
    linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--green-soft) 36%, var(--surface)));
}

.manual-flow-grid,
.role-manual-grid,
.manual-feature-table,
.troubleshooting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.manual-flow-card,
.role-manual-grid article,
.manual-feature-table div,
.troubleshooting-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.manual-flow-card:hover,
.role-manual-grid article:hover,
.manual-feature-table div:hover,
.troubleshooting-grid article:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--green) 24%, var(--line));
  box-shadow: 0 22px 52px rgba(8, 32, 21, 0.12);
}

.manual-flow-card b {
  display: inline-flex;
  min-height: 30px;
  min-width: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #8a5a00;
  font-size: 12px;
  font-weight: 950;
}

.manual-flow-card .mask-icon,
.role-manual-grid .mask-icon {
  width: 34px;
  height: 34px;
  margin: 16px 0 10px;
  color: var(--green-dark);
}

.manual-flow-card strong,
.role-manual-grid h3,
.manual-feature-table strong,
.troubleshooting-grid h3 {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.manual-flow-card p,
.role-manual-grid p,
.role-manual-grid li,
.manual-feature-table span,
.troubleshooting-grid p {
  color: var(--muted);
}

.manual-docs-layout {
  grid-template-columns: 286px minmax(0, 1fr);
}

.manual-docs-nav {
  max-height: calc(100dvh - 132px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.manual-docs-nav a {
  gap: 8px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.manual-docs-nav a:hover,
.manual-docs-nav a:focus-visible {
  transform: translateX(3px);
}

.manual-docs-content {
  gap: 22px;
}

.manual-section {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.manual-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
  opacity: 0.82;
}

.manual-section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}

.manual-section-head h2 {
  margin: 0 0 8px;
  color: var(--ink);
}

.manual-section-head p {
  margin: 0;
}

.manual-kicker {
  min-width: 46px;
  min-height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-weight: 950;
  box-shadow: 0 16px 32px rgba(0, 168, 80, 0.18);
}

.manual-kicker.green {
  background: linear-gradient(135deg, #0d8f4c, #075c33);
}

.manual-kicker.gold {
  background: linear-gradient(135deg, var(--gold), #b97900);
}

.manual-kicker.danger {
  background: linear-gradient(135deg, #ff6b6b, var(--danger));
}

.manual-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 22px;
  align-items: start;
}

.manual-check-list,
.manual-steps {
  display: grid;
  gap: 10px;
  padding-left: 0 !important;
  list-style: none;
}

.manual-check-list li,
.manual-steps li {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-2) 70%, var(--surface));
}

.manual-check-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.manual-check-list .mask-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--green-dark);
}

.manual-steps {
  counter-reset: manual-step;
}

.manual-steps li {
  counter-increment: manual-step;
  position: relative;
  padding-left: 52px;
}

.manual-steps li::before {
  content: counter(manual-step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.manual-shot {
  min-height: 310px;
  background: #f7fbf8;
}

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

.manual-shot-grid span,
.dashboard-shot article,
.visitor-shot-grid article {
  min-height: 102px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 32, 21, 0.07);
}

.manual-shot-grid .wide,
.dashboard-shot .long {
  grid-column: span 2;
}

.manual-shot-grid b,
.dashboard-shot small,
.visitor-shot-grid span {
  display: block;
  color: var(--muted);
  font-weight: 850;
}

.manual-shot-grid strong,
.dashboard-shot strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.dashboard-shot em {
  display: block;
  margin-top: 8px;
  color: var(--green-dark);
  font-style: normal;
  font-weight: 850;
}

.wide-shot {
  margin-top: 20px;
}

.auth-shot-card {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.auth-shot-card img {
  width: 118px;
  height: 46px;
  object-fit: contain;
}

.auth-shot-card b {
  font-size: 28px;
}

.auth-shot-card span {
  color: var(--muted);
  font-weight: 850;
}

.auth-shot-card i {
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-style: normal;
  font-weight: 850;
}

.auth-shot-card strong {
  min-height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
}

.chat-board-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
}

.chat-board-body aside,
.chat-board-body section {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.chat-board-body aside {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px;
}

.chat-board-body button {
  min-height: 62px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 8px;
  background: var(--surface-2);
  text-align: left;
  cursor: pointer;
}

.chat-board-body button.active {
  border-color: color-mix(in srgb, var(--green) 22%, var(--line));
  background: var(--green-soft);
}

.chat-board-body button b {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green);
}

.chat-board-body button strong,
.chat-board-body button small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-board-body button small {
  grid-column: 2;
  color: var(--muted);
}

.chat-board-body section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
}

.chat-board-body header {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.chat-board-body header strong,
.chat-board-body header small {
  display: block;
}

.chat-board-body header small {
  color: var(--muted);
}

.chat-board-body footer {
  margin-top: auto;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  background: #fff;
}

.visitor-shot-grid {
  grid-template-columns: 1fr;
}

.visitor-shot-grid article {
  min-height: 86px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.visitor-shot-grid b {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 950;
}

.visitor-shot-grid strong {
  display: block;
}

.visitor-shot-grid span {
  grid-column: 2;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.status-shot-body,
.install-shot-body,
.notification-shot-body,
.team-shot-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.status-preview-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  justify-items: center;
  text-align: center;
  background: #fff;
}

.status-preview-card strong {
  margin-top: 10px;
  font-size: 22px;
}

.status-preview-card p {
  max-width: 330px;
}

.status-preview-card small {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 850;
}

.status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-tabs span {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--muted);
  font-weight: 850;
}

.status-tabs span:first-child {
  background: var(--green);
  color: #fff;
}

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

.widget-studio-grid label {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 850;
  background: #fff;
}

.widget-studio-grid label i {
  color: var(--ink);
  font-style: normal;
  font-weight: 950;
}

.color-line {
  width: 100%;
  height: 12px;
  border-radius: 999px;
}

.green-line { background: linear-gradient(90deg, var(--green), var(--green-dark)); }
.gold-line { background: linear-gradient(90deg, var(--gold), #b97900); }

.mini-widget-preview {
  grid-column: span 2;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--green) 20%, var(--line));
  border-radius: 18px;
  background: #fff;
}

.mini-widget-preview strong {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
}

.mini-widget-preview strong img {
  width: 20px;
  height: 20px;
}

.install-shot-body strong,
.install-shot-body code {
  display: block;
}

.install-shot-body code {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow-x: auto;
  background: #fff;
}

.install-state {
  min-height: 46px;
  padding: 0 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 950;
}

.install-state span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(0, 168, 80, 0.14);
}

.team-shot-body span {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  background: #fff;
}

.team-shot-body img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.team-shot-body strong,
.team-shot-body small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-shot-body small {
  grid-column: 2;
  color: var(--muted);
  font-weight: 850;
}

.notification-shot-body article {
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  background: #fff;
}

.notification-shot-body .mask-icon {
  width: 28px;
  height: 28px;
  color: var(--green-dark);
}

.notification-shot-body strong,
.notification-shot-body small {
  display: block;
}

.notification-shot-body small {
  color: var(--muted);
}

/* WhaChat v0.55a public release details */
.release-section {
  padding-top: 54px;
  padding-bottom: 18px;
}

.release-section .section-heading {
  max-width: 860px;
}

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

.release-grid article {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, transparent), transparent 62%),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.release-grid .mask-icon {
  width: 34px;
  height: 34px;
  color: var(--brand);
}

.release-grid strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.release-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 920px) {
  .release-grid {
    grid-template-columns: 1fr;
  }

  .release-grid article {
    min-height: 0;
  }
}

.timeline-manual {
  display: grid;
  gap: 12px;
}

.timeline-manual article {
  position: relative;
  min-height: 92px;
  padding: 16px 16px 16px 72px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.timeline-manual b {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 11px;
  text-align: center;
}

.timeline-manual strong {
  display: block;
  color: var(--ink);
}

.timeline-manual p {
  margin: 6px 0 0;
}

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

.troubleshooting-grid code,
.manual-section code {
  padding: 2px 6px;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--green-dark);
  font-weight: 850;
}

:root[data-theme="dark"] .manual-device,
:root[data-theme="dark"] .manual-shot,
:root[data-theme="dark"] .manual-flow-card,
:root[data-theme="dark"] .role-manual-grid article,
:root[data-theme="dark"] .manual-feature-table div,
:root[data-theme="dark"] .troubleshooting-grid article,
:root[data-theme="dark"] .manual-check-list li,
:root[data-theme="dark"] .manual-steps li,
:root[data-theme="dark"] .manual-shot-grid span,
:root[data-theme="dark"] .dashboard-shot article,
:root[data-theme="dark"] .visitor-shot-grid article,
:root[data-theme="dark"] .chat-board-body aside,
:root[data-theme="dark"] .chat-board-body section,
:root[data-theme="dark"] .auth-shot-card i,
:root[data-theme="dark"] .status-preview-card,
:root[data-theme="dark"] .widget-studio-grid label,
:root[data-theme="dark"] .mini-widget-preview,
:root[data-theme="dark"] .install-shot-body code,
:root[data-theme="dark"] .team-shot-body span,
:root[data-theme="dark"] .notification-shot-body article,
:root[data-theme="dark"] .timeline-manual article {
  background: color-mix(in srgb, var(--surface-2) 86%, #ffffff 4%);
}

@media (max-width: 1100px) {
  .manual-docs-layout,
  .manual-split {
    grid-template-columns: 1fr;
  }

  .manual-docs-nav {
    position: static;
    max-height: none;
  }

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

@media (max-width: 720px) {
  .manual-hero-stats,
  .manual-flow-grid,
  .role-manual-grid,
  .manual-feature-table,
  .troubleshooting-grid,
  .manual-shot-grid,
  .dashboard-shot,
  .widget-studio-grid {
    grid-template-columns: 1fr;
  }

  .manual-shot-grid .wide,
  .dashboard-shot .long,
  .mini-widget-preview {
    grid-column: auto;
  }

  .manual-section {
    padding: 22px;
  }

  .manual-section-head {
    grid-template-columns: 1fr;
  }

  .manual-kicker {
    width: 46px;
  }

  .chat-board-body {
    grid-template-columns: 1fr;
  }

  .chat-board-body aside,
  .chat-board-body section {
    min-height: auto;
  }

  .manual-device-bar strong,
  .manual-shot-bar strong {
    margin-left: 32px;
  }

  .manual-device-bar small,
  .manual-shot-bar small {
    display: none;
  }
}

@media (max-width: 420px) {
  .manual-section {
    padding: 18px;
    border-radius: 14px;
  }

  .manual-device-body,
  .manual-shot-grid,
  .dashboard-shot,
  .status-shot-body,
  .install-shot-body,
  .notification-shot-body,
  .team-shot-body,
  .widget-studio-grid {
    padding: 14px;
  }

  .manual-check-list li {
    grid-template-columns: 1fr;
  }
}

/* WhaChat brand visibility and responsive polish pass */
#google_translate_element,
.goog-te-banner-frame,
.goog-te-gadget,
.skiptranslate iframe {
  display: none !important;
}

body {
  top: 0 !important;
}

.eyebrow,
.plan-label {
  color: #007f3e;
  background:
    linear-gradient(135deg, rgba(255, 193, 45, 0.98), rgba(255, 246, 217, 0.96));
  border: 1px solid rgba(255, 193, 45, 0.86);
  box-shadow: 0 12px 30px rgba(255, 193, 45, 0.18);
}

.eyebrow .status-dot,
.status-dot {
  background: var(--green);
  box-shadow:
    0 0 0 4px rgba(0, 168, 80, 0.16),
    0 0 0 7px rgba(255, 193, 45, 0.22);
}

.feature-card,
.detail-card,
.price-card,
.launch-offer-card,
.page-link-card,
.install-step,
.automation-card,
.process-item,
.manual-section,
.manual-flow-card,
.role-manual-grid article,
.troubleshooting-grid article {
  border-color: rgba(255, 193, 45, 0.18);
}

.feature-card:hover,
.detail-card:hover,
.price-card:hover,
.launch-offer-card:hover,
.page-link-card:hover,
.install-step:hover,
.automation-card:hover,
.process-item:hover {
  border-color: rgba(255, 193, 45, 0.58);
  box-shadow: 0 22px 58px rgba(3, 34, 19, 0.12), 0 12px 28px rgba(255, 193, 45, 0.12);
}

main h1,
main h2,
main h3,
main p,
main li,
main a,
main strong,
main span {
  overflow-wrap: anywhere;
}

.hero h1 {
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading h2,
.split-copy h2,
.dashboard-copy h2,
.contact-card h2,
.guide-demo-copy h2,
.launch-offer-hero h2,
.manual-section-head h2 {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.feature-card h3,
.detail-card h2,
.price-card h3,
.launch-offer-card h3,
.difference-card h3,
.page-link-card h2,
.manual-flow-card h3,
.role-manual-grid h3,
.troubleshooting-grid h3 {
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: 0;
}

:root[data-theme="dark"] .hero h1,
:root[data-theme="dark"] .page-hero h1,
:root[data-theme="dark"] .section-heading h2,
:root[data-theme="dark"] .split-copy h2,
:root[data-theme="dark"] .dashboard-copy h2,
:root[data-theme="dark"] .contact-card h2,
:root[data-theme="dark"] .guide-demo-copy h2,
:root[data-theme="dark"] .launch-offer-hero h2,
:root[data-theme="dark"] .manual-section-head h2,
:root[data-theme="dark"] .feature-card h3,
:root[data-theme="dark"] .detail-card h2,
:root[data-theme="dark"] .price-card h3,
:root[data-theme="dark"] .page-link-card h2 {
  color: var(--gold);
}

:root[data-theme="dark"] .eyebrow,
:root[data-theme="dark"] .plan-label {
  color: #007f3e;
  background:
    linear-gradient(135deg, var(--gold), #fff6d9);
  border-color: rgba(255, 209, 90, 0.92);
  box-shadow: 0 16px 34px rgba(255, 209, 90, 0.12);
}

:root[data-theme="dark"] .feature-card,
:root[data-theme="dark"] .detail-card,
:root[data-theme="dark"] .price-card,
:root[data-theme="dark"] .launch-offer-card,
:root[data-theme="dark"] .page-link-card,
:root[data-theme="dark"] .install-step,
:root[data-theme="dark"] .automation-card,
:root[data-theme="dark"] .process-item,
:root[data-theme="dark"] .manual-section {
  border-color: rgba(255, 209, 90, 0.18);
}

:root[data-theme="dark"] .nav-control-menu {
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

@media (max-width: 1180px) {
  .hero h1 {
    font-size: 58px;
  }

  .page-hero h1 {
    font-size: 50px;
  }

  .section-heading h2,
  .split-copy h2,
  .dashboard-copy h2,
  .contact-card h2,
  .guide-demo-copy h2,
  .launch-offer-hero h2,
  .manual-section-head h2 {
    font-size: 38px;
  }
}

@media (max-width: 880px) {
  .hero h1 {
    font-size: 42px;
    line-height: 1.04;
  }

  .page-hero h1 {
    font-size: 40px;
    line-height: 1.06;
  }

  .section-heading h2,
  .split-copy h2,
  .dashboard-copy h2,
  .contact-card h2,
  .guide-demo-copy h2,
  .launch-offer-hero h2,
  .manual-section-head h2 {
    font-size: 32px;
    line-height: 1.1;
  }

  .feature-card h3,
  .detail-card h2,
  .price-card h3,
  .launch-offer-card h3,
  .difference-card h3,
  .page-link-card h2,
  .manual-flow-card h3,
  .role-manual-grid h3,
  .troubleshooting-grid h3 {
    font-size: 18px;
  }

  :root[data-theme="dark"] .site-menu:not(.legal-menu) {
    background:
      linear-gradient(145deg, #fff6d9, var(--gold));
    border-color: rgba(255, 193, 45, 0.68);
    box-shadow: 0 28px 68px rgba(0, 0, 0, 0.34);
  }

  :root[data-theme="dark"] .site-menu:not(.legal-menu) a {
    color: #007f3e !important;
    background: rgba(0, 168, 80, 0.08);
  }

  :root[data-theme="dark"] .site-menu:not(.legal-menu) a:hover,
  :root[data-theme="dark"] .site-menu:not(.legal-menu) a:focus-visible,
  :root[data-theme="dark"] .site-menu:not(.legal-menu) a[aria-current="page"] {
    color: #ffffff !important;
    background: var(--green);
  }

  :root[data-theme="dark"] .nav-control-menu {
    color: #007f3e;
    background:
      linear-gradient(145deg, #fff6d9, var(--gold));
    border-color: rgba(255, 193, 45, 0.68);
  }

  :root[data-theme="dark"] .nav-control-menu button,
  :root[data-theme="dark"] .nav-control-menu strong,
  :root[data-theme="dark"] .nav-control-menu small,
  :root[data-theme="dark"] .nav-control-note {
    color: #007f3e;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .page-hero h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .section-heading h2,
  .split-copy h2,
  .dashboard-copy h2,
  .contact-card h2,
  .guide-demo-copy h2,
  .launch-offer-hero h2,
  .manual-section-head h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .hero-lede,
  .section-heading p:not(.eyebrow),
  .split-copy p,
  .dashboard-copy p,
  .contact-card p,
  .guide-demo-copy p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.55;
  }

  .eyebrow,
  .plan-label {
    font-size: 12px;
    min-height: 30px;
    padding: 6px 10px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 31px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .section-heading h2,
  .split-copy h2,
  .dashboard-copy h2,
  .contact-card h2,
  .guide-demo-copy h2,
  .launch-offer-hero h2,
  .manual-section-head h2 {
    font-size: 25px;
  }
}

/* Sitewide premium processing loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 193, 45, 0.28), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(0, 168, 80, 0.28), transparent 36%),
    linear-gradient(145deg, rgba(252, 245, 235, 0.96), rgba(232, 255, 242, 0.96));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.page-loader[hidden] {
  display: none !important;
}

.page-loader.is-hiding {
  opacity: 0;
  visibility: hidden;
}

.page-loader__glow {
  position: absolute;
  width: min(70vw, 520px);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    conic-gradient(from 120deg, rgba(0, 168, 80, 0.22), rgba(255, 193, 45, 0.32), rgba(0, 168, 80, 0.22));
  filter: blur(34px);
  opacity: 0.72;
  animation: loaderGlow 2.8s ease-in-out infinite;
}

.page-loader__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 193, 45, 0.56);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 217, 0.86));
  box-shadow:
    0 28px 80px rgba(3, 34, 19, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  text-align: center;
}

.page-loader__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 193, 45, 0.2), transparent);
  transform: translateX(-110%);
  animation: loaderShine 2.2s ease-in-out infinite;
}

.page-loader__logo {
  position: relative;
  z-index: 1;
  width: 142px;
  height: 54px;
  object-fit: contain;
}

.page-loader__orb {
  position: relative;
  z-index: 1;
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle, #ffffff 0 50%, rgba(255, 246, 217, 0.94) 51% 66%, rgba(0, 168, 80, 0.1) 67% 100%);
  border: 1px solid rgba(255, 193, 45, 0.34);
  box-shadow:
    0 20px 44px rgba(0, 168, 80, 0.2),
    0 0 0 8px rgba(255, 193, 45, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.page-loader__orb::before {
  content: "";
  position: absolute;
  inset: -11px;
  border-radius: inherit;
  background: url("../img/status-ring.png") center / contain no-repeat;
  filter:
    drop-shadow(0 10px 18px rgba(255, 107, 107, 0.16))
    drop-shadow(0 0 14px rgba(255, 193, 45, 0.28));
  transform-origin: 50% 50%;
  animation: loaderStoryRing 1.65s linear infinite;
}

.page-loader__orb::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  border: 1px solid rgba(0, 168, 80, 0.14);
  box-shadow:
    inset 0 0 18px rgba(0, 168, 80, 0.1),
    0 0 22px rgba(255, 193, 45, 0.14);
  pointer-events: none;
}

.page-loader__orb img {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.page-loader__copy {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--green-dark);
  font-weight: 950;
}

.page-loader__copy span {
  font-size: 15px;
}

.page-loader__copy strong {
  min-width: 58px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #007f3e;
  background: var(--gold);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 12px 26px rgba(255, 193, 45, 0.22);
}

.page-loader__track {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 168, 80, 0.12);
  box-shadow: inset 0 1px 2px rgba(3, 34, 19, 0.08);
}

.page-loader__track span {
  display: block;
  width: 1%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--green), var(--gold), var(--green));
  box-shadow: 0 0 18px rgba(0, 168, 80, 0.24);
  transition: width 120ms ease;
}

.page-loader__panel small {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

:root[data-theme="dark"] .page-loader {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 209, 90, 0.22), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(34, 201, 109, 0.24), transparent 36%),
    linear-gradient(145deg, rgba(6, 23, 15, 0.96), rgba(10, 33, 22, 0.96));
}

:root[data-theme="dark"] .page-loader__panel {
  background:
    linear-gradient(145deg, rgba(9, 35, 24, 0.94), rgba(6, 23, 15, 0.92));
  border-color: rgba(255, 209, 90, 0.32);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 209, 90, 0.1);
}

:root[data-theme="dark"] .page-loader__copy {
  color: var(--gold);
}

:root[data-theme="dark"] .page-loader__orb {
  background:
    radial-gradient(circle, rgba(255, 246, 217, 0.98) 0 50%, rgba(9, 35, 24, 0.88) 51% 66%, rgba(255, 209, 90, 0.14) 67% 100%);
  border-color: rgba(255, 209, 90, 0.28);
}

:root[data-theme="dark"] .page-loader__orb::before {
  filter:
    drop-shadow(0 10px 18px rgba(255, 107, 107, 0.12))
    drop-shadow(0 0 18px rgba(255, 209, 90, 0.24));
}

:root[data-theme="dark"] .page-loader__panel small {
  color: rgba(255, 246, 217, 0.72);
}

@keyframes loaderGlow {
  0%, 100% {
    transform: scale(0.94) rotate(0deg);
    opacity: 0.54;
  }
  50% {
    transform: scale(1.04) rotate(18deg);
    opacity: 0.86;
  }
}

@keyframes loaderShine {
  0%, 38% {
    transform: translateX(-112%);
  }
  72%, 100% {
    transform: translateX(112%);
  }
}

@keyframes loaderStoryRing {
  from {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.018);
  }
  to {
    transform: rotate(360deg) scale(1);
  }
}

@media (max-width: 640px) {
  .page-loader {
    padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  }

  .page-loader__panel {
    width: min(340px, 100%);
    gap: 14px;
    padding: 22px;
    border-radius: 20px;
  }

  .page-loader__logo {
    width: 126px;
    height: 48px;
  }

  .page-loader__orb {
    width: 82px;
    height: 82px;
  }

  .page-loader__orb::before {
    inset: -9px;
  }

  .page-loader__orb img {
    width: 46px;
    height: 46px;
  }

  .page-loader__copy span,
  .page-loader__copy strong {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .page-loader__panel {
    padding: 20px 16px;
  }

  .page-loader__copy {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader,
  .page-loader__track span {
    transition-duration: 1ms !important;
  }

  .page-loader__glow,
  .page-loader__panel::before,
  .page-loader__orb::before {
    animation: none !important;
  }
}

/* Context-aware WhaChat advertising campaigns */
body.site-campaign-open {
  overflow: hidden;
}

.site-campaign-layer {
  position: fixed;
  inset: 0;
  z-index: 2147483640;
  display: grid;
  place-items: center;
  padding:
    max(24px, env(safe-area-inset-top))
    max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
  background: rgba(2, 24, 16, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.site-campaign-layer.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-campaign-card {
  position: relative;
  display: grid;
  width: min(460px, calc(100vw - 48px), calc(100vh - 48px));
  width: min(460px, calc(100vw - 48px), calc(100dvh - 48px));
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 34px 96px rgba(0, 12, 8, 0.42);
  transform: translateY(16px) scale(0.985);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-campaign-card[data-campaign-format="portrait-tall"] {
  width: min(370px, calc(100vw - 48px), calc(66.6667vh - 32px));
  width: min(370px, calc(100vw - 48px), calc(66.6667dvh - 32px));
  aspect-ratio: 2 / 3;
}

.site-campaign-card[data-campaign-format="portrait-medium"] {
  width: min(410px, calc(100vw - 48px), calc(83.93vh - 40px));
  width: min(410px, calc(100vw - 48px), calc(83.93dvh - 40px));
  aspect-ratio: 1149 / 1369;
}

.site-campaign-layer.is-visible .site-campaign-card {
  transform: translateY(0) scale(1);
}

.site-campaign-ad-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 28px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  background: rgba(2, 45, 29, 0.9);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 24, 16, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1;
  pointer-events: none;
}

.site-campaign-visual {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
}

.site-campaign-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  transition: transform 240ms ease;
}

.site-campaign-visual:hover img {
  transform: scale(1.012);
}

.site-campaign-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 106, 55, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #075a3b;
  box-shadow: 0 12px 30px rgba(0, 24, 16, 0.2);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.site-campaign-close::before,
.site-campaign-close::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-campaign-close::before {
  transform: rotate(45deg);
}

.site-campaign-close::after {
  transform: rotate(-45deg);
}

.site-campaign-close:hover {
  transform: scale(1.04);
  background: #fff8df;
}

.site-campaign-close:focus-visible,
.site-campaign-visual:focus-visible {
  outline: 3px solid #ffcb32;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .site-campaign-layer {
    padding:
      max(16px, env(safe-area-inset-top))
      max(16px, env(safe-area-inset-right))
      max(16px, env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
  }

  .site-campaign-card {
    width: min(400px, calc(100vw - 32px), calc(100vh - 32px));
    width: min(400px, calc(100vw - 32px), calc(100dvh - 32px));
  }

  .site-campaign-card[data-campaign-format="portrait-tall"] {
    width: min(360px, calc(100vw - 32px), calc(66.6667vh - 21px));
    width: min(360px, calc(100vw - 32px), calc(66.6667dvh - 21px));
  }

  .site-campaign-card[data-campaign-format="portrait-medium"] {
    width: min(400px, calc(100vw - 32px), calc(83.93vh - 27px));
    width: min(400px, calc(100vw - 32px), calc(83.93dvh - 27px));
  }

  .site-campaign-close {
    top: 10px;
    right: 10px;
  }

  .site-campaign-ad-label {
    top: 10px;
    left: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-campaign-layer,
  .site-campaign-card,
  .site-campaign-visual img,
  .site-campaign-close {
    transition-duration: 1ms !important;
  }

  .site-campaign-card,
  .site-campaign-visual:hover img,
  .site-campaign-close:hover {
    transform: none !important;
  }
}
