/* ==========================================================================
   Malvexon — design system
   --------------------------------------------------------------------------
   One accent, one cool-neutral ramp, hairline borders, a 4px spacing scale.
   Semantic colour (success / warn / danger) is reserved for status UI and is
   never used as decoration. Display type is Manrope, body is Inter, and the
   mono face labels machine-readable values inside the product mockups.
   ========================================================================== */

:root {
  /* Neutral ramp — cool ink */
  --bg: #070b13;
  --bg-raised: #0a1019;
  --surface: #0e1522;
  --surface-2: #131c2b;
  --surface-3: #1a2436;
  --line: #1b2434;
  --line-strong: #29364b;

  /* Text ramp */
  --heading: #f3f6fb;
  --heading-soft: #7f8da6;
  --text: #a6b1c4;
  --text-strong: #d3dbe8;
  --muted: #7a8698;
  --faint: #5d6878;

  /* Accent — a single, precise blue */
  --accent: #4c7dff;
  --accent-hi: #7a9dff;
  --accent-lo: #2f5ce0;
  --accent-text: #93b0ff;
  --accent-soft: rgba(76, 125, 255, .12);
  --accent-line: rgba(76, 125, 255, .34);

  /* Status */
  --success: #35d39a;
  --success-soft: rgba(53, 211, 154, .12);
  --warn: #f2b13c;
  --warn-soft: rgba(242, 177, 60, .1);
  --danger: #f4736c;
  --danger-soft: rgba(244, 115, 108, .1);

  /* Type */
  --display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* Elevation — tight and directional, never a glow */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 12px 32px -12px rgba(0, 0, 0, .7);
  --shadow-lg: 0 32px 64px -24px rgba(0, 0, 0, .8);

  /* Geometry */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max: 1200px;
}

/* --------------------------------------------------------------- base --- */

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--bg);
  color-scheme: dark;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, li, b, strong, small, span, a, label, button { overflow-wrap: break-word; }
:root[lang="nl"] body { hyphens: auto; -webkit-hyphens: auto; }

::selection { background: rgba(76, 125, 255, .3); color: #fff; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 18px; }

.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: clamp(72px, 8.5vw, 128px) 0; }

/* --------------------------------------------------------- typography --- */

h1, h2, h3, h4 {
  margin: 0;
  color: var(--heading);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -.03em;
  text-wrap: balance;
}
h1 {
  max-width: 17ch;
  margin: 22px 0;
  font-size: clamp(40px, 4.9vw, 64px);
  letter-spacing: -.038em;
}
/* Two-tone headlines: the claim carries full contrast, the qualifier recedes.
   Colouring the second half accent-blue reads as decoration at display sizes. */
h1 span, h2 span { color: var(--heading-soft); }
.hero-lead { max-width: 56ch; margin: 0; color: var(--text); font-size: 17px; line-height: 1.68; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-text);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
/* A short rule rather than a decorative dot on every section label. The hero
   eyebrow keeps its live-status pulse, so it is excluded here. */
.section-heading .eyebrow::before,
.architecture-copy .eyebrow::before,
.contact-copy .eyebrow::before,
.business-copy .eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent);
  opacity: .55;
}
.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(53, 211, 154, .14);
}

.section-heading { max-width: 62ch; margin-bottom: clamp(44px, 5vw, 64px); }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .architecture-copy h2, .contact-copy h2, .business-copy h2 {
  margin: 16px 0;
  font-size: clamp(30px, 3.4vw, 44px);
}
.section-heading p, .architecture-copy > p, .contact-copy > p, .business-copy p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 16px;
}
.section-heading.centered p { margin-inline: auto; }

/* -------------------------------------------------------------- header --- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(7, 11, 19, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(7, 11, 19, .92);
  border-color: var(--line);
}
.nav-wrap { height: 68px; display: flex; align-items: center; gap: 32px; }
.nav-wrap .brand { order: 0; }
.nav-wrap .nav-links { order: 1; }
.nav-wrap .lang-switch { order: 2; }
.nav-wrap .menu-toggle { order: 3; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  text-decoration: none;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand-mark {
  width: 26px;
  height: 29px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 93% 19%, 88% 72%, 50% 100%, 12% 72%, 7% 19%);
  background: linear-gradient(150deg, var(--accent-hi), var(--accent-lo));
}
.brand-mark span {
  width: 15px;
  height: 17px;
  clip-path: inherit;
  background: var(--bg);
}
.brand-mark.small { width: 19px; height: 21px; }
.brand-mark.small span { width: 11px; height: 12px; }

.nav-links { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav-links a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .18s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transition: right .22s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--heading); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }

.lang-switch {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.lang-switch button {
  min-width: 34px;
  padding: 5px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--faint);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  transition: background .18s ease, color .18s ease;
}
.lang-switch button:hover { color: var(--text-strong); }
.lang-switch button.active { background: var(--surface-3); color: var(--heading); }
.lang-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 11px 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.menu-toggle span { display: block; height: 1.5px; margin: 3px 0; border-radius: 2px; background: var(--text-strong); }

/* ------------------------------------------------------------- buttons --- */

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--accent-lo);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.button:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.button-secondary {
  background: var(--surface-2);
  border-color: var(--line-strong);
  color: var(--heading);
}
.button-secondary:hover { background: var(--surface-3); border-color: var(--accent-line); }
.button-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text-strong);
}
.button-ghost:hover { background: var(--surface-2); color: var(--heading); }

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

.hero {
  position: relative;
  padding-top: 148px;
  padding-bottom: clamp(64px, 7vw, 104px);
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% 8%, rgba(76, 125, 255, .1), transparent 70%),
    radial-gradient(760px 420px at 4% 96%, rgba(76, 125, 255, .05), transparent 70%),
    var(--bg);
}
/* One hairline grid, faint enough to read as texture rather than decoration. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
  pointer-events: none;
}
/* Retired decoration — kept as a guard in case a cached page still ships the markup. */
.hero-orb, .hero-orb-one, .hero-orb-two, .visual-grid { display: none; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
/* Grid and flex items default to min-width:auto, so a wide child (the product
   mockup, a long word, an SVG) can push a track past the viewport. Every track
   here is fluid by design, so let them all shrink. */
.hero-grid > *, .architecture-grid > *, .contact-grid > *, .business-card > *,
.feature-grid > *, .platform-grid > *, .capability-grid > *, .footer-grid > * { min-width: 0; }

.hero-copy { max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.trust-row span { display: flex; align-items: center; gap: 8px; }
.trust-row i {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-style: normal;
  font-size: 9px;
}

/* ------------------------------------------------- hero product mockup --- */

/* Card first, then the two callouts side by side underneath. They used to be
   absolutely positioned over the card, which overlapped its own text as soon as
   the column narrowed. */
.hero-visual {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 10px;
  width: 100%;
  max-width: 470px;
  margin-inline: auto;
}

.dashboard-card {
  position: relative;
  z-index: 3;
  flex: 1 1 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.dashboard-top, .activity-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.mini-brand { display: flex; align-items: center; gap: 8px; color: var(--heading); font-size: 12px; font-weight: 600; }
.online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(53, 211, 154, .22);
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
}
.online i { width: 5px; height: 5px; border-radius: 50%; background: var(--success); }

.security-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 22px 0 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}
.shield {
  flex: none;
  width: 52px;
  height: 58px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 93% 18%, 87% 72%, 50% 100%, 13% 72%, 7% 18%);
  background: linear-gradient(150deg, var(--accent-hi), var(--accent-lo));
}
.shield-core {
  width: 40px;
  height: 45px;
  display: grid;
  place-items: center;
  clip-path: inherit;
  background: var(--bg-raised);
  color: var(--accent-text);
}
.shield-core svg { width: 19px; height: 19px; }
.summary-label {
  display: block;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.security-summary strong, .security-summary small { display: block; }
.security-summary strong {
  margin: 5px 0 3px;
  color: var(--heading);
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -.02em;
}
.security-summary small { color: var(--muted); font-size: 12px; }

.scan-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.scan-row div { padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-raised); }
.scan-row span, .scan-row strong { display: block; }
.scan-row span { color: var(--faint); font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; }
.scan-row strong { margin-top: 5px; color: var(--text-strong); font-size: 13px; font-weight: 600; }
.scan-row .safe { color: var(--success); }

.activity-card { margin-top: 8px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); }
.activity-head span, .activity-head small { display: block; }
.activity-head span { color: var(--text-strong); font-size: 12px; font-weight: 600; }
.activity-head small { color: var(--faint); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; }
.activity-head b {
  padding: 3px 8px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .06em;
}
.chart { height: 78px; margin-top: 10px; }
.chart svg { width: 100%; height: 100%; }
.chart-area { fill: url(#chartFill); }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; }

.floating-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 190px;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
  box-shadow: var(--shadow-md);
}
.floating-alert b, .floating-alert small { display: block; }
.floating-alert b { color: var(--heading); font-size: 11.5px; font-weight: 600; }
.floating-alert small { color: var(--muted); font-size: 10.5px; line-height: 1.45; }
.alert-icon {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-text);
}
.alert-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.blue-icon { background: var(--accent-soft); color: var(--accent-text); }

/* ---------------------------------------------------- capability strip --- */

.capability-strip { border-block: 1px solid var(--line); background: var(--bg-raised); }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 0; }
.capability-grid div { padding: 0 32px; border-left: 1px solid var(--line); }
.capability-grid div:first-child { padding-left: 0; border-left: 0; }
.capability-grid strong, .capability-grid span { display: block; }
.capability-grid strong { color: var(--heading); font-family: var(--display); font-size: 16px; letter-spacing: -.015em; }
.capability-grid span { margin-top: 4px; color: var(--muted); font-size: 13px; }

/* ---------------------------------------------------------- products --- */

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color .22s ease, background .22s ease;
}
/* A hairline that lights up on hover, in place of the decorative corner blob. */
.feature-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.feature-card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.feature-card:hover::after { opacity: 1; }
.feature-large {
  grid-row: span 2;
  min-height: 620px;
  padding: 32px;
  background: linear-gradient(165deg, var(--surface-2) 0%, var(--surface) 62%);
}

.icon-box {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-3);
  color: var(--accent-text);
}
.icon-box svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* The palette is deliberately monochrome; these legacy hooks inherit it. */
.icon-box.cyan, .icon-box.violet, .icon-box.amber, .icon-box.blue {
  background: var(--surface-3);
  color: var(--accent-text);
}

.card-tag {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.feature-card h3 { margin: 10px 0 12px; font-size: 22px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.feature-card ul { display: grid; gap: 9px; margin: 22px 0 0; padding: 0; list-style: none; }
.feature-card li { position: relative; padding-left: 24px; color: var(--text); font-size: 13.5px; }
.feature-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 3px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 8px;
  line-height: 1;
}
.feature-card > a {
  position: absolute;
  left: 28px;
  bottom: 26px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--accent-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.feature-card > a:hover { color: var(--accent-hi); }
.feature-card > a span { transition: transform .2s ease; }
.feature-card > a:hover span { transform: translateX(3px); }

.scan-demo {
  margin-top: 32px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}
.scan-demo-head, .verdict { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.scan-demo-head span, .verdict span { color: var(--faint); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.scan-demo-head b { color: var(--success); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; }
.scan-demo-file { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.scan-demo-file > i {
  flex: none;
  width: 30px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface-3);
  clip-path: polygon(0 0, 68% 0, 100% 26%, 100% 100%, 0 100%);
}
.scan-demo-file strong, .scan-demo-file small { display: block; }
.scan-demo-file strong { color: var(--text-strong); font-family: var(--mono); font-size: 12.5px; }
.scan-demo-file small { color: var(--faint); font-size: 11px; }
.progress { height: 4px; overflow: hidden; border-radius: 999px; background: var(--surface-3); }
.progress i { display: block; width: 88%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-lo), var(--accent-hi)); }
.verdict { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.verdict strong { color: var(--danger); font-size: 13px; font-weight: 600; }

/* -------------------------------------------------------- technology --- */

.architecture { background: var(--bg-raised); border-block: 1px solid var(--line); }
.architecture-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(44px, 5.5vw, 80px); }
.check-list { display: grid; gap: 10px; margin-top: 34px; }
.check-list > div {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.check-list i {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-3);
  color: var(--accent-text);
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
}
.check-list b, .check-list small { display: block; }
.check-list b { color: var(--heading); font-size: 13.5px; font-weight: 600; }
.check-list small { color: var(--muted); font-size: 12.5px; line-height: 1.55; }

.architecture-map {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle, #000 28%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle, #000 28%, transparent 82%);
}
.node {
  position: absolute;
  z-index: 2;
  min-width: 124px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.node b, .node small { display: block; }
.node b { color: var(--heading); font-size: 12px; font-weight: 600; }
.node small { color: var(--faint); font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; }
.center-node {
  left: 50%;
  top: 50%;
  min-width: 148px;
  padding: 22px 18px;
  transform: translate(-50%, -50%);
  border-color: var(--accent-line);
  background: var(--surface-3);
}
.center-node .brand-mark { margin: 0 auto 8px; }
.center-node .brand-mark span { background: var(--surface-3); }
.node-1 { left: 8%; top: 12%; }
.node-2 { right: 7%; top: 13%; }
.node-3 { left: 7%; bottom: 12%; }
.node-4 { right: 6%; bottom: 12%; }
.connectors { position: absolute; inset: 0; width: 100%; height: 100%; }
.connectors path { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 4 6; }

/* ---------------------------------------------------------- platforms --- */

.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.platform-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color .22s ease, background .22s ease;
}
.platform-card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.platform-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-3);
  color: var(--text-strong);
}
.platform-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.platform-icon.android, .platform-icon.ios, .platform-icon.windows { background: var(--surface-3); color: var(--text-strong); }
.platform-icon.ios svg, .platform-icon.windows svg { fill: currentColor; stroke: none; }
.platform-card h3 { margin-bottom: 12px; font-size: 21px; }
.platform-card p { min-height: 108px; margin: 0; color: var(--muted); font-size: 14.5px; }
.status-pill {
  display: inline-flex;
  margin-top: 20px;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
}
.status-primary { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-text); }

/* ----------------------------------------------------------- business --- */

.business-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(40px, 5vw, 68px);
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(900px 400px at 88% 0%, rgba(76, 125, 255, .09), transparent 68%),
    var(--surface);
}
.business-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
}
.business-copy { position: relative; z-index: 2; }
.business-copy h2 { font-size: clamp(28px, 3.2vw, 40px); }
.business-copy .button { margin-top: 28px; }
.business-dashboard { position: relative; z-index: 2; }

.mini-window {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-raised);
  box-shadow: var(--shadow-lg);
}
.window-head {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.window-head > span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.window-head b { margin-left: 8px; color: var(--faint); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; }
.window-content { display: grid; grid-template-columns: 54px 1fr; min-height: 250px; }
.side-nav { display: grid; align-content: start; gap: 13px; padding: 18px; border-right: 1px solid var(--line); background: var(--surface); }
.side-nav i { width: 16px; height: 6px; border-radius: 999px; background: var(--surface-3); }
.side-nav i:first-child { background: var(--accent); }
.window-main { padding: 22px; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metric-row span { padding: 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.metric-row b, .metric-row small { display: block; }
.metric-row b { color: var(--heading); font-family: var(--display); font-size: 15px; letter-spacing: -.02em; }
.metric-row small { color: var(--faint); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; }
.fake-chart {
  height: 92px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 14px 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.fake-chart i { flex: 1; border-radius: 2px; background: linear-gradient(180deg, rgba(76, 125, 255, .62), rgba(76, 125, 255, .1)); }
.fake-chart i:nth-child(1) { height: 35%; }
.fake-chart i:nth-child(2) { height: 62%; }
.fake-chart i:nth-child(3) { height: 48%; }
.fake-chart i:nth-child(4) { height: 80%; }
.fake-chart i:nth-child(5) { height: 55%; }
.fake-chart i:nth-child(6) { height: 73%; }
.fake-chart i:nth-child(7) { height: 90%; }
.device-lines { display: grid; gap: 7px; }
.device-lines span { height: 8px; border-radius: 999px; background: var(--surface-3); }
.device-lines span:nth-child(2) { width: 84%; }
.device-lines span:nth-child(3) { width: 66%; }

/* ------------------------------------------------------------ contact --- */

.contact-section { background: var(--bg-raised); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(44px, 5.5vw, 80px); align-items: start; }
.contact-copy { padding-top: 20px; }
.contact-points { display: grid; gap: 11px; margin: 28px 0; }
.contact-points span { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 13.5px; }
.contact-points i {
  flex: none;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-style: normal;
  font-size: 10px;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
.contact-email:hover { border-color: var(--accent-line); background: var(--surface-2); }
.contact-email > span:first-child {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--surface-3);
  color: var(--accent-text);
}
.contact-email svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-email small, .contact-email strong { display: block; }
.contact-email small { color: var(--faint); font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; }
.contact-email strong { margin-top: 2px; color: var(--heading); font-size: 13.5px; font-weight: 600; }

.contact-form {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.form-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-heading h3 { font-size: 20px; }
.form-heading p { margin: 0; color: var(--faint); font-size: 11.5px; }
.contact-form label { display: block; margin: 0 0 7px; color: var(--text-strong); font-size: 12.5px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  color: var(--heading);
  outline: none;
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.contact-form input, .contact-form select { min-height: 46px; }
.contact-form textarea { min-height: 128px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--faint); }
.contact-form input:hover, .contact-form select:hover, .contact-form textarea:hover { border-color: #33425c; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.message-label-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.message-label-row label { margin-bottom: 7px; }
.character-counter {
  margin-bottom: 7px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.character-counter.near-limit { color: var(--warn); }
.character-counter.at-limit { color: var(--danger); }
.field-help { margin: -10px 0 16px; color: var(--faint); font-size: 11px; }

/* IMPORTANT: never set `overflow` (or a transform/filter/perspective) on this
   wrapper or any of its ancestors. hCaptcha injects its challenge as a
   position:fixed overlay inside this container; a scroll container clips it and
   the checkbox appears to do nothing when clicked. */
.captcha-wrap { min-height: 78px; margin: 2px 0 18px; overflow: visible; }
.captcha-wrap .h-captcha { display: block; min-height: 78px; }
.captcha-wrap iframe { max-width: 100%; }
/* An explicit `display` value overrides the browser's `[hidden] { display: none }`,
   so re-assert it for both boxes below. */
.captcha-wrap .h-captcha[hidden], .captcha-fallback[hidden] { display: none !important; }

/* Shown only when the hCaptcha script cannot load (blocked by a network filter,
   privacy extension or offline). Without this the user just sees an empty gap
   and an unexplained "complete the security check" error. */
.captcha-fallback {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 15px;
  border: 1px solid rgba(242, 177, 60, .28);
  border-radius: var(--radius-sm);
  background: var(--warn-soft);
  color: #e8c481;
  font-size: 12px;
  line-height: 1.55;
}
.captcha-fallback svg { flex: none; width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.captcha-fallback a { color: var(--warn); font-weight: 600; }
.captcha-fallback code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(242, 177, 60, .14);
  font-family: var(--mono);
  font-size: 11px;
}
.captcha-status { margin: -12px 0 16px; font-size: 11.5px; font-weight: 600; }
.captcha-status.ok { color: var(--success); }
.captcha-status.warn { color: var(--warn); }

/* Inline field-level validation */
.field-error { display: none; margin: -10px 0 14px; color: var(--danger); font-size: 11.5px; font-weight: 500; }
.field-error.visible { display: block; }
.contact-form input[aria-invalid="true"], .contact-form select[aria-invalid="true"], .contact-form textarea[aria-invalid="true"] {
  border-color: rgba(244, 115, 108, .5);
  background: var(--danger-soft);
}
.contact-form input[aria-invalid="true"]:focus, .contact-form select[aria-invalid="true"]:focus, .contact-form textarea[aria-invalid="true"]:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(244, 115, 108, .14);
}

.form-submit { width: 100%; margin-top: 4px; }
.form-submit:disabled { cursor: not-allowed; opacity: .55; }
.form-note { margin: 14px 0 0; color: var(--faint); text-align: center; font-size: 11px; line-height: 1.6; }
.form-note a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); }
.form-note a:hover { color: var(--text-strong); }
.form-status { min-height: 20px; margin: 12px 0 0; text-align: center; font-size: 12.5px; font-weight: 600; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }
.form-status.warn { color: var(--warn); }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }

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

footer { padding: 72px 0 24px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, .75fr); gap: 44px; }
.footer-brand p { max-width: 260px; margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-grid b {
  margin-bottom: 4px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-grid a:not(.brand) { color: var(--muted); text-decoration: none; font-size: 13.5px; transition: color .18s ease; }
.footer-grid a:not(.brand):hover { color: var(--heading); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}

/* ------------------------------------------------- legal / data pages --- */

.legal-page { min-height: 100vh; padding: 40px 0 96px; background: var(--bg); }
.legal-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.legal-note { margin-top: -4px; color: var(--faint) !important; font-size: 13px !important; }
.legal-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.legal-kicker {
  color: var(--accent-text);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.legal-card h1 { margin: 14px 0 18px; max-width: none; font-size: clamp(30px, 5vw, 44px); }
.legal-card h2 { margin: 38px 0 10px; font-size: 18px; letter-spacing: -.02em; }
.legal-card p { color: var(--text); font-size: 15px; }
.legal-card a:not(.button) { color: var(--accent-text); font-weight: 500; }
.legal-card a:not(.button):hover { color: var(--accent-hi); }
.legal-back { margin-top: 36px; }

.delete-card { max-width: 720px; }
.delete-intro { margin-bottom: 20px; }
.delete-warning {
  display: grid;
  gap: 6px;
  margin: 26px 0 28px;
  padding: 18px 20px;
  border: 1px solid rgba(242, 177, 60, .28);
  border-radius: var(--radius);
  background: var(--warn-soft);
  color: #e8c481;
}
.delete-warning strong { color: var(--warn); font-size: 12.5px; }
.delete-warning span { font-size: 14px; line-height: 1.6; }
.delete-form { display: grid; gap: 10px; }
.delete-form label { display: block; margin-top: 6px; color: var(--text-strong); font-size: 12.5px; font-weight: 600; }
.delete-form input {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  color: var(--heading);
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.delete-form input::placeholder { color: var(--faint); }
.delete-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}
.delete-panel { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.delete-panel h2 { margin: 0 0 10px; font-size: clamp(21px, 3vw, 27px); }
.delete-form > * { min-width: 0; }
.turnstile-container { min-height: 65px; margin: 6px 0 14px; overflow-x: auto; }
.turnstile-container > div { display: flex; justify-content: center; }
.delete-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.delete-actions .button { width: auto; }
.success-panel {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid rgba(53, 211, 154, .28);
  border-radius: var(--radius);
  background: var(--success-soft);
}
.success-panel h2 { margin-bottom: 8px; }
#requestCodeButton:disabled, #resendCodeButton:disabled { cursor: not-allowed; opacity: .55; }

/* ------------------------------------------------------------- motion --- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Once the entrance animation has finished, drop the transform entirely.
   A non-`none` transform makes the element a containing block for fixed-position
   descendants, which breaks the hCaptcha challenge overlay (it is rendered with
   position:fixed and would otherwise be anchored to the form instead of the viewport). */
.reveal.reveal-done { transform: none; transition: opacity .6s ease; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .18s; }

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

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

@media (max-width: 1020px) {
  .hero-grid, .architecture-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .business-card { grid-template-columns: 1fr; }
  .platform-card p { min-height: 130px; }
  .contact-copy { padding-top: 0; }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; margin-left: 10px; }
  .nav-wrap .lang-switch { margin-left: auto; }
  .nav-links {
    position: absolute;
    top: 62px;
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface-2);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 6px; }
  .nav-links a:hover { background: var(--surface-3); }
  .nav-links a::after { display: none; }
  .hero { padding-top: 128px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .capability-grid div:nth-child(3) { padding-left: 0; border-left: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-large { grid-row: auto; min-height: auto; }
  .feature-card { min-height: 0; }
  /* The "Learn more" link is absolutely pinned to the card's bottom-left on wide
     screens. Once the card is one column the paragraph grows into it, so let the
     link take part in normal flow instead. */
  .feature-card > a { position: static; margin-top: 20px; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card p { min-height: auto; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .nav-wrap { height: 62px; gap: 10px; }
  .lang-switch button { min-width: 30px; padding: 4px 7px; }
  .brand { font-size: 18px; }
  .hero { padding-top: 116px; }
  .hero-grid { gap: 40px; }
  h1 { margin: 18px 0; font-size: clamp(34px, 10.5vw, 46px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-row { gap: 10px 20px; }
  .dashboard-card { max-width: 100%; padding: 16px; }
  .dashboard-top { align-items: flex-start; }
  .security-summary { margin: 18px 0 8px; padding: 14px; gap: 13px; }
  .shield { width: 44px; height: 50px; }
  .shield-core { width: 34px; height: 38px; }
  .shield-core svg { width: 16px; height: 16px; }
  .security-summary strong { font-size: 16px; }
  .scan-row { gap: 6px; }
  .scan-row div { padding: 9px 8px; }
  .scan-row span { font-size: 8.5px; letter-spacing: .06em; }
  .scan-row strong { font-size: 11.5px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid div { padding: 0 0 18px !important; border-left: 0; border-bottom: 1px solid var(--line); }
  .capability-grid div:last-child { padding-bottom: 0 !important; border-bottom: 0; }
  .feature-card, .feature-large { padding: 22px; }
  .feature-card > a { left: 22px; }
  .architecture-map { min-height: 420px; }
  .node { min-width: 100px; padding: 10px 12px; }
  .center-node { min-width: 118px; padding: 16px 14px; }
  .node-1 { left: 3%; }
  .node-2 { right: 3%; }
  .node-3 { left: 3%; }
  .node-4 { right: 3%; }
  .business-card { padding: 26px 20px; border-radius: var(--radius-lg); }
  .window-content { grid-template-columns: 44px 1fr; }
  .side-nav { padding: 14px 12px; }
  .window-main { padding: 16px; }
  .metric-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 18px; }
  .form-heading { display: block; }
  .form-heading p { margin-top: 5px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

