/* =========================================================
   Automação Jurídica IA — sistema visual e componentes
   Projeto estático, sem bibliotecas ou fontes externas.
   ========================================================= */

:root {
  --navy-1000: #04111d;
  --navy-950: #071827;
  --navy-900: #0a2034;
  --navy-850: #0d2942;
  --navy-800: #123552;
  --navy-700: #1b496d;
  --blue-700: #1b67c9;
  --blue-600: #2c7be5;
  --blue-500: #4b96f3;
  --teal-700: #087f78;
  --teal-600: #0ba69a;
  --teal-500: #17c3b2;
  --gold-700: #9f7a37;
  --gold-600: #bd9450;
  --gold-500: #d3b06a;
  --gold-300: #ead7a7;
  --ink: #142537;
  --text: #25384c;
  --muted: #637386;
  --muted-dark: #aebccc;
  --line: #dce5ed;
  --line-strong: #c9d5df;
  --paper: #f4f7fa;
  --paper-2: #eef3f7;
  --white: #ffffff;
  --success: #178b70;
  --warning: #9a6b16;
  --danger: #a74444;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --shadow-sm: 0 8px 24px rgba(8, 30, 48, 0.08);
  --shadow-md: 0 18px 50px rgba(8, 30, 48, 0.13);
  --shadow-lg: 0 30px 80px rgba(4, 17, 29, 0.22);
  --container: 1200px;
  --header-height: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
  background: var(--white);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  color: var(--navy-950);
  background: var(--gold-300);
}

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

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

button {
  border: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.75rem, 5.3vw, 5.15rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.15rem, 4vw, 3.75rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

p:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid rgba(44, 123, 229, 0.5);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.section {
  position: relative;
  padding: 116px 0;
}

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: var(--radius-xs);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

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

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  min-height: var(--header-height);
  color: var(--white);
  background: rgba(6, 22, 36, 0.36);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled,
body.legal-page .site-header,
body.not-found-page .site-header {
  background: rgba(7, 24, 39, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(3, 13, 22, 0.18);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--gold-500);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  place-items: center;
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.7;
}

.brand-copy {
  display: flex;
  align-items: baseline;
  color: var(--white);
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-copy strong {
  font-weight: 760;
}

.brand-copy small {
  margin-left: 5px;
  color: var(--gold-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 650;
  transition: color .2s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold-500);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--white);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--white);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  place-items: center;
}

.menu-button svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 18px;
  left: 18px;
  display: grid;
  padding: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  gap: 4px;
}

.mobile-nav a {
  padding: 12px 10px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 9px;
}

.mobile-nav a:hover {
  background: var(--paper);
}

.mobile-nav .button {
  margin-top: 8px;
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), color .22s ease, background .22s ease, border-color .22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-small {
  min-height: 42px;
  padding: 0 17px;
  font-size: 13px;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), #2467c3);
  box-shadow: 0 10px 25px rgba(44, 123, 229, 0.22);
}

.button-primary:hover {
  background: linear-gradient(135deg, #3788ed, var(--blue-700));
  box-shadow: 0 14px 30px rgba(44, 123, 229, 0.32);
}

.button-gold {
  color: #1b2633;
  background: linear-gradient(135deg, #e2c27f, #c79d52);
  box-shadow: 0 14px 30px rgba(197, 155, 78, 0.24);
}

.button-gold:hover {
  background: linear-gradient(135deg, #edd399, #d2aa60);
  box-shadow: 0 16px 34px rgba(197, 155, 78, 0.32);
}

.button-ghost-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.button-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.button-text-light {
  min-height: 44px;
  padding-inline: 8px;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
}

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

.button-wide {
  width: 100%;
}

/* Shared headings */
.eyebrow {
  display: inline-flex;
  margin-bottom: 22px;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 830;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

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

.section-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.section-heading p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered p {
  margin-right: auto;
  margin-left: auto;
}

.section-heading-split {
  display: grid;
  max-width: none;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 80px;
}

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

.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  padding: 158px 0 90px;
  color: var(--white);
  background:
    radial-gradient(circle at 81% 25%, rgba(37, 124, 212, 0.22), transparent 34%),
    radial-gradient(circle at 62% 80%, rgba(13, 169, 156, 0.13), transparent 32%),
    linear-gradient(135deg, var(--navy-1000), var(--navy-900) 54%, #0d2c46);
}

.hero::before {
  position: absolute;
  top: -180px;
  right: -200px;
  width: 720px;
  height: 720px;
  content: "";
  opacity: .28;
  background: repeating-radial-gradient(circle, transparent 0 17px, rgba(255,255,255,.05) 18px 19px);
  border-radius: 50%;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 180px;
  content: "";
  background: linear-gradient(to top, rgba(4, 17, 29, .55), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 52px;
}

.hero-copy {
  position: relative;
  z-index: 4;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--white);
  font-size: clamp(2.8rem, 4.6vw, 4.75rem);
  letter-spacing: -0.05em;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(231, 239, 247, .79);
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  line-height: 1.75;
}

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

.hero-assurances {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 18px 25px;
}

.hero-assurances span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(229, 238, 247, .72);
  font-size: 12px;
  font-weight: 620;
}

.hero-assurances svg {
  width: 15px;
  height: 15px;
  color: var(--gold-500);
}

.hero-product {
  position: relative;
  min-height: 610px;
}

.seal-badge {
  position: absolute;
  z-index: 9;
  top: -6px;
  right: 0;
  display: inline-flex;
  padding: 10px 13px;
  align-items: center;
  gap: 8px;
  color: #dceafb;
  background: rgba(10, 33, 53, .82);
  border: 1px solid rgba(117, 182, 239, .22);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
  backdrop-filter: blur(14px);
}

.seal-badge svg {
  width: 16px;
  height: 16px;
  color: var(--teal-500);
}

.crm-window {
  position: absolute;
  z-index: 2;
  top: 48px;
  right: 0;
  width: 95%;
  overflow: hidden;
  color: var(--text);
  background: #f9fbfd;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 21px;
  box-shadow: 0 38px 85px rgba(0, 0, 0, .34);
  transform: perspective(1400px) rotateY(-3deg) rotateX(1.5deg);
  transform-origin: center;
}

.window-bar {
  display: flex;
  height: 42px;
  padding: 0 14px;
  align-items: center;
  color: #7b8998;
  background: #f0f4f7;
  border-bottom: 1px solid #e0e8ef;
  font-size: 10px;
}

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

.window-dots span {
  width: 7px;
  height: 7px;
  background: #c7d1da;
  border-radius: 50%;
}

.window-title {
  margin: 0 auto;
  font-weight: 650;
}

.live-pill {
  display: inline-flex;
  padding: 5px 8px;
  align-items: center;
  gap: 5px;
  color: #38625e;
  background: #e7f6f2;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 750;
}

.live-pill i {
  width: 5px;
  height: 5px;
  background: var(--teal-600);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(11, 166, 154, .13);
}

.crm-layout {
  display: grid;
  min-height: 465px;
  grid-template-columns: 54px 1fr;
}

.crm-sidebar {
  display: flex;
  padding: 14px 7px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #91a1b0;
  background: var(--navy-950);
}

.mini-logo,
.side-icon {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  place-items: center;
}

.mini-logo {
  margin-bottom: 10px;
  color: var(--gold-500);
  background: rgba(255,255,255,.07);
}

.mini-logo svg {
  width: 21px;
  height: 21px;
}

.side-icon svg {
  width: 16px;
  height: 16px;
}

.side-icon.active {
  color: var(--white);
  background: var(--blue-600);
}

.crm-content {
  padding: 18px;
}

.crm-heading {
  display: flex;
  margin-bottom: 14px;
  align-items: center;
  justify-content: space-between;
}

.crm-heading div {
  display: grid;
}

.crm-heading small {
  color: #8998a7;
  font-size: 8px;
}

.crm-heading strong {
  color: #26394b;
  font-size: 13px;
}

.avatar-stack {
  display: flex;
  padding-right: 5px;
}

.avatar-stack i {
  width: 22px;
  height: 22px;
  margin-right: -6px;
  background: linear-gradient(145deg, #c9d8e4, #8ba6ba);
  border: 2px solid #f9fbfd;
  border-radius: 50%;
}

.avatar-stack i:nth-child(2) { background: linear-gradient(145deg, #e6cfb0, #b58b62); }
.avatar-stack i:nth-child(3) { background: linear-gradient(145deg, #a9d7d1, #5e9b94); }

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

.metric-grid article {
  display: flex;
  min-width: 0;
  padding: 11px;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid #e4ebf1;
  border-radius: 10px;
}

.metric-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  border-radius: 8px;
  place-items: center;
}

.metric-icon svg {
  width: 15px;
  height: 15px;
}

.metric-icon.blue { color: #2f79d4; background: #eaf3ff; }
.metric-icon.teal { color: #0b9589; background: #e5f7f4; }
.metric-icon.gold { color: #a57b32; background: #fbf4e5; }

.metric-grid article > div {
  display: grid;
  min-width: 0;
  line-height: 1.1;
}

.metric-grid small {
  overflow: hidden;
  color: #8696a5;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-grid strong {
  margin: 3px 0 2px;
  color: #21384d;
  font-size: 14px;
}

.metric-grid em {
  overflow: hidden;
  color: #4d8d7b;
  font-size: 6px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-panels {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 10px;
}

.process-panel,
.agenda-panel {
  min-width: 0;
  padding: 12px;
  background: var(--white);
  border: 1px solid #e4ebf1;
  border-radius: 11px;
}

.panel-head {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
  justify-content: space-between;
}

.panel-head strong {
  color: #2a3d50;
  font-size: 9px;
}

.panel-head span {
  color: var(--blue-600);
  font-size: 7px;
  font-weight: 700;
}

.process-row {
  display: grid;
  padding: 8px 0;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #eef2f5;
}

.case-icon {
  display: grid;
  width: 25px;
  height: 25px;
  color: #547493;
  background: #eef4f8;
  border-radius: 7px;
  place-items: center;
}

.case-icon svg {
  width: 12px;
  height: 12px;
}

.process-row > div {
  display: grid;
  min-width: 0;
}

.process-row strong {
  overflow: hidden;
  color: #354b5f;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.process-row small {
  overflow: hidden;
  color: #91a0ae;
  font-size: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status {
  padding: 3px 5px;
  border-radius: 999px;
  font-size: 5px;
  font-weight: 800;
  text-transform: uppercase;
}

.status.waiting { color: #8a6724; background: #fbf2df; }
.status.action { color: #3071b6; background: #e8f2fd; }
.status.new { color: #2a806f; background: #e6f6f2; }

.calendar-strip {
  display: grid;
  margin-bottom: 10px;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}

.calendar-strip span {
  display: grid;
  padding: 5px 2px;
  color: #9aa8b4;
  border-radius: 5px;
  font-size: 5px;
  place-items: center;
}

.calendar-strip small {
  color: #4d6174;
  font-size: 8px;
  font-weight: 800;
}

.calendar-strip .selected {
  color: #dbe8f6;
  background: var(--navy-800);
}

.calendar-strip .selected small {
  color: var(--white);
}

.appointment {
  display: grid;
  padding: 7px 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  border-top: 1px solid #eef2f5;
}

.appointment time {
  color: #31506c;
  font-size: 7px;
  font-weight: 750;
}

.appointment div {
  display: grid;
  min-width: 0;
}

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

.appointment strong { color: #42576a; font-size: 6px; }
.appointment small { color: #95a3b0; font-size: 5px; }

.verified,
.pending {
  display: grid;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  place-items: center;
}

.verified { color: #15856b; background: #e3f5ef; }
.pending { color: #a4782c; background: #fbf1df; }
.verified svg,
.pending svg { width: 9px; height: 9px; }

.chat-card {
  position: absolute;
  z-index: 6;
  bottom: 8px;
  left: -10px;
  width: 300px;
  overflow: hidden;
  color: var(--text);
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 17px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .3);
  transform: rotate(-1.5deg);
  backdrop-filter: blur(12px);
}

.chat-card-head {
  display: grid;
  padding: 12px 13px;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 9px;
  color: var(--white);
  background: var(--navy-900);
}

.chat-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  color: var(--gold-500);
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  place-items: center;
}

.chat-avatar svg { width: 17px; height: 17px; }
.chat-card-head > div { display: grid; }
.chat-card-head strong { font-size: 9px; }
.chat-card-head small { display: flex; align-items: center; gap: 4px; color: #b9c7d5; font-size: 6px; }
.chat-card-head small i { width: 5px; height: 5px; background: var(--teal-500); border-radius: 50%; }
.lock-mini { color: #9eb0c1; }
.lock-mini svg { width: 13px; height: 13px; }

.chat-card-body {
  display: grid;
  padding: 13px;
  background: #f4f7f9;
  gap: 8px;
}

.bubble {
  width: fit-content;
  max-width: 84%;
  padding: 8px 10px;
  font-size: 7px;
  line-height: 1.45;
}

.bubble.bot {
  background: var(--white);
  border: 1px solid #e3eaf0;
  border-radius: 5px 10px 10px 10px;
}

.choice-row {
  display: flex;
  justify-content: flex-end;
}

.choice-row span {
  padding: 7px 9px;
  color: var(--white);
  background: var(--blue-600);
  border-radius: 9px 4px 9px 9px;
  font-size: 7px;
}

.token-digits {
  display: flex;
  gap: 5px;
}

.token-digits span {
  display: grid;
  width: 25px;
  height: 27px;
  color: #2d4961;
  background: var(--white);
  border: 1px solid #d6e0e8;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  place-items: center;
}

.security-card {
  position: absolute;
  z-index: 7;
  right: -14px;
  bottom: 56px;
  display: grid;
  width: 220px;
  padding: 12px;
  grid-template-columns: 34px 1fr 22px;
  align-items: center;
  gap: 8px;
  color: var(--text);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0,0,0,.24);
  transform: rotate(2deg);
}

.security-card > span {
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--teal-700);
  background: #e7f7f3;
  border-radius: 10px;
  place-items: center;
}

.security-card span svg { width: 18px; height: 18px; }
.security-card > div { display: grid; }
.security-card strong { color: #253a4d; font-size: 8px; }
.security-card small { color: #7e8f9e; font-size: 6px; }
.security-card > i { display: grid; width: 20px; height: 20px; color: var(--white); background: var(--teal-600); border-radius: 50%; place-items: center; }
.security-card > i svg { width: 11px; height: 11px; }

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Resource strip */
.proof-strip {
  position: relative;
  z-index: 5;
  color: var(--white);
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,.06);
}

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

.proof-grid > div {
  display: grid;
  min-height: 118px;
  padding: 24px 26px;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 13px;
  border-left: 1px solid rgba(255,255,255,.07);
}

.proof-grid > div:last-child {
  border-right: 1px solid rgba(255,255,255,.07);
}

.proof-grid > div > svg {
  width: 27px;
  height: 27px;
  color: var(--gold-500);
}

.proof-grid span {
  display: grid;
}

.proof-grid strong {
  color: #ecf3f9;
  font-size: 13px;
  line-height: 1.25;
}

.proof-grid small {
  margin-top: 4px;
  color: #8497a9;
  font-size: 10px;
  line-height: 1.35;
}

/* Interactive demo */
.intro-section {
  overflow: hidden;
}

.interactive-demo {
  position: relative;
  display: grid;
  margin-bottom: 88px;
  padding: 48px;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 62px;
  overflow: hidden;
  background:
    radial-gradient(circle at 13% 17%, rgba(44,123,229,.08), transparent 28%),
    linear-gradient(145deg, #f4f8fc, #edf3f7);
  border: 1px solid #dae5ee;
  border-radius: var(--radius-xl);
}

.interactive-demo::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 470px;
  height: 470px;
  content: "";
  border: 1px solid rgba(44,123,229,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(44,123,229,.03), 0 0 0 90px rgba(44,123,229,.025);
}

.demo-copy {
  position: relative;
  z-index: 2;
}

.demo-copy h3 {
  margin-bottom: 17px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.demo-copy > p {
  margin-bottom: 24px;
  color: var(--muted);
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-list svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--teal-700);
}

.check-list.compact {
  display: grid;
  margin-bottom: 24px;
  gap: 10px;
  color: #41576c;
  font-size: 13px;
  font-weight: 620;
}

.text-link,
.inline-link {
  display: inline-flex;
  padding: 0;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  cursor: pointer;
  background: transparent;
  font-size: 13px;
  font-weight: 760;
}

.text-link svg,
.inline-link svg {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

.text-link:hover svg {
  transform: rotate(-45deg);
}

.inline-link:hover svg {
  transform: translateX(3px);
}

.demo-device {
  position: relative;
  z-index: 2;
  width: min(100%, 590px);
  min-height: 590px;
  margin-left: auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #d2dee8;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}

.demo-device-head {
  display: grid;
  min-height: 74px;
  padding: 13px 18px;
  grid-template-columns: 43px 1fr auto;
  align-items: center;
  gap: 11px;
  color: var(--white);
  background: var(--navy-900);
}

.demo-avatar {
  display: grid;
  width: 43px;
  height: 43px;
  color: var(--gold-500);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;
  place-items: center;
}

.demo-avatar svg { width: 23px; height: 23px; }
.demo-device-head > div { display: grid; }
.demo-device-head strong { font-size: 13px; }
.demo-device-head small { display: flex; align-items: center; gap: 6px; color: #a8bacb; font-size: 9px; }
.demo-device-head small i { width: 6px; height: 6px; background: var(--teal-500); border-radius: 50%; box-shadow: 0 0 0 4px rgba(23,195,178,.12); }
.demo-secure { color: #99aebf; }
.demo-secure svg { width: 18px; height: 18px; }

.demo-messages {
  display: flex;
  height: 390px;
  padding: 22px;
  overflow-y: auto;
  flex-direction: column;
  background:
    linear-gradient(rgba(247,249,251,.92), rgba(247,249,251,.92)),
    radial-gradient(circle at 1px 1px, #b8c8d5 1px, transparent 0);
  background-size: auto, 20px 20px;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: #bdcbd6 transparent;
}

.demo-message {
  display: flex;
  max-width: 84%;
  flex-direction: column;
  animation: message-in .32s var(--ease) both;
}

.demo-message.bot {
  align-self: flex-start;
}

.demo-message.user {
  align-self: flex-end;
}

.demo-message .message-bubble {
  padding: 11px 13px;
  color: #344b60;
  background: var(--white);
  border: 1px solid #dfe7ed;
  border-radius: 7px 14px 14px 14px;
  box-shadow: 0 5px 13px rgba(11,39,61,.05);
  font-size: 12px;
  line-height: 1.55;
}

.demo-message.user .message-bubble {
  color: var(--white);
  background: var(--blue-700);
  border-color: var(--blue-700);
  border-radius: 14px 7px 14px 14px;
}

.demo-message time {
  margin-top: 3px;
  color: #8a9aa8;
  font-size: 8px;
}

.demo-message.user time {
  text-align: right;
}

.demo-message .message-bubble strong {
  color: inherit;
}

.demo-message .message-bubble small {
  display: block;
  margin-top: 7px;
  color: #6f8294;
  font-size: 9px;
}

.demo-message.user .message-bubble small {
  color: rgba(255,255,255,.72);
}

.demo-confirmation {
  margin-top: 8px;
  padding: 11px;
  background: #edf8f5;
  border: 1px solid #cbece3;
  border-radius: 10px;
}

.demo-confirmation span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #236e62;
  font-size: 10px;
  font-weight: 800;
}

.demo-actions {
  display: flex;
  min-height: 90px;
  padding: 14px 18px;
  align-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--white);
  border-top: 1px solid #e1e8ee;
}

.demo-option {
  min-height: 36px;
  padding: 8px 12px;
  color: var(--blue-700);
  cursor: pointer;
  background: #f0f6fd;
  border: 1px solid #cfe0f2;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.demo-option:hover {
  color: var(--white);
  background: var(--blue-700);
  transform: translateY(-1px);
}

.demo-option.secondary {
  color: #526b80;
  background: #f4f6f8;
  border-color: #dfe5ea;
}

.demo-option.secondary:hover {
  color: var(--white);
  background: var(--navy-800);
}

.demo-token-form,
.demo-terms-form {
  width: 100%;
}

.demo-token-form label {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
}

.demo-token-form input {
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  flex: 1;
  color: var(--ink);
  background: #f8fafb;
  border: 1px solid #cfdbe4;
  border-radius: 9px;
  letter-spacing: .25em;
}

.demo-token-form button,
.demo-terms-form button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--white);
  cursor: pointer;
  background: var(--blue-700);
  border-radius: 9px;
  font-size: 10px;
  font-weight: 750;
}

.demo-hint {
  display: block;
  width: 100%;
  margin-top: 4px;
  color: #8192a1;
  font-size: 8px;
}

.demo-terms-form label {
  display: flex;
  margin-bottom: 9px;
  align-items: flex-start;
  gap: 8px;
  color: #4a6073;
  font-size: 9px;
  line-height: 1.4;
}

.demo-terms-form input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--blue-700);
}

.demo-terms-form a {
  color: var(--blue-700);
  font-weight: 750;
  text-decoration: underline;
}

.demo-device-foot {
  display: flex;
  min-height: 34px;
  padding: 7px 16px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #6e8294;
  background: #f6f8fa;
  border-top: 1px solid #e5ebf0;
  font-size: 8px;
  font-weight: 650;
}

.demo-device-foot svg {
  width: 13px;
  height: 13px;
  color: var(--teal-700);
}

@keyframes message-in {
  from { opacity: 0; transform: translateY(7px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Process steps */
.steps-heading {
  max-width: 620px;
  margin-bottom: 34px;
}

.steps-heading h3 {
  margin-bottom: 8px;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.steps-heading p {
  color: var(--muted);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.process-step {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.process-step[open] {
  border-color: #b8cfe2;
  box-shadow: var(--shadow-sm);
}

.process-step summary {
  display: grid;
  min-height: 86px;
  padding: 17px 19px;
  grid-template-columns: 44px 1fr 22px;
  align-items: center;
  gap: 13px;
  cursor: pointer;
  list-style: none;
}

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

.step-number {
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--blue-700);
  background: #edf5fd;
  border: 1px solid #d3e4f5;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 830;
  place-items: center;
}

.process-step summary > div {
  display: grid;
}

.process-step summary strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.process-step summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.process-step summary > svg {
  width: 18px;
  height: 18px;
  color: #8192a1;
  transition: transform .25s ease;
}

.process-step[open] summary > svg {
  transform: rotate(180deg);
}

.step-content {
  padding: 0 20px 22px 76px;
  color: #4c6073;
  font-size: 13px;
}

.step-content p {
  margin-bottom: 13px;
}

.step-content blockquote {
  margin-bottom: 13px;
  padding: 13px 15px;
  color: #284560;
  background: #f3f7fa;
  border-left: 3px solid var(--blue-600);
  border-radius: 0 9px 9px 0;
  font-size: 12px;
  font-style: italic;
}

.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.option-chips span {
  padding: 6px 9px;
  color: #3b6384;
  background: #eef5fb;
  border: 1px solid #d4e5f3;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
}

.note {
  display: flex;
  padding: 12px 13px;
  align-items: flex-start;
  gap: 10px;
  border-radius: 10px;
}

.note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.note-security {
  color: #24675f;
  background: #eaf7f4;
  border: 1px solid #cceae4;
}

.note-warning {
  margin-bottom: 12px;
  color: #76551e;
  background: #fbf5e9;
  border: 1px solid #eddfbf;
}

.sample-checkbox {
  display: flex;
  margin: 14px 0;
  align-items: flex-start;
  gap: 8px;
  color: #354b5f;
  font-weight: 650;
}

.sample-checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--blue-700);
}

/* Benefits */
.benefit-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.benefit-group {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.benefit-group.client-benefits {
  background: var(--navy-900);
  border-color: var(--navy-800);
}

.benefit-group-head {
  display: flex;
  margin-bottom: 28px;
  align-items: center;
  gap: 16px;
}

.large-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  color: var(--blue-700);
  background: #eaf3fb;
  border-radius: 16px;
  place-items: center;
}

.large-icon svg {
  width: 27px;
  height: 27px;
}

.benefit-group-head > div {
  display: grid;
}

.benefit-group-head small {
  color: var(--blue-700);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.benefit-group-head h3 {
  margin: 3px 0 0;
  font-size: 21px;
}

.client-benefits .large-icon {
  color: var(--gold-500);
  background: rgba(255,255,255,.07);
}

.client-benefits .benefit-group-head small {
  color: var(--gold-500);
}

.client-benefits .benefit-group-head h3 {
  color: var(--white);
}

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

.benefit-grid > div {
  display: grid;
  min-height: 98px;
  padding: 15px;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
  background: #f7f9fb;
  border: 1px solid #e8edf1;
  border-radius: 12px;
}

.benefit-grid > div > svg {
  width: 22px;
  height: 22px;
  color: var(--blue-700);
}

.benefit-grid span {
  display: grid;
}

.benefit-grid strong {
  color: #2b4155;
  font-size: 11px;
  line-height: 1.35;
}

.benefit-grid small {
  margin-top: 4px;
  color: #758596;
  font-size: 9px;
  line-height: 1.4;
}

.client-benefits .benefit-grid > div {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.08);
}

.client-benefits .benefit-grid > div > svg {
  color: var(--teal-500);
}

.client-benefits .benefit-grid strong {
  color: #e7eff6;
}

.client-benefits .benefit-grid small {
  color: #91a4b6;
}

/* Security */
.security-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 38%, rgba(23,195,178,.12), transparent 25%),
    radial-gradient(circle at 20% 20%, rgba(44,123,229,.13), transparent 30%),
    linear-gradient(145deg, var(--navy-1000), var(--navy-900));
}

.security-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to right, transparent, black 35%, black 70%, transparent);
}

.security-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 86px;
}

.security-copy h2 {
  max-width: 600px;
  color: var(--white);
}

.security-lead {
  max-width: 610px;
  margin-bottom: 28px;
  color: #b8c8d7;
  font-size: 18px;
}

.security-list {
  display: grid;
  margin-bottom: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 18px;
}

.security-list span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d8e4ee;
  font-size: 12px;
  font-weight: 620;
}

.security-list svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--teal-500);
}

.security-disclaimer {
  display: flex;
  margin-bottom: 28px;
  padding: 17px;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
}

.security-disclaimer > svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--gold-500);
}

.security-disclaimer p {
  color: #adbecd;
  font-size: 12px;
}

.security-disclaimer strong {
  color: var(--white);
}

.token-visual {
  position: relative;
  display: grid;
  min-height: 570px;
  place-items: center;
}

.security-orbit {
  position: absolute;
  border: 1px solid rgba(130,190,223,.16);
  border-radius: 50%;
}

.orbit-one {
  width: 510px;
  height: 510px;
}

.orbit-two {
  width: 400px;
  height: 400px;
  border-style: dashed;
  animation: rotate-orbit 30s linear infinite;
}

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

.token-panel {
  position: relative;
  z-index: 3;
  width: min(100%, 405px);
  padding: 38px 34px;
  color: var(--text);
  text-align: center;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 28px;
  box-shadow: 0 35px 80px rgba(0,0,0,.32);
}

.token-shield {
  display: grid;
  width: 70px;
  height: 70px;
  margin: -75px auto 20px;
  color: var(--white);
  background: linear-gradient(145deg, var(--teal-600), #087f78);
  border: 6px solid var(--navy-900);
  border-radius: 22px;
  box-shadow: 0 12px 25px rgba(11,166,154,.28);
  place-items: center;
}

.token-shield svg {
  width: 31px;
  height: 31px;
}

.token-panel > small {
  color: var(--blue-700);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.token-panel h3 {
  margin: 7px 0 10px;
  font-size: 23px;
}

.token-panel > p {
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 12px;
}

.token-inputs {
  display: flex;
  margin-bottom: 22px;
  justify-content: center;
  gap: 7px;
}

.token-inputs span {
  display: grid;
  width: 42px;
  height: 48px;
  color: #263e54;
  background: #f5f8fa;
  border: 1px solid #cfdbe5;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
  place-items: center;
}

.token-status {
  display: grid;
  padding: 12px 14px;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: #e9f7f3;
  border: 1px solid #c9ebe2;
  border-radius: 12px;
}

.token-status > svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  color: var(--white);
  background: var(--teal-600);
  border-radius: 50%;
}

.token-status span {
  display: grid;
}

.token-status strong { color: #246c61; font-size: 11px; }
.token-status small { color: #609188; font-size: 8px; }

.floating-security-card {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 205px;
  padding: 13px;
  grid-template-columns: 35px 1fr;
  align-items: center;
  gap: 9px;
  color: var(--text);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0,0,0,.25);
}

.floating-security-card > svg {
  width: 35px;
  height: 35px;
  padding: 8px;
  color: var(--blue-700);
  background: #ebf3fb;
  border-radius: 10px;
}

.floating-security-card span { display: grid; }
.floating-security-card strong { color: #2b4357; font-size: 10px; }
.floating-security-card small { color: #788a9a; font-size: 8px; }
.access-card { top: 65px; left: 0; transform: rotate(-3deg); }
.log-card { right: -2px; bottom: 60px; transform: rotate(3deg); }

/* Flow timeline */
.flow-section {
  overflow: hidden;
}

.flow-timeline {
  position: relative;
  display: grid;
  padding: 0;
  grid-template-columns: repeat(11, minmax(82px, 1fr));
  list-style: none;
  gap: 0;
}

.flow-timeline::before {
  position: absolute;
  z-index: 0;
  top: 27px;
  right: 4.5%;
  left: 4.5%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, #b9d7ee, #8dcfc8, #d9c28c);
}

.flow-timeline li {
  position: relative;
  z-index: 1;
  display: grid;
  padding: 0 5px;
  justify-items: center;
  text-align: center;
}

.flow-timeline li > span {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  color: var(--blue-700);
  background: var(--white);
  border: 2px solid #cfe1ee;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(8,30,48,.08);
  place-items: center;
}

.flow-timeline li:nth-child(n+5):nth-child(-n+7) > span {
  color: var(--teal-700);
  border-color: #bfe3dd;
}

.flow-timeline li:nth-child(n+8) > span {
  color: var(--gold-700);
  border-color: #e4d3ad;
}

.flow-timeline svg {
  width: 24px;
  height: 24px;
}

.flow-timeline strong {
  max-width: 110px;
  color: #43596d;
  font-size: 9px;
  line-height: 1.4;
}

/* Use cases */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.use-case-card {
  position: relative;
  min-height: 265px;
  padding: 25px 22px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}

.use-case-card:hover {
  border-color: #bfd3e3;
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.use-case-card > span {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #d6e0e7;
  font-size: 12px;
  font-weight: 850;
}

.use-case-card > svg {
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  padding: 10px;
  color: var(--blue-700);
  background: #eaf3fb;
  border-radius: 13px;
}

.use-case-card:nth-child(even) > svg {
  color: var(--teal-700);
  background: #e7f6f3;
}

.use-case-card h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.use-case-card p {
  color: var(--muted);
  font-size: 12px;
}

/* CRM feature */
.crm-section {
  overflow: hidden;
}

.crm-feature-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  align-items: center;
  gap: 76px;
}

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

.feature-window {
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #d9e3eb;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  transform: perspective(1300px) rotateY(2deg);
}

.feature-window-head {
  display: grid;
  height: 48px;
  padding: 0 16px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #718393;
  background: #edf2f6;
  border-bottom: 1px solid #dbe4eb;
  font-size: 9px;
}

.feature-window-head > span {
  display: flex;
  gap: 5px;
}

.feature-window-head i {
  width: 7px;
  height: 7px;
  background: #c6d1da;
  border-radius: 50%;
}

.feature-window-head strong {
  color: #43586b;
  font-size: 10px;
}

.feature-window-head small {
  justify-self: end;
  font-size: 7px;
}

.feature-window-body {
  display: grid;
  min-height: 455px;
  grid-template-columns: 54px 1fr;
}

.feature-window-body > aside {
  display: flex;
  padding: 16px 8px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #8093a4;
  background: var(--navy-950);
}

.feature-window-body > aside span {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  place-items: center;
}

.feature-window-body > aside span.active {
  color: var(--white);
  background: var(--blue-600);
}

.feature-window-body > aside svg {
  width: 16px;
  height: 16px;
}

.feature-dashboard {
  min-width: 0;
  padding: 18px;
}

.feature-search {
  display: grid;
  height: 38px;
  margin-bottom: 18px;
  padding: 0 11px;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 8px;
  color: #91a0ad;
  background: var(--white);
  border: 1px solid #dfe7ed;
  border-radius: 9px;
  font-size: 8px;
}

.feature-search svg { width: 14px; height: 14px; }
.feature-search kbd { padding: 3px 6px; color: #7d8d9b; background: #f0f3f6; border: 1px solid #e0e5e9; border-radius: 5px; font-family: inherit; font-size: 6px; }

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

.pipeline-title > div { display: grid; }
.pipeline-title small { color: #8b9aa7; font-size: 7px; }
.pipeline-title strong { color: #334c61; font-size: 11px; }
.pipeline-title button { padding: 6px 9px; color: var(--white); background: var(--blue-600); border-radius: 7px; font-size: 7px; font-weight: 750; }

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

.pipeline-col {
  min-width: 0;
  padding: 8px;
  background: #f0f4f7;
  border-radius: 9px;
}

.pipeline-col header {
  display: flex;
  margin-bottom: 8px;
  align-items: center;
  justify-content: space-between;
  color: #647688;
  font-size: 7px;
  font-weight: 750;
}

.pipeline-col header b {
  display: grid;
  width: 16px;
  height: 16px;
  background: #e1e8ee;
  border-radius: 5px;
  font-size: 6px;
  place-items: center;
}

.pipeline-col article {
  margin-bottom: 7px;
  padding: 10px;
  background: var(--white);
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(7,31,49,.04);
}

.pipeline-col article > small {
  color: var(--blue-600);
  font-size: 5px;
  font-weight: 850;
  letter-spacing: .07em;
}

.pipeline-col article > strong {
  display: block;
  overflow: hidden;
  margin: 3px 0 2px;
  color: #3b5367;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pipeline-col article > p {
  overflow: hidden;
  margin-bottom: 9px;
  color: #8b9aa7;
  font-size: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pipeline-col footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #98a6b2;
  font-size: 5px;
}

.avatar-dot {
  width: 12px;
  height: 12px;
  background: linear-gradient(145deg, #b9d2df, #6f91a6);
  border-radius: 50%;
}

.floating-metric {
  position: absolute;
  right: -18px;
  bottom: -22px;
  display: grid;
  width: 245px;
  padding: 16px;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 11px;
  background: var(--white);
  border: 1px solid #dce5ec;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.floating-metric > span {
  display: grid;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: var(--teal-600);
  border-radius: 12px;
  place-items: center;
}

.floating-metric svg { width: 20px; height: 20px; }
.floating-metric > div { display: grid; }
.floating-metric small { color: #7b8d9c; font-size: 9px; }
.floating-metric strong { color: #2d465a; font-size: 12px; }

.crm-feature-copy > p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
}

.data-grid {
  display: grid;
  margin-bottom: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.data-grid span {
  display: flex;
  min-height: 43px;
  padding: 8px 10px;
  align-items: center;
  gap: 9px;
  color: #40586b;
  background: #f5f8fa;
  border: 1px solid #e1e8ed;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 680;
}

.data-grid svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--blue-700);
}

/* Integrations */
.integrations-section {
  background: var(--paper);
}

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

.integration-grid article {
  min-height: 175px;
  padding: 22px 18px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}

.integration-grid article:hover {
  border-color: #bfd5e5;
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.integration-grid article > span {
  display: grid;
  width: 47px;
  height: 47px;
  margin: 0 auto 15px;
  color: var(--blue-700);
  background: #eaf3fb;
  border-radius: 14px;
  place-items: center;
}

.integration-grid article:nth-child(3n+2) > span {
  color: var(--teal-700);
  background: #e7f6f3;
}

.integration-grid article:nth-child(3n) > span {
  color: var(--gold-700);
  background: #faf3e5;
}

.integration-grid svg { width: 23px; height: 23px; }
.integration-grid strong { display: block; margin-bottom: 5px; color: #30495e; font-size: 12px; line-height: 1.3; }
.integration-grid small { display: block; color: #7b8c9b; font-size: 9px; line-height: 1.45; }

.brand-reference-note {
  max-width: 870px;
  margin: 27px auto 0;
  color: #80909e;
  font-size: 10px;
  text-align: center;
}

/* Terms preview */
.terms-preview-section {
  overflow: hidden;
}

.terms-preview-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 76px;
}

.terms-preview-copy > p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
}

.policy-links {
  display: grid;
  gap: 10px;
}

.policy-links > a {
  display: grid;
  padding: 14px;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.policy-links > a:hover {
  border-color: #bdd3e4;
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.policy-links > a > span {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--blue-700);
  background: #edf5fc;
  border-radius: 12px;
  place-items: center;
}

.policy-links > a > span svg { width: 21px; height: 21px; }
.policy-links > a > div { display: grid; }
.policy-links strong { color: #2d465b; font-size: 12px; }
.policy-links small { color: #8292a0; font-size: 9px; }
.policy-links > a > svg { width: 18px; height: 18px; color: #8292a0; }

.terms-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #d9e3eb;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.terms-card-head {
  display: grid;
  padding: 22px 25px;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 13px;
  color: var(--white);
  background: var(--navy-900);
}

.terms-card-head > span {
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--gold-500);
  background: rgba(255,255,255,.07);
  border-radius: 14px;
  place-items: center;
}

.terms-card-head svg { width: 25px; height: 25px; }
.terms-card-head > div { display: grid; }
.terms-card-head small { color: #91a6b8; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.terms-card-head strong { font-size: 18px; }

.terms-summary {
  padding: 28px;
}

.terms-summary > p {
  margin-bottom: 21px;
  color: #586c7e;
  font-size: 13px;
}

.terms-summary label {
  display: flex;
  margin-bottom: 18px;
  padding: 13px;
  align-items: flex-start;
  gap: 10px;
  color: #344c61;
  background: #f4f8fa;
  border: 1px solid #dfe8ee;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 680;
}

.terms-summary input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--teal-700);
}

.terms-summary button {
  display: flex;
  width: 100%;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 11px;
  font-size: 12px;
  font-weight: 760;
  opacity: .9;
}

.terms-summary button svg { width: 17px; height: 17px; }

.terms-warning {
  display: flex;
  padding: 14px 24px;
  align-items: center;
  gap: 8px;
  color: #846126;
  background: #fbf5e8;
  border-top: 1px solid #eddfbf;
  font-size: 9px;
}

.terms-warning svg { width: 15px; height: 15px; flex: 0 0 auto; }

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  align-items: start;
  gap: 80px;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 36px);
}

.faq-intro > p {
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 17px;
}

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

.faq-list details {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-list details[open] {
  border-color: #bcd2e3;
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  display: grid;
  min-height: 67px;
  padding: 16px 18px;
  grid-template-columns: 1fr 20px;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.faq-list summary strong {
  color: #2c4559;
  font-size: 13px;
}

.faq-list summary svg {
  width: 18px;
  height: 18px;
  color: #7f91a0;
  transition: transform .2s ease;
}

.faq-list details[open] summary svg {
  transform: rotate(180deg);
}

.faq-list details p {
  padding: 0 18px 20px;
  color: var(--muted);
  font-size: 12px;
}

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(23,195,178,.16), transparent 25%),
    linear-gradient(135deg, #0d2d49, var(--navy-950));
}

.final-cta::before {
  position: absolute;
  top: -170px;
  right: -100px;
  width: 440px;
  height: 440px;
  content: "";
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018);
}

.final-cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  align-items: center;
  gap: 70px;
}

.final-cta h2 {
  max-width: 780px;
  color: var(--white);
}

.final-cta p {
  max-width: 720px;
  color: #b3c4d3;
  font-size: 17px;
}

.final-actions {
  display: grid;
  justify-items: stretch;
  gap: 10px;
}

/* Footer */
.site-footer {
  color: #a3b3c1;
  background: var(--navy-1000);
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-grid {
  display: grid;
  padding: 65px 0 50px;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
}

.brand-footer .brand-mark {
  width: 45px;
  height: 45px;
}

.footer-brand > p {
  max-width: 340px;
  margin: 19px 0;
  color: #8093a4;
  font-size: 13px;
}

.independent-badge {
  display: inline-flex;
  padding: 7px 10px;
  align-items: center;
  gap: 7px;
  color: #9fb4c4;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
}

.independent-badge svg { width: 14px; height: 14px; color: var(--teal-500); }

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

.footer-links > div {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 9px;
}

.footer-links strong {
  margin-bottom: 8px;
  color: #e3ebf1;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-links a,
.footer-links button,
.footer-links span {
  padding: 0;
  color: #8295a5;
  cursor: pointer;
  background: transparent;
  font-size: 11px;
  text-align: left;
  transition: color .2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--white);
}

.footer-legal {
  display: flex;
  padding: 24px 0 30px;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.footer-legal p {
  max-width: 820px;
  margin: 0;
  color: #718595;
  font-size: 9px;
}

.footer-legal p:last-child {
  flex: 0 0 auto;
}

/* Modal and forms */
.contact-modal {
  width: min(calc(100% - 32px), 780px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  background: transparent;
  border: 0;
  border-radius: 24px;
}

.contact-modal::backdrop {
  background: rgba(3, 13, 22, .76);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  padding: 35px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 17px;
  right: 17px;
  display: grid;
  width: 39px;
  height: 39px;
  color: #6d7f8f;
  cursor: pointer;
  background: #f1f4f6;
  border-radius: 11px;
  place-items: center;
}

.modal-close:hover {
  color: var(--ink);
  background: #e8edf1;
}

.modal-close svg { width: 19px; height: 19px; }

.modal-intro {
  display: grid;
  margin-bottom: 14px;
  padding-right: 48px;
  grid-template-columns: 53px 1fr;
  align-items: center;
  gap: 14px;
}

.modal-icon {
  display: grid;
  width: 53px;
  height: 53px;
  color: var(--gold-500);
  background: var(--navy-900);
  border-radius: 16px;
  place-items: center;
}

.modal-icon svg { width: 26px; height: 26px; }
.modal-intro > div { display: grid; }
.modal-intro small { color: var(--blue-700); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.modal-intro h2 { margin: 4px 0 0; font-size: 25px; }
.modal-card > p { margin-bottom: 22px; color: var(--muted); font-size: 12px; }

.modal-notice {
  margin-bottom: 18px;
  padding: 11px 13px;
  color: #6f541f;
  background: #fbf5e7;
  border: 1px solid #eadcb9;
  border-radius: 10px;
  font-size: 11px;
}

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

.form-grid label {
  display: grid;
  align-content: start;
  gap: 6px;
}

.form-grid label > span {
  color: #40576a;
  font-size: 10px;
  font-weight: 750;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  color: var(--ink);
  background: #f8fafb;
  border: 1px solid #d4dfe7;
  border-radius: 10px;
  outline: none;
  font-size: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-grid textarea {
  min-height: 100px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  background: var(--white);
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(44,123,229,.1);
}

.form-grid [aria-invalid="true"] {
  border-color: #c96565;
  box-shadow: 0 0 0 3px rgba(201,101,101,.08);
}

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

.field-error {
  min-height: 13px;
  color: var(--danger);
  font-size: 8px;
}

.consent-field {
  display: flex;
  margin-top: 15px;
  align-items: flex-start;
  gap: 9px;
  color: #5f7181;
  font-size: 10px;
  line-height: 1.45;
}

.consent-field input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--blue-700);
}

.consent-field a {
  color: var(--blue-700);
  font-weight: 750;
  text-decoration: underline;
}

.consent-error {
  display: block;
  margin-bottom: 9px;
}

.form-status {
  min-height: 18px;
  margin: 9px 0 0;
  color: var(--success);
  font-size: 10px;
  text-align: center;
}

/* Legal pages */
.legal-page,
.not-found-page {
  background: var(--paper);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 80px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(44,123,229,.18), transparent 29%),
    linear-gradient(135deg, var(--navy-1000), var(--navy-850));
}

.legal-hero::after {
  position: absolute;
  top: -170px;
  right: -80px;
  width: 450px;
  height: 450px;
  content: "";
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255,255,255,.02), 0 0 0 90px rgba(255,255,255,.015);
}

.legal-hero .container {
  position: relative;
  z-index: 2;
  max-width: 950px;
}

.legal-hero h1 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.3rem);
}

.legal-hero p {
  max-width: 760px;
  margin-bottom: 17px;
  color: #b6c6d4;
  font-size: 17px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-meta span {
  display: inline-flex;
  padding: 7px 10px;
  align-items: center;
  gap: 7px;
  color: #c4d2de;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 650;
}

.legal-meta svg { width: 14px; height: 14px; color: var(--gold-500); }

.legal-content-wrap {
  display: grid;
  padding: 72px 0 110px;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 45px;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.legal-toc strong {
  display: block;
  margin-bottom: 11px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  padding: 6px 0;
  color: #687b8c;
  font-size: 10px;
  line-height: 1.35;
  transition: color .2s ease, transform .2s ease;
}

.legal-toc a:hover {
  color: var(--blue-700);
  transform: translateX(3px);
}

.legal-document {
  padding: 46px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.legal-alert {
  display: flex;
  margin-bottom: 35px;
  padding: 17px;
  align-items: flex-start;
  gap: 12px;
  color: #70531e;
  background: #fbf5e8;
  border: 1px solid #ebdcb8;
  border-radius: 13px;
}

.legal-alert svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.legal-alert p {
  margin: 0;
  font-size: 11px;
}

.legal-document section {
  padding: 7px 0 25px;
  scroll-margin-top: calc(var(--header-height) + 30px);
}

.legal-document section + section {
  padding-top: 27px;
  border-top: 1px solid #e7edf1;
}

.legal-document h2 {
  margin-bottom: 14px;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.legal-document h3 {
  margin: 20px 0 10px;
  font-size: 16px;
}

.legal-document p,
.legal-document li {
  color: #53687a;
  font-size: 13px;
  line-height: 1.75;
}

.legal-document ul,
.legal-document ol {
  padding-left: 20px;
}

.legal-document li + li {
  margin-top: 7px;
}

.legal-document a {
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-document blockquote {
  margin: 18px 0;
  padding: 17px 19px;
  color: #36526a;
  background: #f3f7fa;
  border-left: 3px solid var(--blue-600);
  border-radius: 0 11px 11px 0;
  font-size: 12px;
  font-style: italic;
}

.legal-callout {
  margin: 18px 0;
  padding: 17px;
  color: #2c625a;
  background: #eaf7f4;
  border: 1px solid #cce9e3;
  border-radius: 12px;
  font-size: 12px;
}

.legal-back {
  display: inline-flex;
  margin-top: 28px;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 760;
}

.legal-back svg {
  width: 17px;
  height: 17px;
  transform: rotate(180deg);
}

/* 404 */
.not-found-main {
  display: grid;
  min-height: calc(100vh - 230px);
  padding: 155px 24px 90px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(44,123,229,.18), transparent 32%),
    linear-gradient(135deg, var(--navy-1000), var(--navy-850));
  place-items: center;
}

.not-found-card {
  max-width: 680px;
}

.not-found-code {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-500);
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 850;
  letter-spacing: -.08em;
  line-height: .8;
}

.not-found-card h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.not-found-card p {
  margin-bottom: 26px;
  color: #b3c3d1;
}

/* Reveal */
.reveal.is-visible {
  animation: reveal-in .72s var(--ease) both;
}

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1120px) {
  .desktop-nav {
    gap: 20px;
  }

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

  .hero-copy {
    max-width: 880px;
  }

  .hero-product {
    width: min(100%, 760px);
    min-height: 620px;
    margin: 25px auto 0;
  }

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

  .proof-grid > div:nth-child(3) {
    border-top: 1px solid rgba(255,255,255,.07);
  }

  .proof-grid > div:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,.07);
    border-right: 1px solid rgba(255,255,255,.07);
  }

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

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

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

  .crm-feature-grid {
    gap: 45px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 72px;
  }

  .desktop-nav,
  .header-actions .button {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .hero {
    padding-top: 135px;
  }

  .section-heading-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .interactive-demo {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .demo-copy {
    max-width: 680px;
  }

  .demo-device {
    width: 100%;
    margin: 0;
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .security-copy {
    max-width: 760px;
  }

  .token-visual {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .flow-timeline {
    padding-bottom: 12px;
    overflow-x: auto;
    grid-template-columns: repeat(11, 118px);
    scrollbar-width: thin;
  }

  .flow-timeline::before {
    right: 59px;
    left: 59px;
  }

  .crm-feature-grid,
  .terms-preview-grid,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .crm-feature-copy {
    max-width: 760px;
  }

  .terms-card {
    max-width: 680px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .faq-intro {
    position: static;
    max-width: 700px;
  }

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

  .legal-content-wrap {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    display: flex;
    overflow-x: auto;
    align-items: center;
    gap: 15px;
  }

  .legal-toc strong {
    flex: 0 0 auto;
    margin: 0;
  }

  .legal-toc a {
    flex: 0 0 auto;
  }
}

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

  .section {
    padding: 86px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .hero {
    min-height: 0;
    padding: 128px 0 76px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 10vw, 3.8rem);
  }

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

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

  .hero-assurances {
    display: grid;
    gap: 10px;
  }

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

  .crm-window {
    top: 36px;
    width: 100%;
    transform: none;
  }

  .crm-layout {
    min-height: 405px;
  }

  .crm-sidebar {
    display: none;
  }

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

  .crm-content {
    padding: 14px;
  }

  .chat-card {
    bottom: 0;
    left: -4px;
    width: 280px;
  }

  .security-card {
    right: -4px;
    bottom: 40px;
    width: 205px;
  }

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

  .proof-grid > div {
    min-height: 90px;
    border-right: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  .proof-grid > div:nth-child(3),
  .proof-grid > div:nth-child(4) {
    border-top: 0;
  }

  .interactive-demo {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .demo-device {
    min-height: 560px;
    border-radius: 20px;
  }

  .demo-messages {
    height: 360px;
    padding: 16px;
  }

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

  .benefit-group {
    padding: 24px 18px;
  }

  .security-section {
    padding: 88px 0;
  }

  .security-list {
    grid-template-columns: 1fr;
  }

  .token-visual {
    min-height: 520px;
  }

  .orbit-one {
    width: 420px;
    height: 420px;
  }

  .orbit-two {
    width: 330px;
    height: 330px;
  }

  .access-card {
    top: 24px;
    left: -2px;
  }

  .log-card {
    right: -2px;
    bottom: 30px;
  }

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

  .crm-feature-grid {
    gap: 65px;
  }

  .feature-window {
    transform: none;
  }

  .feature-window-body {
    grid-template-columns: 42px 1fr;
  }

  .feature-window-body > aside {
    padding-inline: 4px;
  }

  .feature-dashboard {
    padding: 12px;
  }

  .pipeline-col:nth-child(3) {
    display: none;
  }

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

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

  .final-cta {
    padding: 75px 0;
  }

  .final-actions {
    width: 100%;
  }

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

  .footer-legal {
    flex-direction: column;
  }

  .modal-card {
    padding: 28px 20px;
  }

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

  .form-full {
    grid-column: auto;
  }

  .legal-hero {
    padding: 135px 0 65px;
  }

  .legal-content-wrap {
    padding: 50px 0 80px;
  }

  .legal-document {
    padding: 28px 21px;
  }
}

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

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

  .brand-mark {
    width: 39px;
    height: 39px;
  }

  .hero h1 {
    font-size: 2.42rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-product {
    min-height: 525px;
    margin-top: 8px;
  }

  .seal-badge {
    right: auto;
    left: 0;
  }

  .window-bar {
    height: 36px;
  }

  .live-pill {
    display: none;
  }

  .crm-layout {
    min-height: 345px;
  }

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

  .metric-grid article:nth-child(3) {
    display: none;
  }

  .crm-panels {
    grid-template-columns: 1fr;
  }

  .agenda-panel {
    display: none;
  }

  .chat-card {
    bottom: 0;
    width: 252px;
  }

  .security-card {
    right: -4px;
    bottom: 13px;
    width: 190px;
  }

  .security-card > span {
    width: 30px;
    height: 30px;
  }

  .demo-device-head {
    padding: 10px 12px;
    grid-template-columns: 38px 1fr auto;
  }

  .demo-avatar {
    width: 38px;
    height: 38px;
  }

  .demo-device-head strong {
    font-size: 11px;
  }

  .demo-device-head small {
    font-size: 7px;
  }

  .demo-messages {
    height: 340px;
    padding: 13px;
  }

  .demo-message {
    max-width: 92%;
  }

  .demo-actions {
    padding: 11px;
  }

  .process-step summary {
    padding: 14px;
    grid-template-columns: 39px 1fr 18px;
    gap: 10px;
  }

  .step-number {
    width: 39px;
    height: 39px;
  }

  .step-content {
    padding: 0 14px 18px;
  }

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

  .benefit-grid > div {
    min-height: 84px;
  }

  .token-panel {
    padding: 34px 18px;
  }

  .token-inputs {
    gap: 4px;
  }

  .token-inputs span {
    width: 37px;
    height: 43px;
  }

  .floating-security-card {
    width: 178px;
    padding: 10px;
  }

  .access-card {
    top: 16px;
    left: -8px;
  }

  .log-card {
    right: -7px;
    bottom: 18px;
  }

  .use-case-grid,
  .integration-grid {
    grid-template-columns: 1fr;
  }

  .use-case-card {
    min-height: 220px;
  }

  .feature-window-body {
    min-height: 395px;
    grid-template-columns: 1fr;
  }

  .feature-window-body > aside {
    display: none;
  }

  .feature-dashboard {
    padding: 11px;
  }

  .floating-metric {
    right: 8px;
    bottom: -42px;
    width: 220px;
  }

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

  .policy-links > a {
    grid-template-columns: 38px 1fr auto;
  }

  .terms-summary {
    padding: 21px 18px;
  }

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

  .modal-intro {
    grid-template-columns: 44px 1fr;
  }

  .modal-icon {
    width: 44px;
    height: 44px;
  }

  .modal-intro h2 {
    font-size: 20px;
  }
}

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

/* Contexto semântico entre o destaque e o conteúdo principal */
.seo-context {
  padding: 24px 0;
  background: #eef4f8;
  border-bottom: 1px solid #dde7ee;
}

.seo-context-inner {
  display: flex;
  justify-content: center;
}

.seo-context p {
  max-width: 980px;
  margin: 0;
  color: #52697d;
  font-size: 12px;
  text-align: center;
}

.seo-context strong {
  color: #284a67;
}
