@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-var.woff2') format('woff2');
}

/* Arial scaled to Inter's metrics, so text does not re-wrap (layout shift) when Inter loads. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('ArialMT'), local('Helvetica');
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
  size-adjust: 107.4%;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-soft: #EFF6FF;
  --blue-line: #BFDBFE;
  --cyan: #06B6D4;
  --indigo: #6366F1;
  --navy: #0F172A;
  --slate: #64748B;
  --grey: #E2E8F0;
  --tint: #F8FAFC; /* light grey at low strength: keeps slate body text above 4.5:1 */
  --white: #FFFFFF;
  --wa: #16A34A; /* WhatsApp-style green dark enough for a white icon (3.3:1) */
  --gradient: linear-gradient(90deg, #6366F1 0%, #2563EB 50%, #06B6D4 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 8px 24px rgb(15 23 42 / 0.06);
  --shadow-lift: 0 22px 44px -16px rgb(37 99 235 / 0.30), 0 2px 6px rgb(15 23 42 / 0.05);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 1180px;
  --font: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 760; letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
strong { color: var(--navy); font-weight: 650; }
code { font-size: 0.95em; background: var(--tint); border: 1px solid var(--grey); border-radius: 6px; padding: 0.1em 0.4em; color: var(--navy); }
ul, ol { padding-left: 1.25em; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 800px; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.7em 1.4em;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.2s var(--ease);
}
.btn-sm { min-height: 40px; padding: 0.5em 1.1em; font-size: 0.95rem; }
.btn-lg { min-height: 54px; padding: 0.85em 1.6em; font-size: 1.05rem; }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-arrow { flex: none; transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow, .link-arrow:hover .btn-arrow { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: var(--white); position: relative; isolation: isolate; box-shadow: 0 6px 16px -6px rgb(37 99 235 / 0.55); }
.btn-primary::after {
  content: ''; position: absolute; inset: 4px 10px -6px; z-index: -1; border-radius: inherit;
  background: var(--gradient); filter: blur(14px); opacity: 0; transition: opacity 0.25s;
}
.btn-primary:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-2px); }
.btn-primary:hover::after { opacity: 0.6; }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-primary:disabled { cursor: progress; opacity: 0.85; transform: none; }
.btn-secondary { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue-soft); color: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); }
.btn .icon-wa, .btn .icon { flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.btn-row-center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
  animation: fade-in 0.6s ease-out both;
}
.site-header.scrolled {
  background: rgb(255 255 255 / 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom-color: rgb(226 232 240 / 0.9);
  box-shadow: 0 8px 28px -12px rgb(15 23 42 / 0.18);
}
html:not(.io) .site-header { background: var(--white); border-bottom-color: var(--grey); }
.site-header::before { content: ''; display: block; height: 3px; background: var(--gradient); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; padding: 6px 0; }
.brand img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  position: relative; color: var(--navy); font-weight: 550; font-size: 0.97rem; text-decoration: none; padding: 6px 0;
}
.site-nav ul a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav ul a:hover { color: var(--blue); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current='page']::after { transform: scaleX(1); }
.site-nav ul a[aria-current='page'] { color: var(--blue); }
.header-social {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: var(--slate); transition: color 0.2s, background-color 0.2s;
}
.header-social:hover { color: var(--blue); background: var(--blue-soft); }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px;
  border: 1px solid var(--grey); border-radius: var(--radius-sm); background: var(--white); cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 11px; width: 20px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform 0.2s, background-color 0.2s;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ''; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .header-social { display: none; }
  .js .nav-toggle { display: block; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--white); border-bottom: 1px solid var(--grey); padding: 12px 20px 24px;
    box-shadow: 0 16px 32px -12px rgb(15 23 42 / 0.18);
  }
  .js .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--grey); }
  .site-nav ul a::after { display: none; }
  .header-inner { position: relative; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-bottom: 12px; }
  html:not(.js) .site-nav { flex-wrap: wrap; }
}

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(48px, 7vw, 80px) 0; }
.section-top-0 { padding-top: 0; }
/* Tinted sections only hold headings and white cards, so body text never sits on a tint. */
.tint { background: var(--tint); }
.tint::before, .tint::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgb(99 102 241 / 0.45), rgb(37 99 235 / 0.45), rgb(6 182 212 / 0.45), transparent);
}
.tint::before { top: 0; }
.tint::after { bottom: 0; }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-link { margin: 2.5rem 0 0; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.28rem); line-height: 1.65; }
.fine { font-size: 0.95rem; margin-top: 1.1rem; }

/* gradient highlight under key words */
.hl {
  background-image:
    linear-gradient(90deg, #6366F1, #2563EB, #06B6D4, #2563EB, #6366F1),
    linear-gradient(90deg, rgb(99 102 241 / 0.12), rgb(6 182 212 / 0.12));
  background-repeat: no-repeat;
  background-size: 200% 0.12em, 100% 0.42em;
  background-position: 0 96%, 0 88%;
  padding-bottom: 0.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hl-animated { animation: hl-draw 1.1s cubic-bezier(0.6, 0, 0.2, 1) 0.45s both, hl-shift 5s ease-in-out 1.6s infinite alternate; }
@keyframes hl-draw {
  from { background-size: 0% 0.12em, 0% 0.42em; }
  to { background-size: 200% 0.12em, 100% 0.42em; }
}
@keyframes hl-shift { to { background-position: 100% 96%, 0 88%; } }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--grey); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.card > :last-child { margin-bottom: 0; }

/* ---------- load and scroll animations ---------- */
@keyframes fade-in { from { opacity: 0.01; } }
@keyframes rise { from { opacity: 0.01; translate: 0 18px; } }
@keyframes reveal { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
.load-rise { animation: rise 0.8s var(--ease) var(--d, 0s) both; }

/* Hidden only when JS is on; the observer adds .is-visible. */
.js .reveal, .js .timeline .step { opacity: 0; }
.reveal.is-visible, .timeline.is-visible .step { animation: reveal 0.8s var(--ease) var(--d, 0s) both; }
/* If the script never runs, reveal everything after a moment. */
html.js:not(.io) .reveal, html.js:not(.io) .timeline .step { animation: reveal 0.6s ease-out 1.5s both; }
html.js:not(.io) .timeline-line { transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 112px) 0 clamp(72px, 9vw, 120px); }
.hero-mesh {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 62%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 62%);
}
.hero-mesh span {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-mesh span:nth-child(1) { top: -160px; right: 6%; background: radial-gradient(closest-side, rgb(99 102 241 / 0.30), transparent); }
.hero-mesh span:nth-child(2) { top: 140px; right: -140px; background: radial-gradient(closest-side, rgb(6 182 212 / 0.28), transparent); animation-duration: 22s; animation-direction: alternate-reverse; }
.hero-mesh span:nth-child(3) { bottom: -260px; right: 26%; background: radial-gradient(closest-side, rgb(37 99 235 / 0.22), transparent); animation-duration: 26s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-40px, 30px, 0) scale(1.08); }
  100% { transform: translate3d(30px, -20px, 0) scale(0.95); }
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); max-width: 14ch; margin-bottom: 0.45em; }
.hero .lead { max-width: 54ch; }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero h1 { max-width: 16ch; }
  .hero-mesh { -webkit-mask-image: linear-gradient(180deg, transparent 45%, #000 70%); mask-image: linear-gradient(180deg, transparent 45%, #000 70%); }
  .hero-mesh span:nth-child(1) { top: auto; bottom: 120px; right: -120px; }
}

/* product mock (decorative, sample data) */
.hero-visual { position: relative; height: 600px; max-width: 540px; width: 100%; justify-self: end; }
@media (max-width: 960px) { .hero-visual { justify-self: center; } }
.mock-tag {
  position: absolute; top: 0; right: 0; z-index: 4;
  padding: 4px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--grey);
  color: var(--slate); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
  animation: fade-in 0.6s ease-out 0.9s both;
}
.mock-card { position: absolute; animation: card-in 0.9s var(--ease) var(--d, 0s) both; }
.mock-float {
  background: var(--white); border: 1px solid var(--grey); border-radius: 18px; padding: 18px 20px;
  box-shadow: 0 30px 60px -24px rgb(15 23 42 / 0.28), 0 2px 6px rgb(15 23 42 / 0.05);
  animation: float 7s ease-in-out calc(var(--d, 0s) * 4) infinite;
}
@keyframes card-in { from { opacity: 0; transform: translateY(32px) scale(0.96); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.mock-invoice { top: 36px; left: 0; width: 72%; z-index: 1; }
.mock-stock { top: 290px; right: 0; width: 56%; z-index: 2; }
.mock-payment { top: 440px; left: 2%; width: 46%; z-index: 3; }
@media (max-width: 520px) {
  .hero-visual { height: 610px; }
  .mock-invoice { width: 92%; }
  .mock-stock { width: 76%; top: 292px; }
  .mock-payment { width: 68%; top: 452px; left: 0; }
}
.mock-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mock-icon {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px;
  background: var(--blue-soft); color: var(--blue);
}
.mock-icon .icon { width: 20px; height: 20px; }
.mock-icon-ok { background: #ECFEFF; color: #0E7490; }
.mock-title { display: flex; flex-direction: column; color: var(--navy); font-weight: 700; font-size: 0.95rem; line-height: 1.25; }
.mock-title small { color: var(--slate); font-weight: 500; font-size: 0.8rem; }
.mock-chip { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); font-size: 0.78rem; font-weight: 600; }
.mock-party { margin: 0 0 8px; color: var(--navy); font-size: 0.88rem; font-weight: 600; }
.mock-lines { margin: 0; font-size: 0.85rem; }
.mock-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px dashed var(--grey); }
.mock-lines dt { color: var(--slate); }
.mock-lines dd { margin: 0; color: var(--navy); font-variant-numeric: tabular-nums; }
.mock-total dt, .mock-total dd { color: var(--navy); font-weight: 700; }
.mock-bar { position: relative; display: flex; justify-content: space-between; font-size: 0.84rem; color: var(--navy); padding-bottom: 12px; margin-top: 8px; }
.mock-bar::before, .mock-bar i { content: ''; position: absolute; left: 0; bottom: 2px; height: 6px; border-radius: 6px; }
.mock-bar::before { right: 0; background: var(--grey); }
.mock-bar i { width: var(--w); background: var(--gradient); transform-origin: left; animation: bar-grow 1.2s var(--ease) 1.1s both; }
@keyframes bar-grow { from { transform: scaleX(0); } }
.mock-amount { margin: 0; color: var(--navy); font-size: 1.35rem; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mock-note { margin: 2px 0 0; font-size: 0.84rem; color: var(--slate); }

/* page heroes on inner pages */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 5vw, 64px); }
.page-hero .lead { max-width: 60ch; }
.hero-glow { position: relative; overflow: hidden; }
.hero-glow::before {
  content: ''; position: absolute; top: -220px; right: -160px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(99 102 241 / 0.20), rgb(6 182 212 / 0.10) 55%, transparent);
  pointer-events: none; animation: drift 20s ease-in-out infinite alternate;
}
.hero-glow > .container { position: relative; }
@media (max-width: 760px) { .hero-glow::before { top: -380px; right: -320px; } }

/* ---------- content blocks ---------- */
.problem { position: relative; overflow: hidden; }
.problem::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gradient); opacity: 0.85; }
.problem h3 { font-size: 1.12rem; }

.feature, .why-card {
  position: relative; background: var(--white); border: 1px solid var(--grey); border-radius: var(--radius); padding: 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--blue-line); }
.feature .icon, .why-card .icon {
  width: 48px; height: 48px; padding: 12px; margin-bottom: 20px; border-radius: 14px;
  color: var(--blue); background: var(--blue-soft);
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease);
}
.feature:hover .icon, .why-card:hover .icon { background: var(--gradient); color: var(--white); transform: scale(1.06); }
.feature h2 { font-size: 1.25rem; }
.feature p { margin: 0; }
.feature-list ul { margin: 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 26px; margin: 8px 0; }
.tag {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; vertical-align: 1px;
  background: var(--blue-soft); color: var(--blue-dark); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
}
.feature-list li::before {
  content: ''; position: absolute; left: 2px; top: 0.6em; width: 12px; height: 7px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}

.why-card { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.why-card .icon { margin: 0; }
.why-card p { margin: 0; }
.why-card:hover { transform: perspective(900px) rotateX(3deg) translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--blue-line); }

/* How it works timeline */
.timeline { position: relative; }
.timeline-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; position: relative; }
.timeline-line {
  position: absolute; top: 27px; left: calc((100% - 80px) / 6); right: calc((100% - 80px) / 6); height: 3px; border-radius: 3px;
  background: var(--gradient); transform-origin: left;
}
.js .timeline-line { transform: scaleX(0); transition: transform 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.1s; }
.js .timeline.is-visible .timeline-line { transform: scaleX(1); }
.step { text-align: center; position: relative; }
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%;
  color: var(--navy); font-weight: 800; font-size: 1.2rem;
  border: 3px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--gradient) border-box;
  box-shadow: 0 10px 24px -10px rgb(37 99 235 / 0.5);
}
.step p { margin: 0 auto; max-width: 30ch; }
@media (max-width: 760px) {
  .timeline-steps { grid-template-columns: 1fr; gap: 36px; }
  .timeline-line { top: 28px; bottom: 28px; left: 26px; right: auto; width: 3px; height: auto; transform-origin: top; }
  .js .timeline-line { transform: scaleY(0); }
  .js .timeline.is-visible .timeline-line { transform: scaleY(1); }
  .step { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
  .step-num { margin: 0; grid-row: span 2; }
  .step h3 { margin-top: 12px; }
  .step p { margin: 0; max-width: none; }
}

/* Pilot offer */
.pilot {
  position: relative; padding: clamp(30px, 5vw, 56px); border-radius: 24px;
  border: 2px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--gradient) border-box;
}
.pilot-animated {
  background: linear-gradient(var(--white), var(--white)) padding-box,
    conic-gradient(from var(--angle), #6366F1, #2563EB, #06B6D4, #2563EB, #6366F1) border-box;
  box-shadow: 0 30px 60px -30px rgb(37 99 235 / 0.45);
  animation: spin-border 6s linear infinite;
}
.pilot-animated.is-visible { animation: reveal 0.8s var(--ease) var(--d, 0s) both, spin-border 6s linear infinite; }
@keyframes spin-border { to { --angle: 360deg; } }
.pilot h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.pilot p { max-width: 62ch; }
.pilot .btn-row { margin-top: 1.5rem; }
.pilot-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 24px 28px; border-radius: var(--radius); }
.pilot-inline p { margin: 0; color: var(--navy); font-weight: 600; }

/* FAQ */
.faq { background: var(--white); border: 1px solid var(--grey); border-radius: var(--radius); padding: 6px 28px; box-shadow: var(--shadow); }
.faq details + details { border-top: 1px solid var(--grey); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 44px 22px 0; color: var(--navy); font-weight: 650; font-size: 1.07rem;
  transition: color 0.2s;
}
.faq summary:hover { color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 22px; padding-right: 44px; }

/* Closing call to action */
.cta { text-align: center; background: var(--tint); overflow: hidden; }
.cta::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(99 102 241 / 0.45), rgb(37 99 235 / 0.45), rgb(6 182 212 / 0.45), transparent); }
.cta-glow {
  position: absolute; left: 50%; top: 50%; width: 900px; height: 420px; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(99 102 241 / 0.10), rgb(6 182 212 / 0.06) 60%, transparent);
}
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 18ch; }
.cta .btn-row { justify-content: center; margin-top: 1rem; }

.plan { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.plan h3 { font-size: 1.2rem; }
.plan-main { border-color: var(--blue-line); }

/* ---------- demo ---------- */
.warning {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 24px; border-radius: var(--radius);
  background: #FEF3C7; border: 2px solid #F59E0B; color: #78350F;
  font-size: 1.1rem;
}
.warning svg { flex: none; margin-top: 3px; color: #B45309; }
.warning p { margin: 0; }
.warning strong { color: #78350F; }
.login { margin-top: 28px; }
.login h2 { font-size: 1.3rem; }
.login dl { margin: 0 0 24px; display: grid; gap: 10px; }
.login dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; }
.login dt { color: var(--navy); font-weight: 600; }
.login dd { margin: 0; overflow-wrap: anywhere; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; color: var(--navy); }
.contact-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
address { font-style: normal; margin-bottom: 1em; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.field-full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.req { color: #B91C1C; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--navy); background-color: var(--white);
  border: 1px solid var(--slate); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 50px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field textarea { resize: vertical; min-height: 132px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--navy); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(37 99 235 / 0.25);
}
.field [aria-invalid='true'] { border-color: #B91C1C; }
.field-error { color: #B91C1C; font-size: 0.9rem; font-weight: 600; margin: 6px 0 0; }
.form-hint { font-size: 0.92rem; margin: 0 0 4px; }
.form-error {
  margin-top: 16px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: #FEF2F2; border: 1px solid #FCA5A5; color: #7F1D1D;
}
.form-error strong { color: #7F1D1D; }
.form-error p { margin: 0; }
.form-error .btn-row { margin-top: 12px; }
.form-actions { margin-top: 20px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.45); border-top-color: var(--white);
  animation: spin 0.8s linear infinite;
}
.is-loading .spinner { display: inline-block; }
.is-loading .btn-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { text-align: center; padding: 48px 32px; }
.form-success .icon { width: 56px; height: 56px; margin: 0 auto 16px; padding: 12px; border-radius: 50%; background: #ECFEFF; color: #0E7490; }
.form-success:focus { outline: none; }
.form-success:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.contact-options { display: grid; gap: 14px; }
.option-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--grey); box-shadow: var(--shadow); text-decoration: none; color: var(--navy);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.option-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--blue-line); color: var(--navy); }
.option-card:hover .btn-arrow { transform: translateX(4px); }
.option-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.option-icon-wa { background: #F0FDF4; color: #15803D; }
.option-text { display: flex; flex-direction: column; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.option-text span { color: var(--slate); font-size: 0.95rem; }
.option-card .btn-arrow { color: var(--blue); }

/* ---------- legal ---------- */
.legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal li { margin-bottom: 0.75em; }
.legal .terms { padding-left: 1.4em; }
.legal .terms li::marker { color: var(--navy); font-weight: 700; }
.updated { padding-bottom: 20px; border-bottom: 1px solid var(--grey); margin-bottom: 8px; font-size: 0.97rem; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--navy); color: var(--grey); padding: 64px 0 36px; font-size: 0.97rem; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gradient); }
.has-wa .site-footer { padding-bottom: 104px; } /* room for the floating WhatsApp button */
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer :focus-visible { outline-color: var(--cyan); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-id { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; max-width: 520px; }
.footer-id span:not(:last-child)::after { content: '\00B7'; margin: 0 10px; color: var(--slate); }
.footer-social {
  display: inline-grid; place-items: center; width: 42px; height: 42px; margin-top: 20px; border-radius: 12px;
  border: 1px solid rgb(226 232 240 / 0.25); transition: background-color 0.2s, border-color 0.2s;
}
.footer-social:hover { background: rgb(255 255 255 / 0.08); border-color: rgb(226 232 240 / 0.5); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-copy { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgb(226 232 240 / 0.14); }
.footer-copy p { margin: 0; }

/* ---------- floating WhatsApp button ---------- */
.wa-float {
  position: fixed; z-index: 60;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  animation: rise 0.6s var(--ease) 1.2s both;
}
.wa-float-btn {
  position: relative; isolation: isolate; display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: var(--white);
  box-shadow: 0 12px 28px -8px rgb(22 163 74 / 0.6);
  transition: transform 0.25s var(--ease);
}
.wa-float-btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #25D366;
  animation: wa-pulse 4.5s ease-out 3s infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  35%, 100% { transform: scale(1.7); opacity: 0; }
}
.wa-float-label {
  max-width: 0; padding: 10px 0; overflow: hidden; white-space: nowrap; opacity: 0;
  border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 10px 30px -10px rgb(15 23 42 / 0.35);
  transition: max-width 0.35s var(--ease), padding 0.35s var(--ease), opacity 0.25s;
}
.wa-float:hover .wa-float-btn { transform: scale(1.06); }
.wa-float:active .wa-float-btn { transform: scale(0.96); }
@media (hover: hover) {
  .wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { max-width: 160px; padding: 10px 16px; opacity: 1; }
}
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-float-btn { outline: 3px solid var(--navy); outline-offset: 3px; }

/* ---------- pricing plans ---------- */
.center-head { margin-left: auto; margin-right: auto; text-align: center; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--grey); border-radius: 20px; padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--blue-line); }
.plan-featured {
  border: 2px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--gradient) border-box;
  box-shadow: 0 30px 60px -30px rgb(37 99 235 / 0.45);
}
.plan-badge {
  position: absolute; top: 0; left: 50%; translate: -50% -50%; margin: 0;
  padding: 4px 14px; border-radius: 999px; background: var(--blue); color: var(--white);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgb(37 99 235 / 0.7);
}
.plan-card h3 { font-size: 1.35rem; margin-bottom: 18px; }
.plan-prices { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--grey); }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; margin: 0; }
.plan-price + .plan-price { margin-top: 14px; }
.plan-price-label { flex-basis: 100%; color: var(--slate); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.plan-amount { color: var(--navy); font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.plan-price-sub .plan-amount { font-size: 1.45rem; }
.plan-amount-text { font-size: 1.8rem; }
.plan-term { color: var(--slate); font-size: 0.95rem; }
.plan-note { color: var(--navy); margin: 0 0 20px; }
.plan-note .link-arrow { white-space: nowrap; }
.plan-list { list-style: none; margin: 0; padding: 0; }
.plan-list li { position: relative; padding-left: 28px; margin: 10px 0; }
.plan-list li::before {
  content: ''; position: absolute; left: 3px; top: 0.6em; width: 12px; height: 7px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}
.plan-list .plan-limit { color: var(--navy); font-weight: 600; }
.plan-list .plan-includes { padding-left: 0; margin-top: 18px; color: var(--navy); font-weight: 600; }
.plan-list .plan-includes::before { display: none; }
.plan-notes { max-width: 760px; margin: 40px auto 0; text-align: center; }
.plan-notes p { margin: 0 0 0.75em; }
.plan-upgrade { color: var(--navy); font-weight: 600; }

/* ---------- home: launch strip and price line ---------- */
.launch-strip {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  margin-bottom: 24px; padding: 8px 16px 8px 12px; border-radius: 18px;
  background: var(--white); border: 1px solid var(--blue-line); box-shadow: 0 8px 24px -14px rgb(37 99 235 / 0.5);
  color: var(--navy); font-size: 0.92rem; font-weight: 600; line-height: 1.4; text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.25s;
}
.launch-strip:hover { color: var(--navy); border-color: var(--blue); box-shadow: 0 12px 28px -14px rgb(37 99 235 / 0.7); }
.launch-strip:hover .btn-arrow { transform: translateX(4px); }
.launch-strip .btn-arrow { color: var(--blue); }
.launch-closes { color: var(--slate); white-space: nowrap; }
.launch-dot { position: relative; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--gradient); }
.launch-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--cyan); animation: wa-pulse 3s ease-out infinite; }
.price-line { margin: 1.25rem 0 0; color: var(--navy); font-weight: 600; }
.price-line + .fine { margin-top: 0.4rem; }

@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; }
  .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- reduced motion: no animation, content shown at once ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .timeline .step { opacity: 1 !important; translate: none !important; }
  .js .timeline-line { transform: none !important; }
  .hero-mesh span, .hero-glow::before { transform: none !important; }
}
