:root {
  /* Brand accents - constant across themes */
  --navy: #0f172a;
  --navy-2: #111d35;
  --blue: #2563eb;
  --blue-soft: #5b8cff;
  --teal: #14b8a6;
  --teal-dark: #0f9d91;
  --slate: #64748b;
  --neutral: #cbd5e1;
  --white: #ffffff;

  /* Light theme semantic tokens (default) */
  --line: #dbe4ef;
  --surface: #f8fafc;
  --surface-2: #ffffff;
  --surface-alt: #f2f6fb;
  --ink: #172033;
  --color-bg: #ffffff;
  --color-header-bg: rgba(248, 250, 252, 0.78);
  --color-header-bg-scrolled: rgba(248, 250, 252, 0.94);
  --color-header-border: rgba(203, 213, 225, 0.65);
  --color-text-strong: var(--navy);
  --color-text-muted: #647086;
  --color-text-subtle: #68758a;
  --color-text-faint: #8a96a8;
  --color-border: #e1e8f1;
  --color-border-strong: #b9c9dd;
  --color-card-bg: var(--surface);
  --color-product-card-bg: var(--white);
  --color-mobile-nav-bg: rgba(248, 250, 252, 0.98);
  --color-glass-bg: rgba(255, 255, 255, 0.85);
  --color-glass-border: rgba(203, 213, 225, 0.8);
  --color-glass-panel-bg: rgba(255, 255, 255, 0.96);
  --color-footer-bg: #0b1220;
  --color-footer-text: #9cacbf;
  --color-calendar-bg: var(--white);
  --color-cta-bg: var(--navy);
  --tint-blue: #edf3ff;
  --tint-teal: #eafaf7;
  --grid-line: rgba(15, 23, 42, 0.035);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --container: min(1180px, calc(100% - 40px));
  --font-display: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  color-scheme: light;
}

/* Dark theme tokens: applied automatically via prefers-color-scheme,
   or forced via html[data-theme="dark"] / html[data-theme="light"] override. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --line: #263449;
    --surface: #101a2e;
    --surface-2: #141f36;
    --surface-alt: #0d1830;
    --ink: #e7ecf5;
    --color-bg: #0a1120;
    --color-header-bg: rgba(10, 17, 32, 0.72);
    --color-header-bg-scrolled: rgba(10, 17, 32, 0.92);
    --color-header-border: rgba(91, 140, 255, 0.18);
    --color-text-strong: #f1f5fb;
    --color-text-muted: #a7b4c9;
    --color-text-subtle: #9aa8bd;
    --color-text-faint: #7c8aa0;
    --color-border: #223050;
    --color-border-strong: #35476b;
    --color-card-bg: #101c33;
    --color-product-card-bg: #101c33;
    --color-mobile-nav-bg: rgba(10, 15, 27, 0.98);
    --color-glass-bg: rgba(16, 26, 46, 0.78);
    --color-glass-border: rgba(91, 140, 255, 0.22);
    --color-glass-panel-bg: rgba(16, 26, 46, 0.92);
    --color-footer-bg: #05070d;
    --color-footer-text: #8291a8;
    --color-calendar-bg: #101c33;
    --tint-blue: rgba(37, 99, 235, 0.18);
    --tint-teal: rgba(20, 184, 166, 0.16);
    --grid-line: rgba(255, 255, 255, 0.045);
    --blue-soft: #7ea2ff;
    --color-cta-bg: linear-gradient(135deg, #2563eb, #14b8a6);
    color-scheme: dark;
  }
}

html[data-theme="dark"] {
  --line: #263449;
  --surface: #101a2e;
  --surface-2: #141f36;
  --surface-alt: #0d1830;
  --ink: #e7ecf5;
  --color-bg: #0a1120;
  --color-header-bg: rgba(10, 17, 32, 0.72);
  --color-header-bg-scrolled: rgba(10, 17, 32, 0.92);
  --color-header-border: rgba(91, 140, 255, 0.18);
  --color-text-strong: #f1f5fb;
  --color-text-muted: #a7b4c9;
  --color-text-subtle: #9aa8bd;
  --color-text-faint: #7c8aa0;
  --color-border: #223050;
  --color-border-strong: #35476b;
  --color-card-bg: #101c33;
  --color-product-card-bg: #101c33;
  --color-mobile-nav-bg: rgba(10, 15, 27, 0.98);
  --color-glass-bg: rgba(16, 26, 46, 0.78);
  --color-glass-border: rgba(91, 140, 255, 0.22);
  --color-glass-panel-bg: rgba(16, 26, 46, 0.92);
  --color-footer-bg: #05070d;
  --color-footer-text: #8291a8;
  --color-calendar-bg: #101c33;
  --tint-blue: rgba(37, 99, 235, 0.18);
  --tint-teal: rgba(20, 184, 166, 0.16);
  --grid-line: rgba(255, 255, 255, 0.045);
  --blue-soft: #7ea2ff;
  --color-cta-bg: linear-gradient(135deg, #2563eb, #14b8a6);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

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

button {
  font: inherit;
}

::selection {
  color: var(--white);
  background: var(--blue);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 10px;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 0;
  background: var(--color-header-bg);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: padding 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: var(--color-header-bg-scrolled);
  border-color: var(--color-header-border);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}

.wordmark {
  color: var(--color-text-strong);
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.wordmark em {
  color: var(--blue);
  font-style: normal;
}

.wordmark-sub {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 5px;
  margin-left: 38%;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.42em;
  line-height: 1;
}

.wordmark-sub span {
  margin-right: -0.42em;
}

.wordmark-sub i {
  flex: 1;
  height: 1.5px;
  background: var(--blue);
  border-radius: 999px;
}

.brand-light .wordmark {
  color: var(--surface);
}

.brand-light .wordmark em,
.brand-light .wordmark-sub {
  color: #60a5fa;
}

.brand-light .wordmark-sub i {
  background: #60a5fa;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding: 12px 0;
}

.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

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

.nav-cta {
  padding: 11px 18px;
  color: var(--white);
  background: var(--color-cta-bg);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.13);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--blue);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--color-text-strong);
  border-radius: 99px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 4px;
  padding: 4px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

.lang-link {
  padding: 5px 8px;
  color: var(--color-text-faint);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-link:hover,
.lang-link:focus-visible {
  color: var(--color-text-strong);
  background: rgba(37, 99, 235, 0.08);
}

.lang-link.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal-dark));
}

.theme-toggle {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--color-text-strong);
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--blue-soft);
  transform: translateY(-1px);
}

.theme-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-icon-moon {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon-sun {
    display: none;
  }

  :root:not([data-theme="light"]) .theme-icon-moon {
    display: block;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 165px 0 0;
  background:
    radial-gradient(circle at 86% 21%, rgba(20, 184, 166, 0.11), transparent 23%),
    radial-gradient(circle at 69% 13%, rgba(37, 99, 235, 0.12), transparent 28%),
    linear-gradient(180deg, var(--surface) 0%, var(--color-bg) 84%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(37, 99, 235, 0.11);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  top: 43px;
  right: -227px;
  width: 725px;
  height: 725px;
}

.hero-orbit-two {
  top: 158px;
  right: -115px;
  width: 470px;
  height: 470px;
  border-color: rgba(20, 184, 166, 0.14);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(480px, 1.06fr);
  gap: 70px;
  align-items: center;
  min-height: 575px;
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy {
  padding-bottom: 20px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 27px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 999px;
}

.hero h1 {
  max-width: 710px;
  margin: 24px 0 24px;
  color: var(--color-text-strong);
  font-family: var(--font-display);
  font-size: clamp(46px, 5.1vw, 74px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.hero h1 em {
  position: relative;
  color: var(--blue);
  font-style: normal;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: -2px;
  left: 1px;
  height: 8px;
  opacity: 0.7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7C58 2 157 2 238 6' fill='none' stroke='%2314B8A6' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero-lead {
  max-width: 640px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button svg,
.text-link svg {
  width: 19px;
  height: 19px;
  margin-left: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.button:hover svg,
.text-link:hover svg {
  transform: translateX(4px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #1649c9);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 17px 35px rgba(37, 99, 235, 0.32);
}

.button-ghost {
  color: var(--color-text-strong);
  background: var(--color-glass-panel-bg);
  border-color: var(--line);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--blue-soft);
  transform: translateY(-2px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-tags span {
  padding: 7px 11px;
  color: var(--color-text-subtle);
  background: var(--color-glass-panel-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.visual-glow {
  position: absolute;
  top: 30px;
  right: 10px;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), rgba(20, 184, 166, 0.08) 42%, transparent 72%);
  filter: blur(5px);
}

.payment-map {
  position: absolute;
  top: 50%;
  right: 0;
  width: min(100%, 555px);
  overflow: hidden;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transform: translateY(-50%) rotate(1deg);
}

.map-topline,
.map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  border-bottom: 1px solid var(--color-border);
}

.map-footer {
  color: var(--color-text-subtle);
  border-top: 1px solid var(--color-border);
  border-bottom: 0;
  font-size: 11px;
  font-weight: 600;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-pill i,
.map-footer > span:first-child i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.1);
}

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

.map-dots span {
  width: 6px;
  height: 6px;
  background: var(--color-border-strong);
  border-radius: 50%;
}

.map-stage {
  position: relative;
  min-height: 370px;
  background:
    radial-gradient(circle at 50% 48%, rgba(37, 99, 235, 0.09), transparent 28%),
    linear-gradient(rgba(127, 143, 176, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 143, 176, 0.08) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
}

.tech-node,
.core-node {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  background: var(--color-glass-panel-bg);
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.tech-node {
  width: 145px;
  min-height: 72px;
  padding: 12px;
  border-radius: 16px;
}

.tech-node .node-icon {
  display: grid;
  flex: 0 0 auto;
  width: 37px;
  height: 37px;
  margin-right: 10px;
  place-items: center;
  color: var(--blue);
  background: var(--tint-blue);
  border-radius: 11px;
}

.tech-node svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tech-node .node-copy {
  min-width: 0;
}

.tech-node strong,
.tech-node small {
  display: block;
}

.tech-node strong {
  color: var(--color-text-strong);
  font-size: 12px;
  line-height: 1.3;
}

.tech-node small {
  color: var(--color-text-faint);
  font-size: 9px;
  line-height: 1.4;
}

.node-pos {
  top: 38px;
  left: 26px;
}

.node-gateway {
  top: 38px;
  right: 26px;
}

.node-iban {
  bottom: 37px;
  left: 26px;
}

.node-cards {
  right: 26px;
  bottom: 37px;
}

.node-iban .node-icon,
.node-cards .node-icon {
  color: var(--teal-dark);
  background: var(--tint-teal);
}

.core-node {
  top: 50%;
  left: 50%;
  width: 210px;
  min-height: 84px;
  padding: 14px 15px;
  border-color: rgba(37, 99, 235, 0.34);
  border-radius: 20px;
  box-shadow: 0 17px 36px rgba(37, 99, 235, 0.16);
  transform: translate(-50%, -50%);
}

.core-mark {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin-right: 12px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), var(--teal));
  border-radius: 15px;
  place-items: center;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
}

.core-node strong,
.core-node span {
  display: block;
}

.core-node strong {
  color: var(--color-text-strong);
  font-size: 12px;
}

.core-node span {
  color: var(--color-text-faint);
  font-size: 9px;
}

.core-status {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.12);
}

.connector {
  position: absolute;
  z-index: 1;
  width: 150px;
  height: 1px;
  overflow: hidden;
  background: repeating-linear-gradient(90deg, rgba(37, 99, 235, 0.36) 0 5px, transparent 5px 10px);
  transform-origin: left center;
}

.connector::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -12px;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
  animation: data-flow 3.2s linear infinite;
}

.connector-a {
  top: 104px;
  left: 154px;
  transform: rotate(30deg);
}

.connector-b {
  top: 104px;
  right: 154px;
  transform: rotate(150deg);
}

.connector-c {
  bottom: 103px;
  left: 154px;
  transform: rotate(-30deg);
}

.connector-d {
  right: 154px;
  bottom: 103px;
  transform: rotate(210deg);
}

.connector-b::after,
.connector-d::after {
  animation-delay: -1.5s;
}

@keyframes data-flow {
  to { left: 158px; }
}

.map-footer > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.map-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-secure svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--teal-dark);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  min-width: 185px;
  padding: 12px 14px;
  background: var(--color-glass-panel-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: 16px;
  box-shadow: 0 17px 38px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(12px);
  animation: float 5s ease-in-out infinite;
}

.floating-chip span:last-child,
.floating-chip small,
.floating-chip strong {
  display: block;
}

.floating-chip small {
  color: var(--color-text-faint);
  font-size: 9px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.floating-chip strong {
  color: var(--color-text-strong);
  font-size: 11px;
  line-height: 1.5;
}

.chip-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  color: var(--blue);
  background: var(--tint-blue);
  border-radius: 11px;
  place-items: center;
  font-weight: 700;
}

.chip-icon-teal {
  color: var(--teal-dark);
  background: var(--tint-teal);
}

.chip-speed {
  top: 62px;
  left: -31px;
}

.chip-control {
  right: -18px;
  bottom: 53px;
  animation-delay: -2.4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.trust-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 70px;
  padding: 25px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-strip p {
  margin: 0;
  color: var(--color-text-subtle);
  font-size: 12px;
  font-weight: 600;
}

.trust-strip > div {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-text-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-strip i {
  width: 4px;
  height: 4px;
  background: var(--teal);
  border-radius: 50%;
}

.logo-marquee {
  padding: 38px 0 52px;
}

.marquee-label {
  margin: 0 0 26px;
  color: var(--color-text-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.marquee-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee-viewport:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--color-text-subtle);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.marquee-item:hover {
  color: var(--color-text-strong);
}

.marquee-item svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.marquee-item span {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lm-word {
  font-family: var(--font-display);
}

.lm-oracle {
  letter-spacing: 0.16em;
  font-weight: 800;
}

.lm-sumsub {
  letter-spacing: -0.02em;
  font-weight: 800;
}

.lm-pagopa {
  font-style: italic;
  font-weight: 500;
}

.lm-pagopa b {
  font-weight: 800;
}

.lm-swift {
  letter-spacing: 0.2em;
  font-weight: 800;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.section {
  padding: 120px 0;
}

.section-light {
  background: var(--color-bg);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading h2,
.method-heading h2,
.integrations h2,
.principles h2,
.contact-card h2 {
  margin: 16px 0 0;
  color: var(--color-text-strong);
  font-family: var(--font-display);
  font-size: clamp(36px, 3.9vw, 54px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-heading p {
  margin: 0 0 5px;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 315px;
  overflow: hidden;
  padding: 28px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.service-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  transform: translateY(-5px);
}

.services-grid > .service-card:last-child {
  grid-column: 2 / 4;
  min-height: 240px;
}

.services-grid > .service-card:last-child .service-icon {
  margin-bottom: 30px;
}

.services-grid > .service-card:last-child p {
  max-width: 520px;
}

.service-featured {
  grid-row: span 2;
  min-height: 648px;
  padding: 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 15%, rgba(20, 184, 166, 0.23), transparent 26%),
    linear-gradient(145deg, #0f172a, #162947 68%, #103f4d);
  border-color: transparent;
}

.service-featured::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(91, 140, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(91, 140, 255, 0.05), 0 0 0 96px rgba(20, 184, 166, 0.04);
}

.service-number {
  position: absolute;
  top: 25px;
  right: 28px;
  color: var(--color-text-faint);
  font-size: 11px;
  font-weight: 700;
}

.service-featured .service-number {
  color: rgba(255, 255, 255, 0.48);
}

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 55px;
  color: var(--blue);
  background: var(--color-product-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  place-items: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-featured .service-icon {
  margin-bottom: 180px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), var(--teal));
  border-color: transparent;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: var(--color-text-strong);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.service-featured h3 {
  max-width: 330px;
  color: var(--white);
  font-size: 31px;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--color-text-subtle);
  font-size: 14px;
  line-height: 1.75;
}

.service-featured p {
  max-width: 390px;
  color: #bec9db;
  font-size: 15px;
}

.service-featured ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #e3eaf5;
  font-size: 13px;
}

.service-featured li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-featured li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.software {
  background: var(--surface-alt);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--color-product-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.product-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  transform: translateY(-5px);
}

.product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.product-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mark-checkin {
  background: linear-gradient(145deg, var(--blue), #1649c9);
}

.mark-tax {
  background: linear-gradient(145deg, var(--teal), var(--teal-dark));
}

.mark-kyme {
  background: linear-gradient(145deg, var(--navy), #27395e);
}

.mark-condo {
  background: linear-gradient(145deg, var(--blue), var(--teal));
}

.product-tag {
  padding: 6px 10px;
  color: var(--color-text-subtle);
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-card h3 {
  margin: 0;
  color: var(--color-text-strong);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-tagline {
  margin: 5px 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.product-desc {
  flex: 1;
  margin: 0;
  color: var(--color-text-subtle);
  font-size: 14px;
  line-height: 1.75;
}

.product-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 20px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.product-link svg {
  width: 16px;
  height: 16px;
  margin-left: 7px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.product-link:hover svg {
  transform: translate(2px, -2px);
}

.integrations {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 83% 25%, rgba(37, 99, 235, 0.21), transparent 25%),
    radial-gradient(circle at 72% 80%, rgba(20, 184, 166, 0.1), transparent 30%),
    var(--navy);
}

.integrations::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.integrations-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 88px;
  align-items: center;
}

.section-kicker-light {
  color: #72a2ff;
}

.integrations h2 {
  color: var(--white);
}

.integrations-copy > p {
  max-width: 525px;
  margin: 26px 0 34px;
  color: #b9c5d7;
  font-size: 16px;
  line-height: 1.8;
}

.integration-list {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.integration-list > div {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.integration-list span {
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
}

.integration-list strong {
  color: #e8eef7;
  font-size: 13px;
  font-weight: 600;
}

.stack-panel {
  position: relative;
  overflow: hidden;
  min-height: 550px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.stack-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 78%);
}

.stack-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #aebbd0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stack-header i {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.12);
}

.stack-core {
  position: relative;
  z-index: 2;
  display: flex;
  width: 76%;
  min-height: 92px;
  margin: 60px auto 48px;
  padding: 16px;
  align-items: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(91, 140, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 17px 42px rgba(0, 0, 0, 0.22), 0 0 40px rgba(37, 99, 235, 0.12);
}

.stack-logo {
  display: grid;
  width: 54px;
  height: 54px;
  margin-right: 15px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), var(--teal));
  border-radius: 16px;
  place-items: center;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
}

.stack-core strong,
.stack-core small {
  display: block;
}

.stack-core strong {
  color: var(--white);
  font-size: 14px;
}

.stack-core small {
  margin-top: 4px;
  color: #91a0b6;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stack-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.stack-flow::before {
  content: "";
  position: absolute;
  top: -49px;
  right: 11%;
  left: 11%;
  height: 49px;
  border-top: 1px dashed rgba(91, 140, 255, 0.48);
  border-right: 1px dashed rgba(91, 140, 255, 0.48);
  border-left: 1px dashed rgba(91, 140, 255, 0.48);
  border-radius: 15px 15px 0 0;
}

.stack-item {
  position: relative;
  min-height: 75px;
  padding: 18px 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
}

.stack-item span {
  color: #d9e2ef;
  font-size: 11px;
  font-weight: 700;
}

.stack-item i {
  position: absolute;
  right: 50%;
  bottom: 13px;
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
  transform: translateX(50%);
}

.stack-output {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 39px;
}

.stack-output::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 50%;
  height: 20px;
  border-left: 1px dashed rgba(20, 184, 166, 0.55);
}

.stack-output span {
  padding: 7px 10px;
  color: #b8c6d8;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.23);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
}

.stack-footnote {
  position: absolute;
  right: 26px;
  bottom: 22px;
  left: 26px;
  color: #75869e;
  font-size: 9px;
  text-align: center;
}

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

.method-heading p {
  max-width: 650px;
  margin: 22px auto 0;
  color: var(--color-text-muted);
}

.method-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.method-steps::before {
  content: "";
  position: absolute;
  top: 44px;
  right: 9%;
  left: 9%;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.method-step {
  position: relative;
  z-index: 1;
  padding: 0 12px;
  text-align: center;
}

.step-index {
  display: block;
  margin-bottom: 18px;
  color: var(--color-text-faint);
  font-size: 10px;
  font-weight: 700;
}

.step-dot {
  width: 15px;
  height: 15px;
  margin: 0 auto 26px;
  background: var(--color-bg);
  border: 4px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 7px var(--tint-blue);
}

.method-step:nth-child(n+3) .step-dot {
  border-color: var(--teal);
  box-shadow: 0 0 0 7px var(--tint-teal);
}

.method-step h3 {
  margin: 0 0 9px;
  color: var(--color-text-strong);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.method-step p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.65;
}

.principles {
  background: var(--surface-alt);
}

.principles-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: center;
}

.principles-copy > p {
  max-width: 525px;
  margin: 25px 0;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.principle-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.principle-card {
  min-height: 210px;
  padding: 26px;
  background: var(--color-product-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 21px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.055);
}

.principle-card span {
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 700;
}

.principle-card h3 {
  margin: 40px 0 9px;
  color: var(--color-text-strong);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
}

.principle-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.contact-section {
  padding: 95px 0;
  background: var(--color-bg);
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  overflow: hidden;
  padding: 70px;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 30%, rgba(20, 184, 166, 0.22), transparent 22%),
    linear-gradient(135deg, var(--navy), #142746 72%, #103b46);
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

.contact-pattern {
  position: absolute;
  top: -150px;
  right: -120px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(91, 140, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(91, 140, 255, 0.04), 0 0 0 140px rgba(20, 184, 166, 0.03);
}

.contact-copy,
.contact-details {
  position: relative;
  z-index: 1;
}

.contact-card h2 {
  max-width: 700px;
  color: var(--white);
}

.contact-copy p {
  margin: 22px 0 30px;
  color: #bdc8d9;
}

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 560px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.field-label {
  color: #9fb4d8;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field-label small {
  color: #6d81a3;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7286a6;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(20, 184, 166, 0.75);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14);
}

.field-hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  pointer-events: none;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 6px;
}

.contact-form .button[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.form-status {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.form-status.is-success {
  color: #79dfd2;
}

.form-status.is-error {
  color: #ffb4a8;
}

.form-status a {
  text-decoration: underline;
}

.button-light {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.button-light:hover,
.button-light:focus-visible {
  background: #edf4ff;
  transform: translateY(-2px);
}

.button-outline-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.35);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.contact-details a.appointment-cta {
  display: inline-flex;
  margin: 4px 0 10px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
  margin: 0;
  padding-left: 45px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  font-style: normal;
}

.contact-details div,
.contact-details strong,
.contact-details span,
.contact-details a {
  display: block;
}

.contact-label {
  margin-bottom: 8px;
  color: #7ea6ef;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details strong,
.contact-details a {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.contact-details > div > span:last-child {
  color: #aebbd0;
  font-size: 13px;
}

.contact-details a {
  transition: color 0.2s ease;
}

.contact-details a:hover {
  color: #79dfd2;
}

.calendar-modal {
  width: min(920px, calc(100vw - 32px));
  padding: 0;
  overflow: hidden;
  background: var(--color-calendar-bg);
  border: 0;
  border-radius: 22px;
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.35);
}

.calendar-modal::backdrop {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
}

.calendar-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.calendar-modal-head strong {
  display: block;
  color: var(--color-text-strong);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

.calendar-modal-head span {
  display: block;
  margin-top: 3px;
  color: var(--color-text-muted);
  font-size: 12px;
}

.calendar-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: var(--color-text-strong);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.calendar-close:hover {
  background: var(--tint-blue);
  border-color: var(--blue-soft);
}

.calendar-modal iframe {
  display: block;
  width: 100%;
  height: min(600px, 68vh);
  border: 0;
}

.calendar-external {
  display: block;
  padding: 13px 22px;
  color: var(--blue);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.calendar-external:hover {
  background: var(--surface);
}

.site-footer {
  color: var(--color-footer-text);
  background: var(--color-footer-bg);
  transition: background 0.25s ease;
}

.footer-top {
  display: grid;
  grid-template-columns: 230px 1fr auto;
  gap: 55px;
  align-items: center;
  padding: 55px 0 42px;
}

.footer-brand {
  width: 210px;
}

.footer-top p {
  max-width: 430px;
  margin: 0;
  font-size: 12px;
}

.footer-mail {
  color: #d8e1ee;
  font-size: 13px;
  font-weight: 600;
}

.footer-mail:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
}

.service-number,
.step-index,
.integration-list span,
.principle-card span,
.live-pill,
.stack-header,
.stack-core small,
.stack-item span,
.stack-output span,
.map-footer,
.trust-strip > div,
.contact-label,
.floating-chip small,
.footer-bottom {
  font-family: var(--font-mono);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.4);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  :root {
    --container: min(100% - 36px, 980px);
  }

  .hero-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
  }

  .hero-visual {
    transform: scale(0.9);
    transform-origin: right center;
  }

  .section-heading,
  .principles-grid {
    gap: 50px;
  }

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

  .service-featured {
    grid-row: span 2;
  }

  .services-grid > .service-card:last-child {
    grid-column: 1 / -1;
  }

  .integrations-grid {
    gap: 45px;
  }

  .contact-card {
    padding: 55px;
  }
}

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

  .wordmark {
    font-size: 25px;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .nav-right {
    gap: 10px;
  }

  .lang-switcher {
    gap: 0;
    padding: 3px;
  }

  .lang-link {
    padding: 5px 6px;
    font-size: 9px;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 100px 30px 45px;
    color: var(--color-text-strong);
    background: var(--color-mobile-nav-bg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

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

  .main-nav > a:not(.nav-cta) {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 500;
  }

  .nav-cta {
    margin-top: 18px;
    padding: 13px 26px;
  }

  .hero {
    padding-top: 135px;
  }

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

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

  .hero-visual {
    width: 100%;
    max-width: 650px;
    min-height: 520px;
    margin: -30px auto 0;
    transform: none;
  }

  .payment-map {
    right: 50%;
    transform: translate(50%, -50%);
  }

  .trust-strip {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
    margin-top: 30px;
  }

  .section {
    padding: 90px 0;
  }

  .section-heading,
  .integrations-grid,
  .principles-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 24px;
  }

  .integrations-grid {
    gap: 60px;
  }

  .method-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 42px 20px;
  }

  .method-steps::before {
    display: none;
  }

  .contact-card {
    gap: 45px;
  }

  .contact-details {
    padding-top: 32px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

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

  .footer-mail {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100% - 28px);
  }

  .hero {
    padding-top: 118px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

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

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

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 465px;
    margin-top: -20px;
  }

  .payment-map {
    width: 600px;
    max-width: 109%;
    transform: translate(50%, -50%) scale(0.79);
  }

  .floating-chip {
    display: none;
  }

  .trust-strip > div {
    flex-wrap: wrap;
    gap: 9px;
  }

  .section {
    padding: 75px 0;
  }

  .section-heading h2,
  .method-heading h2,
  .integrations h2,
  .principles h2,
  .contact-card h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .services-grid,
  .products-grid,
  .principle-cards {
    grid-template-columns: 1fr;
  }

  .services-grid > .service-card:last-child {
    grid-column: auto;
    min-height: 0;
  }

  .service-featured {
    min-height: 570px;
  }

  .service-featured .service-icon {
    margin-bottom: 145px;
  }

  .stack-panel {
    min-height: 520px;
    padding: 20px;
  }

  .stack-core {
    width: 92%;
  }

  .stack-flow {
    grid-template-columns: 1fr 1fr;
  }

  .stack-flow::before {
    display: none;
  }

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

  .method-step {
    display: grid;
    grid-template-columns: 35px 25px 1fr;
    column-gap: 12px;
    padding: 0 0 34px;
    text-align: left;
  }

  .method-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 34px;
    bottom: 0;
    left: 59px;
    border-left: 1px solid var(--color-border);
  }

  .step-index {
    grid-row: 1 / span 2;
    margin: 3px 0 0;
  }

  .step-dot {
    grid-row: 1 / span 2;
    width: 13px;
    height: 13px;
    margin: 5px auto 0;
    border-width: 3px;
  }

  .method-step h3 {
    margin-bottom: 5px;
  }

  .method-step p {
    grid-column: 3;
  }

  .contact-section {
    padding: 65px 0;
  }

  .contact-card {
    gap: 38px;
    padding: 38px 25px;
    border-radius: 26px;
  }

  .contact-copy .button {
    font-size: 12px;
  }

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

  .footer-mail {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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