/* ============================================================
   Vértice — site (landing oficial)
   ============================================================ */

:root,
[data-theme="dark"] {
  --m-surface: #0e1013;
  --m-surface-2: #14171b;
  --m-surface-3: #1b1f24;
  --m-border: rgba(243, 241, 234, 0.085);
  --m-border-strong: rgba(243, 241, 234, 0.16);
  --m-muted: #9a9ca3;
  --m-faint: #6c6f77;
  --m-code-bg: #090b0e;
  --m-code-text: #d8d5cc;
  --m-accent-text: var(--accent);
  --wa-bg: #0b141a;
  --wa-wallpaper: #0b141a;
  --wa-header: #1f2c34;
  --wa-in: #202c33;
  --wa-out: #005c4b;
  --wa-text: #e9edef;
  --wa-time: rgba(233, 237, 239, 0.58);
  --wa-line: rgba(233, 237, 239, 0.09);
  --wa-link: #7bd7ff;
  --phone-shell: #15191e;
}

[data-theme="light"] {
  --m-surface: #ffffff;
  --m-surface-2: #f1eee7;
  --m-surface-3: #e8e4db;
  --m-border: rgba(20, 20, 20, 0.09);
  --m-border-strong: rgba(20, 20, 20, 0.17);
  --m-muted: #5e5f64;
  --m-faint: #8b8c91;
  --m-code-bg: #111417;
  --m-code-text: #e7e4dc;
  --m-accent-text: var(--accent-strong);
  --wa-bg: #efeae2;
  --wa-wallpaper: #efeae2;
  --wa-header: #f0f2f5;
  --wa-in: #ffffff;
  --wa-out: #d9fdd3;
  --wa-text: #111b21;
  --wa-time: rgba(17, 27, 33, 0.55);
  --wa-line: rgba(17, 27, 33, 0.1);
  --wa-link: #027eb5;
  --phone-shell: #d8d3ca;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(205, 244, 127, 0.08), transparent 62%),
    radial-gradient(900px 500px at 8% 4%, rgba(148, 180, 255, 0.045), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

[data-theme="light"] body.site {
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(190, 220, 130, 0.2), transparent 62%),
    radial-gradient(900px 500px at 8% 4%, rgba(145, 170, 220, 0.1), transparent 60%),
    var(--bg);
}

body.site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 15%, transparent 75%);
  opacity: 0.55;
}

[data-theme="light"] body.site::before {
  opacity: 0.35;
}

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

button {
  font: inherit;
}

svg {
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ---------------- botões ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

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

.btn svg {
  width: 16px;
  height: 16px;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn--secondary {
  background: var(--m-surface);
  border-color: var(--m-border-strong);
  color: var(--text);
}

.btn--secondary:hover {
  background: var(--m-surface-2);
  border-color: var(--accent-line);
}

.btn--ghost {
  color: var(--text-soft);
}

.btn--ghost:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.btn--lg {
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 14.5px;
}

/* ---------------- nav ---------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    backdrop-filter var(--dur) var(--ease);
}

.nav.is-scrolled {
  background: var(--glass);
  border-bottom-color: var(--m-border);
  backdrop-filter: blur(16px) saturate(140%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  color: var(--text);
}

.brand-mark {
  width: 26px;
  height: 26px;
  color: var(--text);
}

.brand-word {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: auto;
  margin-left: 18px;
  font-size: 13px;
  color: var(--muted);
}

.nav-links a {
  padding: 8px 0;
  transition: color var(--dur) var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

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

.theme-toggle {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--m-border);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--m-border-strong);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
}

[data-theme="dark"] .theme-toggle .icon-moon,
[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

.nav-burger {
  display: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--m-border);
  border-radius: 10px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
}

.nav-burger svg {
  width: 18px;
  height: 18px;
}

.mobile-menu {
  display: none;
  padding: 10px 24px 22px;
  border-bottom: 1px solid var(--m-border);
  background: var(--bg-elevated);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu > a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--m-border-faint);
  color: var(--text-soft);
  font-size: 14px;
}

.mobile-menu-actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 0;
}

.hero-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  width: 1000px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 42%, rgba(205, 244, 127, 0.16), transparent 62%);
  pointer-events: none;
}

.hero-copy {
  max-width: 900px;
  margin-inline: auto;
  padding-top: 22px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--m-accent-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1 {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 6.8vw, 76px);
  font-weight: 600;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.hero h1 .accent {
  display: block;
  color: var(--m-accent-text);
}

.hero-lead {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--m-faint);
  font-size: 12px;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta li::before {
  content: "✓";
  color: var(--m-accent-text);
  font-weight: 700;
}

/* ---------------- demo theater ---------------- */

.demo-wrap {
  margin-top: 54px;
  padding-bottom: 0;
}

.demo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--m-border-strong);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--m-surface), var(--bg-elevated));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 50px 120px -50px rgba(0, 0, 0, 0.9);
}

.demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--m-border);
}

.demo-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: live-pulse 2s ease-in-out infinite;
}

.demo-flag {
  padding: 2px 6px;
  border: 1px solid var(--m-border);
  border-radius: var(--radius-pill);
  color: var(--m-faint);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.demo-tab {
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.demo-tab:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.demo-tab.is-active {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--m-accent-text);
}

.demo-stage {
  display: grid;
  grid-template-columns: 356px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  background:
    radial-gradient(700px 400px at 20% 0%, rgba(205, 244, 127, 0.06), transparent 60%),
    transparent;
}

.phone {
  position: relative;
  width: 100%;
  max-width: 356px;
  margin-inline: auto;
  padding: 10px;
  border: 1px solid var(--m-border-strong);
  border-radius: 48px;
  background: var(--phone-shell);
  box-shadow:
    0 30px 70px -30px rgba(0, 0, 0, 0.8),
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 3;
  width: 108px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  background: #000;
}

.phone-screen {
  overflow: hidden;
  border-radius: 38px;
  background: var(--wa-bg);
}

.wa-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 68px;
  padding: 22px 11px 8px;
  background: var(--wa-header);
  color: var(--wa-text);
}

.wa-back {
  color: var(--wa-text);
  opacity: 0.8;
}

.wa-back svg {
  width: 18px;
  height: 18px;
}

.wa-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wa-contact {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.wa-contact b {
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wa-contact small {
  color: var(--wa-time);
  font-size: 10.5px;
  line-height: 1.2;
}

.wa-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
  opacity: 0.65;
}

.wa-actions svg {
  width: 16px;
  height: 16px;
}

.wa-chat {
  display: flex;
  height: 468px;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  padding: 12px 10px 10px;
  background-color: var(--wa-bg);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
  scrollbar-width: none;
}

[data-theme="light"] .wa-chat {
  background-image:
    radial-gradient(rgba(17, 27, 33, 0.035) 1px, transparent 1px),
    radial-gradient(rgba(17, 27, 33, 0.02) 1px, transparent 1px);
}

.wa-chat::-webkit-scrollbar {
  display: none;
}

.wa-date {
  align-self: center;
  margin: 2px 0 4px;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--wa-time);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

[data-theme="light"] .wa-date {
  background: rgba(17, 27, 33, 0.08);
}

.msg {
  position: relative;
  max-width: 84%;
  padding: 7px 9px 5px;
  border-radius: 10px;
  background: var(--wa-in);
  color: var(--wa-text);
  font-size: 12px;
  line-height: 1.38;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(7px);
  animation: msg-in 0.32s var(--ease) forwards;
  animation-delay: calc(var(--i) * 115ms);
}

.msg--in {
  align-self: flex-start;
  border-top-left-radius: 3px;
}

.msg--out {
  align-self: flex-end;
  border-top-right-radius: 3px;
  background: var(--wa-out);
}

.msg-text {
  display: block;
  padding-right: 36px;
  word-break: break-word;
}

.msg-meta {
  display: block;
  margin-top: 2px;
  color: var(--wa-time);
  font-size: 9px;
  line-height: 1;
  text-align: right;
}

.msg-check {
  margin-left: 2px;
  color: #53bdeb;
  letter-spacing: -0.14em;
}

.msg-author {
  display: block;
  margin-bottom: 2px;
  color: var(--wa-link);
  font-size: 10px;
  font-weight: 600;
}

.msg--typing {
  width: fit-content;
  padding: 10px 12px;
}

.typing-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.typing-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--wa-time);
  animation: typing 1s ease-in-out infinite;
}

.typing-dots i:nth-child(2) {
  animation-delay: 0.14s;
}

.typing-dots i:nth-child(3) {
  animation-delay: 0.28s;
}

.msg--media {
  width: 76%;
  padding: 4px;
}

.media-image {
  display: grid;
  place-items: center;
  height: 102px;
  border-radius: 7px;
  background:
    radial-gradient(110px 80px at 76% 16%, rgba(205, 244, 127, 0.55), transparent 70%),
    linear-gradient(135deg, #163b2e, #0c1f1a);
  color: #d9fdd3;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

[data-theme="light"] .media-image {
  background:
    radial-gradient(110px 80px at 76% 16%, rgba(92, 138, 20, 0.35), transparent 70%),
    linear-gradient(135deg, #d7e9c2, #eef6e5);
  color: #38571a;
}

.media-caption {
  display: block;
  padding: 5px 5px 1px;
  font-size: 11px;
}

.msg--audio {
  display: flex;
  width: 78%;
  align-items: center;
  gap: 7px;
  padding: 8px 9px 5px;
}

.audio-play {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--wa-text);
  color: var(--wa-out);
  font-size: 9px;
}

.audio-wave {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 2px;
  height: 18px;
}

.audio-wave i {
  display: block;
  width: 2px;
  border-radius: 2px;
  background: var(--wa-time);
}

.audio-duration {
  color: var(--wa-time);
  font-size: 9px;
}

.wa-call {
  align-self: center;
  display: flex;
  width: 94%;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 6px 0;
  padding: 18px 14px 14px;
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  background:
    radial-gradient(160px 90px at 50% 0%, rgba(205, 244, 127, 0.16), transparent 70%),
    linear-gradient(180deg, #0b3b2e, #07251d);
  color: #e9edef;
  opacity: 0;
  transform: translateY(7px);
  animation: msg-in 0.32s var(--ease) forwards;
  animation-delay: calc(var(--i) * 115ms);
}

.wa-call-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  font-weight: 700;
}

.wa-call-name {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
}

.wa-call-status {
  color: rgba(233, 237, 239, 0.66);
  font-size: 10.5px;
}

.wa-call-timer {
  margin-top: 3px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 20px;
  letter-spacing: 0.08em;
}

.wa-call-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.wa-call-action {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #e9edef;
  font-size: 13px;
}

.wa-call-action--end {
  background: #e5484d;
  color: #fff;
}

.wa-product {
  align-self: flex-end;
  width: 84%;
  margin: 4px 0;
  overflow: hidden;
  border: 1px solid var(--wa-line);
  border-radius: 12px;
  background: var(--wa-in);
  color: var(--wa-text);
  opacity: 0;
  transform: translateY(7px);
  animation: msg-in 0.32s var(--ease) forwards;
  animation-delay: calc(var(--i) * 115ms);
}

.wa-product-image {
  display: grid;
  place-items: center;
  height: 86px;
  background:
    radial-gradient(110px 80px at 76% 16%, rgba(205, 244, 127, 0.5), transparent 70%),
    linear-gradient(135deg, #163b2e, #0c1f1a);
  color: #d9fdd3;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

[data-theme="light"] .wa-product-image {
  background:
    radial-gradient(110px 80px at 76% 16%, rgba(92, 138, 20, 0.3), transparent 70%),
    linear-gradient(135deg, #d7e9c2, #eef6e5);
  color: #38571a;
}

.wa-product-body {
  padding: 8px 9px 6px;
}

.wa-product-body b {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.wa-product-body small {
  display: block;
  margin-top: 2px;
  color: var(--wa-time);
  font-size: 10px;
}

.wa-product-cta {
  display: block;
  margin-top: 6px;
  padding: 5px 7px;
  border: 1px solid var(--wa-line);
  border-radius: 5px;
  color: var(--wa-link);
  font-size: 10px;
  text-align: center;
}

.wa-card-meta {
  display: block;
  padding: 0 9px 7px;
  color: var(--wa-time);
  font-size: 9px;
  text-align: right;
}

.wa-contact-card {
  align-self: flex-end;
  display: flex;
  width: 86%;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
  padding: 9px 10px;
  border: 1px solid var(--wa-line);
  border-radius: 10px;
  background: var(--wa-in);
  color: var(--wa-text);
  opacity: 0;
  transform: translateY(7px);
  animation: msg-in 0.32s var(--ease) forwards;
  animation-delay: calc(var(--i) * 115ms);
}

.wa-contact-card-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 700;
}

.wa-contact-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.wa-contact-card-body b {
  font-size: 11.5px;
  font-weight: 600;
}

.wa-contact-card-body small {
  color: var(--wa-time);
  font-size: 9.5px;
}

.wa-contact-card-action {
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid var(--wa-line);
  border-radius: 5px;
  color: var(--wa-link);
  font-size: 9.5px;
}

.wa-contact-card .wa-card-meta {
  flex-basis: 100%;
  padding: 0;
  margin-top: 2px;
}

.wa-compose {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 8px 10px;
  background: var(--wa-header);
  color: var(--wa-time);
}

.wa-emoji,
.wa-attach,
.wa-mic {
  font-size: 16px;
  line-height: 1;
}

.wa-input {
  flex: 1;
  padding: 9px 12px;
  border-radius: 20px;
  background: var(--wa-in);
  color: var(--wa-time);
  font-size: 11px;
}

.demo-side {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

.code-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: var(--m-code-bg);
  color: var(--m-code-text);
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.code-title {
  overflow: hidden;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-badge {
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  color: rgba(216, 213, 204, 0.62);
  font-family: var(--font-mono);
  font-size: 9.5px;
  white-space: nowrap;
}

.code-card pre {
  margin: 0;
  padding: 14px 16px;
  overflow: auto;
  max-height: 228px;
}

.code-card code {
  color: var(--m-code-text);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.72;
  white-space: pre-wrap;
}

.tok-method {
  color: #f0cf7a;
}

.tok-path {
  color: #9dc7ff;
}

.tok-string {
  color: #cdf47f;
}

.tok-key {
  color: #9dc7ff;
}

.tok-bool,
.tok-num {
  color: #f0cf7a;
}

.events-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--m-border);
  border-radius: 16px;
  background: var(--m-surface);
}

.events-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--m-border);
  color: var(--text-soft);
  font-size: 11.5px;
  font-weight: 600;
}

.events-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--positive);
  font-size: 10px;
  font-weight: 500;
}

.events-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--positive);
}

.events-list {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  margin: 0;
  padding: 7px 14px 12px;
  overflow: auto;
  list-style: none;
}

.event {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--m-border-faint);
  color: var(--text-soft);
  font-size: 11px;
  opacity: 0;
  animation: event-in 0.3s var(--ease) forwards;
  animation-delay: calc(var(--i) * 90ms);
}

.event:last-child {
  border-bottom: 0;
}

.event-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.event-dot--wait {
  background: var(--warning);
  box-shadow: 0 0 0 3px var(--warning-soft);
}

.event b {
  font-weight: 500;
}

.event small {
  margin-left: 2px;
  color: var(--m-faint);
  font-size: 10px;
}

.event-time {
  margin-left: auto;
  color: var(--m-faint);
  font-family: var(--font-mono);
  font-size: 9.5px;
  white-space: nowrap;
}

.demo-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px 15px;
  border-top: 1px solid var(--m-border);
}

.demo-control {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--m-border);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.demo-control:hover {
  border-color: var(--m-border-strong);
  color: var(--text);
}

.demo-control svg {
  width: 14px;
  height: 14px;
}

.demo-control--play {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.demo-control--play:hover {
  background: var(--accent-strong);
  color: var(--accent-ink);
}

.demo-control--play .icon-play {
  display: none;
}

.demo.is-paused .demo-control--play .icon-play {
  display: block;
}

.demo.is-paused .demo-control--play .icon-pause {
  display: none;
}

.demo.is-paused .demo-progress i {
  animation-play-state: paused;
}

.demo-progress {
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--m-border);
}

.demo-progress i {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  border-radius: inherit;
  background: var(--accent);
  animation: demo-progress 7s linear forwards;
}

.demo-scenario {
  min-width: 92px;
  color: var(--m-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: right;
  white-space: nowrap;
}

/* ---------------- trust strip ---------------- */

.trust-strip {
  margin-top: 24px;
  border-top: 1px solid var(--m-border);
  border-bottom: 1px solid var(--m-border);
  background: var(--bg-elevated);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  color: var(--m-faint);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-inner span {
  padding: 2px 15px;
  border-right: 1px solid var(--m-border);
}

.trust-inner span:last-child {
  border-right: 0;
}

/* ---------------- sections ---------------- */

.section {
  position: relative;
  padding: clamp(72px, 9vw, 112px) 0;
}

.section--muted {
  border-top: 1px solid var(--m-border);
  border-bottom: 1px solid var(--m-border);
  background: var(--bg-elevated);
}

.section-head {
  max-width: 720px;
  margin-bottom: 43px;
}

.section-head h2 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(31px, 4.2vw, 47px);
  font-weight: 600;
  letter-spacing: -0.048em;
  line-height: 1.04;
}

.section-head p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center p {
  margin-inline: auto;
  max-width: 640px;
}

.section-head--split {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.section-head--split > div {
  max-width: 620px;
}

.section-head--split > p {
  max-width: 410px;
  margin: 0 0 3px;
  font-size: 14.5px;
}

/* ---------------- features ---------------- */

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

.feature {
  position: relative;
  grid-column: span 3;
  overflow: hidden;
  padding: 23px;
  border: 1px solid var(--m-border);
  border-radius: 18px;
  background: var(--m-surface);
  transition:
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.feature:hover {
  border-color: var(--m-border-strong);
  background: var(--m-surface-2);
  transform: translateY(-2px);
}

.feature--wide {
  grid-column: span 6;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--m-accent-text);
}

.feature-icon svg {
  width: 19px;
  height: 19px;
}

.feature h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.feature-beta {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 5px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-pill);
  color: var(--m-accent-text);
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
  vertical-align: middle;
}

.feature p {
  max-width: 95%;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.58;
}

.feature-visual {
  margin-top: 18px;
}

.message-visual {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fv-bubble {
  max-width: 88%;
  padding: 6px 9px;
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.4;
}

.fv-in {
  background: var(--m-surface-2);
  color: var(--text-soft);
}

.fv-out {
  align-self: flex-end;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--text);
}

.event-visual {
  display: grid;
  gap: 0;
}

.event-visual > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--m-border-faint);
  color: var(--text-soft);
  font-size: 11px;
}

.event-visual > div:last-child {
  border-bottom: 0;
}

.event-visual b {
  font-weight: 500;
}

.event-visual small {
  margin-left: auto;
  color: var(--m-faint);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.ev-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.ev-dot--wait {
  background: var(--warning);
}

/* ---------------- developer ---------------- */

.dev-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}

.dev-copy h2 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(31px, 4.2vw, 47px);
  font-weight: 600;
  letter-spacing: -0.048em;
  line-height: 1.04;
}

.dev-copy > p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

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

.check-list li {
  position: relative;
  padding-left: 23px;
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.45;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--m-accent-text);
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--m-accent-text);
  font-size: 13.5px;
  font-weight: 600;
}

.text-link svg {
  width: 15px;
  height: 15px;
}

.dev-code {
  min-width: 0;
}

.code-window {
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: var(--m-code-bg);
  box-shadow: 0 25px 60px -35px rgba(0, 0, 0, 0.8);
}

.code-window .code-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  color: var(--m-muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.window-dots {
  display: flex;
  gap: 4px;
}

.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.code-ok {
  margin-left: auto;
  padding: 2px 6px;
  border: 1px solid rgba(205, 244, 127, 0.25);
  border-radius: 4px;
  color: var(--accent);
  font-size: 9px;
}

.copy-btn {
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: transparent;
  color: rgba(216, 213, 204, 0.62);
  font-family: var(--font-mono);
  font-size: 9px;
  cursor: pointer;
}

.copy-btn:hover {
  border-color: var(--accent-line);
  color: var(--accent);
}

.code-window pre {
  margin: 0;
  padding: 14px 16px;
  overflow: auto;
}

.code-window code {
  color: var(--m-code-text);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.72;
  white-space: pre-wrap;
}

.code-note {
  margin: 0;
  color: var(--m-faint);
  font-size: 11.5px;
}

.code-note code {
  color: var(--m-accent-text);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

/* ---------------- steps ---------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 24px;
  border: 1px solid var(--m-border);
  border-radius: 18px;
  background: var(--m-surface);
}

.step-number {
  display: inline-block;
  margin-bottom: 24px;
  padding: 3px 7px;
  border: 1px solid var(--accent-line);
  border-radius: 6px;
  color: var(--m-accent-text);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.58;
}

/* ---------------- pricing ---------------- */

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

.plan {
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--m-border);
  border-radius: 20px;
  background: var(--m-surface);
}

.plan--highlight {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), var(--m-surface) 32%);
  box-shadow:
    0 0 0 1px var(--accent-line),
    0 30px 80px -45px var(--accent-soft);
}

.plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.plan h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.plan-tagline,
.plan-top p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

.tag {
  padding: 3px 7px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-pill);
  color: var(--m-accent-text);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-price {
  margin: 22px 0 6px;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.plan-price span {
  margin-left: 4px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0;
}

.plan-limit {
  min-height: 34px;
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.plan-features {
  display: grid;
  gap: 8px;
  margin: 18px 0 25px;
  padding: 0;
  list-style: none;
}

.plan-features li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 12.5px;
  line-height: 1.45;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--m-accent-text);
  font-weight: 700;
}

.plan-cta {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  margin: 22px 0 0;
  color: var(--m-faint);
  font-size: 11.5px;
  text-align: center;
}

/* ---------------- faq ---------------- */

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
}

.faq-copy h2 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(31px, 4.2vw, 47px);
  font-weight: 600;
  letter-spacing: -0.048em;
  line-height: 1.04;
}

.faq-copy > p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.faq-list details {
  border-bottom: 1px solid var(--m-border);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  color: var(--text-soft);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-plus {
  color: var(--m-accent-text);
  font-size: 18px;
  font-weight: 400;
  transition: transform var(--dur) var(--ease);
}

.faq-list details[open] .faq-plus {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 92%;
  margin: 0;
  padding: 0 0 17px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

/* ---------------- cta ---------------- */

.cta-section {
  padding: clamp(64px, 8vw, 96px) 0;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 68px) 32px;
  border: 1px solid var(--m-border-strong);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--m-surface-2), var(--m-surface));
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  width: 700px;
  height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(205, 244, 127, 0.15), transparent 68%);
  pointer-events: none;
}

.cta-card h2 {
  position: relative;
  max-width: 700px;
  margin: 16px auto 0;
  font-family: var(--font-display);
  font-size: clamp(31px, 4.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.cta-card > p {
  position: relative;
  max-width: 560px;
  margin: 15px auto 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

/* ---------------- footer ---------------- */

.footer {
  padding: 54px 0 24px;
  border-top: 1px solid var(--m-border);
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand p {
  max-width: 280px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.footer-col h4 {
  margin: 4px 0 12px;
  color: var(--m-faint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  font-size: 12.5px;
  transition: color var(--dur) var(--ease);
}

.footer-col a:hover {
  color: var(--m-accent-text);
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--m-border);
  color: var(--m-faint);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

.footer-disclaimer {
  max-width: 590px;
  text-align: right;
}

/* ---------------- reveal ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

[data-delay="1"].reveal {
  transition-delay: 70ms;
}

[data-delay="2"].reveal {
  transition-delay: 140ms;
}

[data-delay="3"].reveal {
  transition-delay: 210ms;
}

[data-delay="4"].reveal {
  transition-delay: 280ms;
}

/* ---------------- keyframes ---------------- */

@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes msg-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes event-in {
  to {
    opacity: 1;
  }
}

@keyframes typing {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes demo-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ---------------- responsive ---------------- */

@media (max-width: 1040px) {
  .nav-links {
    gap: 17px;
    font-size: 12.5px;
  }

  .hero h1 {
    font-size: clamp(42px, 7vw, 64px);
  }

  .demo-stage {
    grid-template-columns: 324px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
  }

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

  .feature,
  .feature--wide {
    grid-column: span 1;
  }

  .dev-grid,
  .faq-grid {
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-signin {
    display: none;
  }

  .nav-burger {
    display: grid;
  }

  .demo-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-tabs {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .demo-tabs::-webkit-scrollbar {
    display: none;
  }

  .demo-stage {
    grid-template-columns: 1fr;
  }

  .phone {
    max-width: 340px;
  }

  .dev-grid,
  .faq-grid,
  .section-head--split {
    grid-template-columns: 1fr;
  }

  .section-head--split {
    display: grid;
    gap: 16px;
  }

  .section-head--split > p {
    max-width: 640px;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .hero {
    padding-top: 36px;
  }

  .hero-copy {
    padding-top: 12px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(38px, 10.5vw, 50px);
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-meta {
    gap: 7px 14px;
    font-size: 11px;
  }

  .demo-wrap {
    margin-top: 36px;
  }

  .demo {
    border-radius: 18px;
  }

  .demo-top {
    padding: 13px 14px;
  }

  .demo-title {
    flex-wrap: wrap;
    font-size: 11.5px;
  }

  .demo-stage {
    gap: 16px;
    padding: 14px;
  }

  .phone {
    max-width: 320px;
    border-radius: 42px;
  }

  .phone-screen {
    border-radius: 33px;
  }

  .wa-chat {
    height: 360px;
  }

  .demo-tabs {
    flex-wrap: wrap;
    overflow: visible;
  }

  .demo-controls {
    flex-wrap: wrap;
    padding: 11px 14px 14px;
  }

  .demo-progress {
    order: 3;
    flex-basis: 100%;
  }

  .demo-scenario {
    order: 4;
    flex-basis: 100%;
    text-align: left;
  }

  .trust-inner {
    gap: 0;
    padding: 12px 0;
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .trust-inner span {
    padding: 5px 10px;
    border-right: 0;
  }

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

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2,
  .dev-copy h2,
  .faq-copy h2 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .section-head p,
  .dev-copy > p {
    font-size: 14.5px;
  }

  .feature {
    padding: 20px;
  }

  .code-window code {
    font-size: 10.5px;
  }

  .cta-card {
    padding: 38px 20px;
    border-radius: 18px;
  }

  .cta-actions {
    flex-direction: column;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .footer-disclaimer {
    text-align: left;
  }
}

/* ---------------- acessibilidade ---------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .msg,
  .event {
    opacity: 1;
    transform: none;
  }

  .demo-progress i {
    animation: none;
    transform: scaleX(1);
  }
}

/* ---------------- simulador de preços (landing oficial) ---------------- */

.plan-simulator {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.plan-quantity-label {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
}

.plan-quantity-control {
  display: grid;
  min-height: 46px;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--m-border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
}

.plan-quantity-control:focus-within {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.plan-quantity-control button {
  border: 0;
  background: var(--m-surface-2);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.plan-quantity-control button:hover:not(:disabled) {
  background: var(--accent-soft);
  color: var(--m-accent-text);
}

.plan-quantity-control button:active:not(:disabled) {
  background: var(--accent-line);
}

.plan-quantity-control button:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: -3px;
}

.plan-quantity-control button:disabled {
  color: var(--m-faint);
  cursor: not-allowed;
  opacity: 0.5;
}

.plan-quantity-control input {
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: 600 18px var(--font-sans);
  font-variant-numeric: tabular-nums;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.plan-quantity-control input::-webkit-inner-spin-button,
.plan-quantity-control input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.plan-quantity-control input:focus {
  outline: 0;
  box-shadow: inset 0 -2px 0 var(--accent-line);
}

.plan-unit-price {
  color: var(--text-soft);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.plan-quantity-help,
.plan-quantity-error {
  color: var(--m-muted);
  font-size: 12px;
  line-height: 1.5;
}

.plan-quantity-error {
  min-height: 1.5em;
  color: var(--danger);
}

.plan [data-plan-total] {
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.plan a[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}

.pricing-fallback {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid var(--m-border);
  border-radius: 18px;
  background: var(--m-surface);
  color: var(--m-muted);
  text-align: center;
}

.pricing-fallback .btn {
  margin-top: 12px;
}

.plan.is-loading {
  pointer-events: none;
}

.skeleton {
  margin-bottom: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--m-surface-2), var(--m-surface-3), var(--m-surface-2));
  background-size: 200% 100%;
  animation: skeleton 1.4s ease-in-out infinite;
}

@keyframes skeleton {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
    background: var(--m-surface-2);
  }
}
