/* Veloce ERP — public site. No build step, no inline styles (the CSP forbids them). */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/outfit-latin-wght-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f5f7fc;
  --raised: #ffffff;
  --ink: #0a1430;
  --muted: #4b5876;
  --line: #e2e7f1;
  --brand: #2457c5;
  --brand-strong: #1a43a0;
  --brand-soft: #e8effc;
  --sky: #0e8fd6;
  --ok: #117a4b;
  --ok-soft: #dcf3e6;
  --warn: #9a5b00;
  --warn-soft: #fdf0d3;
  --danger: #c2401f;
  --shadow: 0 1px 2px rgb(10 20 48 / 0.06), 0 12px 32px -12px rgb(10 20 48 / 0.18);
  --radius: 16px;
  --display: 'Outfit', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #060b1c;
    --surface: #0b1329;
    --raised: #0f1934;
    --ink: #e9eefb;
    --muted: #9eabc9;
    --line: #1b2749;
    --brand: #6f9bf5;
    --brand-strong: #9bbafa;
    --brand-soft: #13224a;
    --sky: #4cc3ff;
    --ok: #5fd39a;
    --ok-soft: #0f2c22;
    --warn: #f0b955;
    --warn-soft: #2e2410;
    --danger: #ff8a6b;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 16px 40px -16px rgb(0 0 0 / 0.7);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--brand);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--brand-strong);
}
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
  color: var(--bg);
}
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.top.scrolled,
.top.plain {
  border-bottom-color: var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 600 22px/1 var(--display);
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand:hover {
  color: var(--ink);
}
.brand img {
  width: 40px;
  height: 27px;
}
.brand small {
  font: 600 11px/1 var(--body);
  letter-spacing: 0.22em;
  color: var(--brand);
  transform: translateY(1px);
}
.menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
}
.menu a:hover,
.menu a[aria-current='page'] {
  color: var(--ink);
  background: var(--surface);
}
.menu .lang {
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  margin: 0 6px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: 600 16px/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background-color 0.15s;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn-primary,
.menu a.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #1f4fd0 0%, #2b6be8 55%, #1c74d4 100%);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.25) inset,
    0 8px 24px -8px rgb(36 87 197 / 0.7);
}
.btn-primary:hover,
.menu a.btn-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #1f4fd0 0%, #2b6be8 55%, #1c74d4 100%);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.25) inset,
    0 12px 28px -8px rgb(36 87 197 / 0.85);
}
.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--raised);
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--brand);
}
.btn-small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 15px;
}

/* ---------- Hero (always dark) ---------- */
.hero {
  --ink: #f2f6ff;
  --muted: #a9b8dc;
  --line: rgb(255 255 255 / 0.12);
  --raised: rgb(255 255 255 / 0.06);
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background: #050a1c;
  margin-top: -69px;
  padding: 150px 0 0;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 8%, rgb(31 147 230 / 0.42), transparent 70%),
    radial-gradient(55% 60% at 8% 0%, rgb(36 87 197 / 0.55), transparent 70%),
    radial-gradient(80% 60% at 50% 110%, rgb(36 87 197 / 0.35), transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
}
.on-hero .top:not(.scrolled) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  --ink: #f2f6ff;
  --muted: #c3cfec;
  --line: rgb(255 255 255 / 0.18);
  --surface: rgb(255 255 255 / 0.1);
  --brand: #8fd0ff;
}
.hero-copy {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--raised);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.pill b {
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #2457c5, #1c74d4);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  letter-spacing: 0.03em;
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 24px 0 22px;
}
.grad {
  background: linear-gradient(100deg, #7fb2ff 0%, #4cc3ff 60%, #9fe3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}
.hero .btn-ghost {
  color: #fff;
  background: rgb(255 255 255 / 0.07);
  border-color: rgb(255 255 255 / 0.2);
}
.hero .btn-ghost:hover {
  border-color: rgb(255 255 255 / 0.5);
}
.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* Product stage: app window + phone */
.stage {
  position: relative;
  max-width: 1060px;
  margin: 64px auto 0;
  padding: 0 0 0;
}
.window {
  --ink: #0a1430;
  --muted: #5a6786;
  --line: #e2e7f1;
  --surface: #f5f7fc;
  color: var(--ink);
  background: #fff;
  border-radius: 16px 16px 0 0;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-bottom: 0;
  box-shadow:
    0 0 0 1px rgb(5 10 28 / 0.4),
    0 40px 120px -20px rgb(31 147 230 / 0.45);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  margin-right: 196px;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  background: #eef1f8;
  border-bottom: 1px solid var(--line);
}
.window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cdd4e4;
}
.window-bar span {
  margin: 0 auto;
  font-size: 12px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px 28px;
  transform: translateX(-21px);
}
.window-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 430px;
}
.side {
  background: #0b1533;
  color: #b9c5e6;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.side strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font: 600 16px/1 var(--display);
  padding: 4px 8px 16px;
}
.side strong img {
  width: 26px;
  height: 18px;
}
.side span {
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 500;
}
.side .on {
  background: rgb(255 255 255 / 0.1);
  color: #fff;
}
.side em {
  margin-top: auto;
  font-style: normal;
  font-size: 12px;
  padding: 10px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}
.pane {
  padding: 20px 22px 0;
  min-width: 0;
}
.pane-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.pane-head b {
  font: 600 19px/1.2 var(--display);
  letter-spacing: -0.01em;
}
.pane-head span {
  color: var(--muted);
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-ok {
  color: #0d6b41;
  background: #dcf3e6;
}
.tag-warn {
  color: #8a5200;
  background: #fdf0d3;
}
.tag-info {
  color: #1a43a0;
  background: #e8effc;
}
.steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}
.steps li {
  position: relative;
  padding-top: 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.steps li::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: 4px;
  background: #e2e7f1;
}
.steps .done::before {
  background: #2457c5;
}
.steps .now {
  color: var(--ink);
  font-weight: 600;
}
.steps .now::before {
  background: linear-gradient(90deg, #2457c5 0 55%, #e2e7f1 55%);
  background-size: 200% 100%;
  animation: progress 3.2s ease-in-out infinite alternate;
}
@keyframes progress {
  from {
    background-position: 60% 0;
  }
  to {
    background-position: 0 0;
  }
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.kpis div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.kpis small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.kpis b {
  font: 600 18px/1.3 var(--display);
  font-variant-numeric: tabular-nums;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 10px;
  background: var(--surface);
  border-block: 1px solid var(--line);
  white-space: nowrap;
}
.table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table .n {
  text-align: right;
}
.table td:nth-child(2) {
  font-weight: 600;
  color: #2457c5;
}

.phone {
  --ink: #0a1430;
  --muted: #5a6786;
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 248px;
  padding: 9px 9px 0;
  border-radius: 38px 38px 0 0;
  background: #0b1020;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.18),
    -30px 30px 80px -10px rgb(0 0 0 / 0.65);
  color: var(--ink);
  text-align: left;
  font-size: 12px;
  line-height: 1.35;
}
.phone-screen {
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  background: #f2f4f8;
}
.phone-top {
  position: relative;
  background: #1a43a0;
  color: #fff;
  text-align: center;
  font: 600 15px/1 var(--body);
  padding: 34px 0 14px;
}
.phone-top::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  width: 64px;
  height: 18px;
  margin-left: -32px;
  border-radius: 999px;
  background: #0b1020;
}
.phone-body {
  padding: 14px 12px 18px;
  display: grid;
  gap: 10px;
}
.phone-body > b {
  font: 600 18px/1.2 var(--body);
}
.state {
  border: 1px solid #2f9d68;
  background: #dcf3e6;
  border-radius: 12px;
  padding: 10px 12px;
}
.state b {
  display: block;
  font-size: 14px;
}
.state span,
.punch span {
  color: var(--muted);
  font-size: 11px;
}
.punch-btn {
  background: #d94a26;
  color: #fff;
  border-radius: 14px;
  text-align: center;
  font: 700 16px/1 var(--body);
  letter-spacing: 0.04em;
  padding: 20px 0;
}
.punch-btn.in {
  background: #17804f;
}
.punch {
  background: #fff;
  border: 1px solid #e2e7f1;
  border-radius: 12px;
  padding: 9px 12px;
}
.punch b {
  display: block;
  font-size: 12px;
}
.queue {
  border: 1px solid #e0b455;
  background: #fdf0d3;
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 11px;
  color: #6f4300;
}
.queue b {
  display: block;
  font-size: 12px;
}

/* ---------- Trust strip ---------- */
.strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.strip ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 28px 0;
}
.strip li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
}
.strip b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
.strip svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--brand);
  margin-top: 2px;
}

/* ---------- Sections ---------- */
.section {
  padding: 112px 0;
}
.section.flush {
  padding-top: 0;
}
.section.tint {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.head {
  max-width: 720px;
  margin-bottom: 56px;
}
.head.center {
  margin-inline: auto;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font: 600 13px/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.head h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.head p {
  margin-top: 18px;
  font-size: 19px;
  color: var(--muted);
}

/* Flow */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.flow li {
  position: relative;
  counter-increment: step;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
}
.flow li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font: 600 13px/1 var(--display);
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 36px;
}
.flow li::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 56px;
  right: -17px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
  opacity: 0.5;
}
.flow li:last-child::after {
  right: 20px;
}
.flow h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.flow p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.flow small {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 3px 10px;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.card {
  grid-column: span 2;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
}
.card.wide {
  grid-column: span 3;
}
.card .ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--brand);
  background: var(--brand-soft);
  margin-bottom: 20px;
}
.card .ico svg {
  width: 22px;
  height: 22px;
}
.card h3 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
}
.card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.chips li {
  font-size: 13px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.chips .warn {
  color: var(--warn);
  background: var(--warn-soft);
  border-color: transparent;
}
.chips .ok {
  color: var(--ok);
  background: var(--ok-soft);
  border-color: transparent;
}

/* Split (mobile app, security) */
.split > * {
  min-width: 0;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split .head {
  margin-bottom: 28px;
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.ticks li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.ticks b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
.ticks svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  color: var(--ok);
  background: var(--ok-soft);
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.stores span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 10px 14px;
}
.stores svg {
  width: 18px;
  height: 18px;
}
.phones {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 40px 0;
}
.phones::before {
  content: '';
  position: absolute;
  inset: 8% 6%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(36 87 197 / 0.35), transparent);
  filter: blur(20px);
}
.phones .phone {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 1;
  padding-bottom: 9px;
  border-radius: 38px;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.14),
    0 30px 60px -20px rgb(5 10 28 / 0.55);
}
.phones .phone-screen {
  border-radius: 30px;
  min-height: 440px;
}
.phones .phone:first-child {
  transform: translateY(28px) rotate(-3deg);
}
.phones .phone:last-child {
  transform: translateY(-12px) rotate(3deg);
}

/* Integrations */
.integr {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.integr .card {
  grid-column: auto;
}
.integr .name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.integr .name h3 {
  margin: 0;
  font-size: 24px;
}
.integr dl {
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.integr dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.integr dt {
  color: var(--muted);
}
.integr dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

/* Security (dark band) */
.band {
  --ink: #f2f6ff;
  --muted: #a9b8dc;
  --line: rgb(255 255 255 / 0.12);
  --raised: rgb(255 255 255 / 0.05);
  --brand: #8fd0ff;
  --brand-soft: rgb(143 208 255 / 0.12);
  --brand-strong: #c5e8ff;
  --shadow: none;
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background: #050a1c;
  overflow: hidden;
}
.band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 100% 0%, rgb(31 147 230 / 0.3), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, rgb(36 87 197 / 0.4), transparent 70%);
}
.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sec-grid .card {
  grid-column: auto;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  font-weight: 600;
  text-decoration: none;
}
.more svg {
  width: 18px;
  height: 18px;
  transition: transform 0.15s;
}
.more:hover svg {
  transform: translateX(3px);
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq details {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
}
.faq details[open] {
  border-color: color-mix(in srgb, var(--brand) 50%, var(--line));
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font: 600 18px/1.35 var(--display);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}
.faq details p {
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
}

/* CTA */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
  padding: 72px 32px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #12308a 0%, #2457c5 50%, #1c74d4 100%);
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(60% 90% at 50% 0%, #000, transparent);
  mask-image: radial-gradient(60% 90% at 50% 0%, #000, transparent);
}
.cta h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.cta p {
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 19px;
  color: rgb(255 255 255 / 0.85);
}
.cta .btn-primary {
  color: #12308a;
  background: #fff;
  box-shadow: 0 12px 30px -10px rgb(5 10 28 / 0.6);
}
.cta .btn-primary:hover {
  color: #12308a;
  background: #fff;
}
.cta .btn-ghost {
  color: #fff;
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.35);
}
.cta :focus-visible {
  outline-color: #fff;
}

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 56px 0 32px;
  font-size: 15px;
  color: var(--muted);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot .brand,
.foot .brand:hover {
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 14px;
}
.foot h2 {
  font: 600 13px/1 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.foot a {
  color: var(--muted);
  text-decoration: none;
}
.foot a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* ---------- Text pages (legal, support, security) ---------- */
.page-head {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 48px;
}
.page-head .wrap {
  max-width: 828px;
}
.page-head h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 820px;
}
.page-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
}
.prose {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}
.prose > * + * {
  margin-top: 16px;
}
.prose h1 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.prose h2 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 44px;
  scroll-margin-top: 88px;
}
.prose h3 {
  font-size: 19px;
  font-weight: 600;
  margin-top: 28px;
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose li {
  margin: 6px 0;
}
.prose li::marker {
  color: var(--brand);
}
.prose .card {
  box-shadow: none;
  background: var(--surface);
  padding: 20px 24px;
  margin-top: 24px;
}
.prose .card:hover {
  transform: none;
  border-color: var(--line);
}
.prose .card ul {
  margin: 8px 0 0;
}
.muted {
  color: var(--muted);
}
.facts {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin-top: 20px;
}
.facts th,
.facts td {
  text-align: left;
  vertical-align: top;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.facts th {
  width: 34%;
  padding-right: 20px;
  font-weight: 600;
}
.facts td {
  color: var(--muted);
}
.notfound {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 16px;
  padding: 80px 24px;
}
.notfound b {
  font: 600 clamp(80px, 18vw, 160px) / 1 var(--display);
  letter-spacing: -0.05em;
}
.notfound .actions {
  margin-top: 12px;
}

/* ---------- Motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
.js .reveal.d1 {
  transition-delay: 0.08s;
}
.js .reveal.d2 {
  transition-delay: 0.16s;
}
.js .reveal.d3 {
  transition-delay: 0.24s;
}
.js .reveal.d4 {
  transition-delay: 0.32s;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow li::after {
    display: none;
  }
  .flow li::before {
    margin-bottom: 20px;
  }
  .card,
  .card.wide {
    grid-column: span 3;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sec-grid,
  .integr {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip ul {
    grid-template-columns: repeat(2, 1fr);
  }
  .window {
    margin-right: 120px;
  }
}
@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }
  .menu {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .on-hero .top:not(.scrolled) .menu {
    background: #070d22;
  }
  .menu.open {
    display: flex;
  }
  .menu a {
    padding: 12px;
    font-size: 17px;
  }
  .menu .lang {
    align-self: flex-start;
    margin: 8px 0;
  }
  .window-body {
    grid-template-columns: 1fr;
  }
  .side {
    display: none;
  }
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .table th:nth-child(5),
  .table td:nth-child(5),
  .table th:nth-child(6),
  .table td:nth-child(6) {
    display: none;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding: 0 16px;
  }
  .section {
    padding: 72px 0;
  }
  .head {
    margin-bottom: 36px;
  }
  .hero {
    padding-top: 120px;
  }
  .actions .btn {
    width: 100%;
  }
  .stage {
    margin-top: 44px;
  }
  .window {
    display: none;
  }
  .stage .phone {
    position: relative;
    right: auto;
    margin: 0 auto;
  }
  .flow,
  .sec-grid,
  .integr,
  .strip ul {
    grid-template-columns: 1fr;
  }
  .card,
  .card.wide {
    grid-column: 1 / -1;
    padding: 22px;
  }
  .phones {
    gap: 0;
    padding: 12px 0 28px;
    overflow: hidden;
    margin-inline: -16px;
  }
  .phones .phone:first-child {
    transform: translateX(14px) rotate(-4deg);
  }
  .phones .phone:last-child {
    transform: translate(-14px, 30px) rotate(4deg);
    margin-left: -130px;
  }
  .cta {
    padding: 52px 20px;
    border-radius: 22px;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .prose {
    padding: 32px 16px 72px;
  }
  .page-head {
    padding: 40px 0 32px;
  }
  .facts th,
  .facts td {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
  }
  .facts th {
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  .facts td {
    padding-bottom: 14px;
  }
}

/* ---------- Print ---------- */
@media print {
  .top {
    position: static;
  }
  .menu,
  .menu-toggle {
    display: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
