/* ==========================================================================
   Nexos.hr – English homepage
   Tokens come from /Design system/tokens.json. Light mode only.
   ========================================================================== */

@font-face {
  font-family: "Jost";
  src: url("../assets/fonts/Jost-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../assets/fonts/Jost-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Design system colour tokens */
  --primary-blue: #005896;
  --background: #edf3fb;
  --accent-red: #ff5959;
  --black: #151515;
  --grayish-blue: #99a1ac;

  /* Derived from the tokens */
  --white: #ffffff;
  --ink-soft: rgba(21, 21, 21, 0.68);
  --blue-deep: #00497d;
  --blue-tint: #e5eef5;          /* primary blue at ~10% on white */
  --blue-tint-2: #d4e3ef;
  --line: rgba(21, 21, 21, 0.08);

  /* Radius: design system "regular-radius" is 12px; larger surfaces use multiples */
  --radius: 12px;
  --radius-2: 24px;
  --radius-3: 36px;
  --radius-pill: 999px;

  /* Liquid glass: light (on the page) and dark (on primary blue) */
  --glass-blur: blur(18px) saturate(180%);
  --glass-dark-blur: blur(18px) saturate(115%);
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .28));
  --glass-edge: rgba(255, 255, 255, .8);
  --glass-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .95),
    inset 0 -1px 2px rgba(0, 88, 150, .06),
    inset 0 0 14px rgba(255, 255, 255, .45),
    0 8px 24px rgba(0, 60, 110, .09),
    0 1px 2px rgba(0, 60, 110, .06);
  --glass-dark-bg: linear-gradient(135deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .06));
  --glass-dark-edge: rgba(255, 255, 255, .32);
  --glass-dark-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .5),
    inset 0 -1px 2px rgba(255, 255, 255, .08),
    inset 0 0 18px rgba(255, 255, 255, .08),
    0 12px 30px rgba(0, 20, 50, .22);
  --glass-sheen: radial-gradient(120% 90% at 18% -10%, rgba(255, 255, 255, .55), transparent 46%);

  --phone-shadow: drop-shadow(0 6px 10px rgba(0, 30, 60, .12)) drop-shadow(0 28px 44px rgba(0, 30, 60, .22));
  --phone-shadow-0: drop-shadow(0 6px 10px rgba(0, 30, 60, 0)) drop-shadow(0 28px 44px rgba(0, 30, 60, 0));

  --shadow-sm: 0 1px 2px rgba(0, 40, 70, 0.06), 0 4px 14px rgba(0, 40, 70, 0.06);
  --shadow-md: 0 2px 6px rgba(0, 40, 70, 0.06), 0 18px 40px rgba(0, 40, 70, 0.10);

  --container: 1200px;
  --gutter: 24px;
  --section-y: clamp(80px, 11vw, 140px);

  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--black);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
picture { display: contents; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y) 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--primary-blue); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--primary-blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type ---------- */

.hero-title {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero-title-soft { display: block; color: var(--primary-blue); }

.h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h3 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); text-wrap: pretty; }

/* Eyebrow: a liquid-glass tag */
.eyebrow {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 8px 18px;
  font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: 0.01em;
  color: var(--primary-blue);
  margin-bottom: 22px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.eyebrow { isolation: isolate; }
.eyebrow::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--glass-sheen); pointer-events: none; }
.eyebrow-light {
  color: var(--white);
  background: var(--glass-dark-bg);
  border-color: var(--glass-dark-edge);
  box-shadow: var(--glass-dark-shadow);
  -webkit-backdrop-filter: var(--glass-dark-blur);
  backdrop-filter: var(--glass-dark-blur);
}

.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--primary-blue);
  --btn-fg: var(--white);
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-weight: 500; line-height: 1;
  text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 0; border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary:hover { --btn-bg: var(--blue-deep); box-shadow: 0 10px 24px rgba(0, 88, 150, .28); }
.btn-light { --btn-bg: var(--background); --btn-fg: var(--primary-blue); }
.btn-light:hover { --btn-bg: var(--white); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn-sm { font-size: 16px; padding: 12px 22px; }
.btn-lg { font-size: 19px; padding: 19px 30px; }

/* ---------- Nav ---------- */

.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  padding: 14px var(--gutter) 0;
}
.nav {
  max-width: var(--container);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 10px 10px 22px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 20px; height: auto; }
.brand-word { font-size: 23px; font-weight: 500; letter-spacing: -0.01em; color: var(--black); }
.brand-word span { color: var(--primary-blue); }

/* ---------- Hero ---------- */

.hero { padding-top: clamp(56px, 8vw, 96px); }
.hero-copy { text-align: center; max-width: 1180px; }


.hero-sub {
  max-width: 640px;
  margin: 28px auto 0;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--ink-soft);
  text-wrap: pretty;
}
.hero-cta { margin-top: 38px; display: flex; justify-content: center; }

.hero-stage {
  position: relative;
  margin-top: clamp(0px, 2vw, 16px);
  padding-top: 64px;
  isolation: isolate;
}
/* Blue panel behind the phones. It ends above the phones' base so they sit fully
   visible in front of it; it clips its own decorative circles. */
.hero-panel {
  position: absolute; inset: calc(64px + 26%) 0 6% 0; z-index: -1;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .14), transparent 60%),
    var(--primary-blue);
  border-radius: var(--radius-3);
}
.hero-phones {
  position: relative; z-index: 1;
  width: min(660px, 92%);
  height: auto;
  margin: 0 auto;
  filter: var(--phone-shadow);
  transform-origin: 50% 60%;
  transition: scale .6s cubic-bezier(.22, 1, .36, 1);
}
.hero-phones:hover { scale: 1.075; }

/* Soft ground shadow under the phones; spreads a little when they grow on hover */
.hero-stage::after {
  content: "";
  position: absolute; left: 50%; bottom: 0; z-index: 0;
  width: min(420px, 60%); height: 46px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 25, 55, .28), rgba(0, 25, 55, 0));
  filter: blur(8px);
  pointer-events: none;
  transition: scale .6s cubic-bezier(.22, 1, .36, 1), opacity .6s ease;
}
.hero-stage:has(.hero-phones:hover)::after { scale: 1.12 1.05; opacity: .8; }

.orb, .ring { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; }
.orb-1 { width: 220px; height: 220px; left: -60px; bottom: -70px; background: rgba(237, 243, 251, .12); }
.orb-2 { width: 64px; height: 64px; right: 11%; top: 12%; background: var(--accent-red); }
.ring-1 { width: 420px; height: 420px; right: -140px; bottom: -200px; border: 1.5px solid rgba(237, 243, 251, .22); }

.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  background: var(--white);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-md);
  font-size: 15px; line-height: 1.25;
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-weight: 500; }
.float-card small { display: block; color: var(--ink-soft); font-size: 13px; margin-top: 2px; }
.float-card-a { left: 5%; top: 48%; }
.float-card-b { right: 6%; bottom: 16%; animation-delay: -3s; }
.float-icon {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
}
.float-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.float-icon-blue { background: var(--blue-tint); color: var(--primary-blue); }
.float-icon-green { background: #dcf5e6; color: #11985a; }

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

/* ---------- Problem ---------- */

.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.problem-lead { margin-top: 24px; max-width: 520px; }
.problem-side .flipper { margin-top: 0; }

/* Today / With Nexos.hr: a glass toggle flips three cards */
.flipper { margin-top: 36px; }
.seg {
  position: relative;
  isolation: isolate;
  display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 5px; margin-bottom: 16px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.seg button {
  position: relative; z-index: 1;
  font: inherit; font-size: 15px; font-weight: 500;
  padding: 10px 22px;
  border: 0; border-radius: var(--radius-pill);
  background: none; color: var(--ink-soft);
  cursor: pointer;
  transition: color .3s ease;
}
.seg button[aria-pressed="true"] { color: var(--white); }
.seg-thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 55%), var(--primary-blue);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), 0 6px 14px rgba(0, 88, 150, .25);
  transition: transform .45s cubic-bezier(.34, 1.3, .64, 1);
}
.flipper.is-app .seg-thumb { transform: translateX(100%); }

.flip-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; perspective: 900px; }
.flip {
  position: relative; height: 158px;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.3, .7, .2, 1);
}
.flip:nth-child(2) { transition-delay: .08s; }
.flip:nth-child(3) { transition-delay: .16s; }
.flipper.is-app .flip { transform: rotateY(180deg); }

.face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px;
  border-radius: var(--radius-2);
  font-size: 15px; line-height: 1.25;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.face > * { position: relative; }
.face small { display: block; margin-top: 4px; font-size: 13px; }
.face-ico {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
}
.face-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Today: white and flat */
.face-today {
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid rgba(0, 88, 150, .08);
}
.face-today .face-ico { background: var(--background); color: var(--grayish-blue); }

/* With Nexos.hr: blue glass */
.face-app {
  transform: rotateY(180deg);
  color: var(--white);
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, .22), transparent 55%),
    linear-gradient(135deg, rgba(0, 88, 150, .94), rgba(0, 88, 150, .78));
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .5),
    inset 0 -2px 8px rgba(0, 25, 55, .25),
    0 14px 30px rgba(0, 88, 150, .28);
}
.face-app strong { font-weight: 500; }
.face-app small { color: rgba(255, 255, 255, .8); }
.face-app .face-ico {
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, .85));
  color: var(--primary-blue);
  box-shadow: inset 0 -1px 2px rgba(0, 88, 150, .15), 0 4px 10px rgba(0, 25, 55, .2);
}

/* ---------- Features (bento) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-sm);
}
.feature-card {
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-text { padding: 32px 32px 28px; }
.feature-text p { margin-top: 10px; color: var(--ink-soft); font-size: 17px; }

.feature-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-tint); color: var(--primary-blue);
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li {
  padding: 7px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--primary-blue);
  background: var(--blue-tint);
  border-radius: var(--radius-pill);
}

.feature-shot {
  position: relative;
  flex: 1;
  min-height: 340px;
  margin: 0 12px 12px;
  border-radius: var(--radius-2);
  background:
    radial-gradient(80% 70% at 50% 100%, var(--blue-tint-2), transparent 70%),
    var(--blue-tint);
  overflow: hidden;
}
.feature-shot img {
  position: absolute; left: 50%; top: 36px;
  width: min(250px, 72%); height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 28px rgba(0, 40, 80, .18));
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.feature-card:hover .feature-shot img { transform: translateX(-50%) translateY(-10px); }

/* Full screenshot, centred in its panel (Payslips) */
.feature-shot.shot-full {
  display: flex; align-items: center; justify-content: center;
  height: 580px;
  padding: 36px 24px;
}
.feature-shot.shot-full img,
.feature-wide .feature-shot.shot-full img {
  position: static;
  width: auto; height: 100%; max-height: 520px; max-width: 100%;
  transform: none;
}
.feature-card:hover .feature-shot.shot-full img { transform: translateY(-6px); }

/* Wide cards: text beside the screenshot */
.feature-wide {
  grid-column: span 2;
  flex-direction: row;
}
.feature-wide .feature-text { flex: 1 1 50%; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.feature-wide .feature-shot { flex: 1 1 50%; margin: 12px 12px 12px 0; min-height: 420px; }
.feature-wide .feature-shot img { top: 40px; width: min(270px, 70%); }

/* Chat mock (no screenshot supplied) */
/* A whole phone, centred in its panel like the payslip screenshot */
.chat-phone {
  position: relative;
  display: flex; flex-direction: column;
  height: 100%; max-height: 520px;
  aspect-ratio: 720 / 1486;
  max-width: 100%;
  padding: 18px 14px 26px;
  background: #dfe9f7;
  border: 8px solid #1c1d22;
  border-radius: 42px;
  box-shadow: 0 18px 28px rgba(0, 40, 80, .18);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  overflow: hidden;
}
.chat-phone::after { /* home indicator */
  content: "";
  position: absolute; left: 50%; bottom: 8px;
  width: 38%; height: 4px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: #1c1d22;
  opacity: .8;
}
.feature-card:hover .chat-phone { transform: translateY(-6px); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 6px 4px 14px; }
.chat-back { font-size: 26px; line-height: 1; color: var(--primary-blue); }
.chat-avatar-group { display: flex; }
.chat-avatar-group i {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-style: normal; font-size: 10px; font-weight: 600; color: var(--white);
  background: var(--primary-blue);
  border: 2px solid #dfe9f7;
  margin-left: -8px;
}
.chat-avatar-group i:first-child { margin-left: 0; background: var(--accent-red); }
.chat-avatar-group i:last-child { background: var(--grayish-blue); }
.chat-title { font-size: 15px; font-weight: 500; line-height: 1.1; }
.chat-title small { display: block; font-size: 11px; color: var(--ink-soft); font-weight: 400; }
.chat-body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.chat-body .chat-input { margin-top: auto; }
.msg {
  max-width: 86%;
  padding: 9px 12px;
  font-size: 13px; line-height: 1.3;
  border-radius: 16px;
}
.msg b { display: block; font-size: 11px; font-weight: 600; color: var(--primary-blue); margin-bottom: 2px; }
.msg.in { background: var(--white); border-bottom-left-radius: 5px; align-self: flex-start; }
.msg.out { background: var(--primary-blue); color: var(--white); border-bottom-right-radius: 5px; align-self: flex-end; }
.chat-input {
  margin-top: 6px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 6px 6px 14px;
  font-size: 13px; color: var(--grayish-blue);
  background: var(--white);
  border-radius: var(--radius-pill);
}
.chat-input i {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font-style: normal; color: var(--white); background: var(--primary-blue);
}

/* ---------- Easy for HR ---------- */

.blue-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px);
  color: var(--white);
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(255, 255, 255, .12), transparent 60%),
    var(--primary-blue);
  border-radius: var(--radius-3);
}
.ring-hr { width: 520px; height: 520px; left: -220px; top: 38%; border: 1.5px solid rgba(237, 243, 251, .18); }
.hr-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
.blue-panel .lead { color: rgba(237, 243, 251, .86); }

.laptop { margin: clamp(40px, 5vw, 64px) auto; max-width: 1040px; }
.laptop img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 20, 40, .35)); }

.hr-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.hr-steps li {
  position: relative;
  isolation: isolate;
  padding: 22px;
  font-size: 16px; line-height: 1.45;
  background: rgba(237, 243, 251, .07);
  border: 1px solid rgba(237, 243, 251, .16);
  border-radius: var(--radius-2);
  box-shadow: 0 0 0 rgba(0, 20, 50, 0);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
/* Liquid glass appears on hover */
.hr-steps li::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: var(--glass-sheen);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.hr-steps li:hover {
  background-color: rgba(255, 255, 255, .16);
  border-color: var(--glass-dark-edge);
  box-shadow: var(--glass-dark-shadow);
  -webkit-backdrop-filter: var(--glass-dark-blur);
  backdrop-filter: var(--glass-dark-blur);
  transform: translateY(-4px);
}
.hr-steps li:hover::after { opacity: 1; }
.hr-steps p { color: rgba(255, 255, 255, .92); }
.step-ico {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--background); color: var(--primary-blue);
  margin-bottom: 18px;
}
.step-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Countries ---------- */

.flags {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  margin-bottom: 56px;
}
.flags li {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 110px;
  font-size: 15px; font-weight: 500; line-height: 1.2; text-align: center;
}
.flags img {
  width: 72px; height: 72px; border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.flags li:hover img { transform: translateY(-4px) scale(1.04); }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.fact { padding: 28px; border-radius: var(--radius-2); font-size: 17px; line-height: 1.45; }
.fact .feature-icon { margin-bottom: 16px; }

.ask { margin-top: 40px; text-align: center; font-size: 19px; color: var(--ink-soft); }
.ask a {
  color: var(--primary-blue); font-weight: 500;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}
.ask a:hover { text-decoration-color: var(--accent-red); }

/* ---------- Proof ---------- */

.proof-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(36px, 6vw, 72px);
  text-align: center;
}
.orb-proof { width: 180px; height: 180px; right: -60px; top: -60px; background: #fff0f1; }
.proof-line { font-size: 18px; color: var(--ink-soft); max-width: 560px; margin-inline: auto; }
.proof-line strong { color: var(--black); font-weight: 500; }
.quote { margin-top: 32px; }
.quote-mark {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--accent-red); color: var(--white);
}
.quote-mark svg { width: 28px; height: 28px; fill: currentColor; }
.quote p {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 500; line-height: 1.2; letter-spacing: -0.015em;
  text-wrap: balance;
}
.quote-by {
  margin-top: 32px;
  display: inline-flex; align-items: center; gap: 12px; text-align: left;
  font-weight: 500;
}
.quote-by small { display: block; font-weight: 400; font-size: 15px; color: var(--ink-soft); }
.quote-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white); background: var(--primary-blue);
  font-weight: 500;
}
/* Placeholders from the copy doc, still to be replaced */
.ph {
  background: rgba(255, 89, 89, .1);
  border-bottom: 2px dashed var(--accent-red);
  border-radius: 4px;
  padding: 0 4px;
}

/* ---------- Closing CTA ---------- */

.closing { padding-bottom: var(--section-y); }
.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  padding: clamp(56px, 9vw, 120px) clamp(24px, 5vw, 64px);
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(255, 255, 255, .14), transparent 60%),
    var(--primary-blue);
  border-radius: var(--radius-3);
}
.cta-panel .h2 { font-size: clamp(38px, 5.4vw, 68px); max-width: 820px; }
.cta-mark { width: 32px; height: auto; opacity: .95; }
.orb-cta-1 { width: 280px; height: 280px; left: -90px; bottom: -120px; background: rgba(237, 243, 251, .1); }
.orb-cta-2 { width: 44px; height: 44px; right: 14%; top: 22%; background: var(--accent-red); }
.ring-cta { width: 560px; height: 560px; right: -240px; top: -260px; border: 1.5px solid rgba(237, 243, 251, .2); }

/* ---------- Footer ---------- */

.footer { padding-bottom: 40px; }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  background: linear-gradient(var(--line), var(--line)) center top / calc(100% - var(--gutter) * 2) 1px no-repeat;
}
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; color: var(--ink-soft); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--primary-blue); }

/* ---------- Language dropdown (next to Contact) ---------- */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-menu { position: relative; }
.lang-menu summary {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 10px;
  font-size: 15px; line-height: 1;
  color: var(--black);
  list-style: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .55));
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 1px 1px #fff, inset 0 -1px 2px rgba(0, 88, 150, .08), 0 4px 12px rgba(0, 60, 110, .08);
  transition: box-shadow .2s ease;
  user-select: none;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { box-shadow: inset 0 1px 1px #fff, 0 6px 16px rgba(0, 60, 110, .14); }
.lang-menu b { font-weight: 500; letter-spacing: .02em; }
.lang-menu img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.lang-caret { width: 14px; height: 14px; fill: none; stroke: var(--ink-soft); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.lang-menu[open] .lang-caret { transform: rotate(180deg); }

.lang-list {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 70;
  min-width: 200px;
  margin: 0; padding: 6px;
  list-style: none;
  border-radius: var(--radius-2);
  background: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78));
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 1px 1px #fff, 0 18px 40px rgba(0, 40, 80, .18);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  transform-origin: top right;
  animation: lang-open .22s cubic-bezier(.2, .7, .2, 1);
}
@keyframes lang-open { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.lang-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  font-size: 15px; line-height: 1;
  color: var(--black); text-decoration: none;
  border-radius: var(--radius);
  transition: background-color .15s ease;
}
.lang-list a:hover { background: rgba(0, 88, 150, .07); }
.lang-list a span { color: var(--ink-soft); }
.lang-list a[aria-current="page"] { background: rgba(0, 88, 150, .1); color: var(--primary-blue); }
.lang-list a[aria-current="page"]::after {
  content: ""; margin-left: auto;
  width: 14px; height: 8px;
  border: solid var(--primary-blue); border-width: 0 0 2px 2px;
  transform: translateY(-2px) rotate(-45deg);
}

/* ---------- Country legal block (DE, HR, SI replace the six-flag row with this) ---------- */
.legal-list {
  max-width: 880px;
  margin: 0 auto;
  padding: 10px;
  border-radius: var(--radius-3);
  background: var(--glass-bg);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.legal-list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px;
  font-size: 17px; line-height: 1.5;
}
.legal-list li + li { border-top: 1px solid rgba(0, 88, 150, .08); }
.legal-check {
  flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  margin-top: -2px;
  color: var(--white);
  background: var(--primary-blue);
}
.legal-check svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.legal-note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--ink-soft); }

/* Long compound words (German especially) may break inside narrow cards */
:lang(de) .h3, :lang(de) .face, :lang(de) .fact, :lang(de) .hr-steps p, :lang(de) .h2 { hyphens: auto; -webkit-hyphens: auto; }

/* ---------- Contact page ---------- */
.contact { padding: clamp(56px, 9vw, 120px) 0 clamp(80px, 10vw, 140px); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 520px);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.contact-intro { padding-top: clamp(0px, 4vw, 48px); }
.contact-title {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 500; line-height: 1.05; letter-spacing: -0.02em;
  text-wrap: balance;
}
.contact-sub { margin-top: 24px; max-width: 480px; }
.field-check a {
  color: var(--primary-blue); font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px;
}

.contact-card {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-3);
  background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .7));
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 1px 1px #fff, 0 24px 60px rgba(0, 50, 100, .12), 0 2px 6px rgba(0, 50, 100, .05);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

.contact-form { display: grid; gap: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit; font-size: 17px; color: var(--black);
  background: var(--white);
  border: 1.5px solid rgba(0, 88, 150, .14);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder, .field textarea::placeholder { color: var(--grayish-blue); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(0, 88, 150, .12);
}
.field.has-error input, .field.has-error textarea { border-color: var(--accent-red); box-shadow: 0 0 0 4px rgba(255, 89, 89, .12); }
.field-error, .form-error { font-size: 14px; color: #d63b3b; }
.field-error:empty, .form-error:empty { display: none; }
.field-error { margin-top: 6px; }

.field-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.field-check input {
  width: 20px; height: 20px; margin: 2px 0 0;
  accent-color: var(--primary-blue);
  cursor: pointer;
}
.field-check label { margin: 0; font-weight: 400; font-size: 15px; line-height: 1.45; color: var(--ink-soft); cursor: pointer; }
.field-check .field-error { grid-column: 2; margin-top: 0; }

.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-submit { justify-content: center; width: 100%; margin-top: 4px; }
.contact-submit[disabled] { opacity: .6; cursor: progress; }

.contact-success {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 48px 12px;
  text-align: center;
  font-size: 22px; font-weight: 500; line-height: 1.3;
}
.contact-success:focus { outline: none; }
.success-ico {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white); background: var(--primary-blue);
  box-shadow: 0 10px 24px rgba(0, 88, 150, .3);
}
.success-ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 20px; z-index: 80;
  width: min(760px, calc(100% - 32px));
  display: flex; align-items: center; gap: 20px;
  padding: 16px 16px 16px 24px;
  transform: translateX(-50%);
  border-radius: var(--radius-2);
  background: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78));
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 1px 1px #fff, 0 20px 50px rgba(0, 40, 80, .2);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  animation: cookie-in .5s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes cookie-in { from { opacity: 0; transform: translate(-50%, 24px); } }
.cookie-banner p { flex: 1; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.cookie-banner a { color: var(--primary-blue); font-weight: 500; text-underline-offset: 3px; }
.cookie-actions { flex: none; display: flex; gap: 8px; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--primary-blue); box-shadow: inset 0 0 0 1.5px rgba(0, 88, 150, .35); }
.btn-ghost:hover { --btn-bg: rgba(0, 88, 150, .06); }

.footer-cookie {
  padding: 0; border: 0; background: none;
  font: inherit; font-size: 16px; color: var(--ink-soft);
  cursor: pointer;
}
.footer-cookie:hover { color: var(--primary-blue); }

/* ---------- Legal text pages (privacy policy) ---------- */
.legal-page { padding: clamp(56px, 8vw, 110px) 0 clamp(80px, 10vw, 130px); }
.legal-page .container { max-width: calc(780px + var(--gutter) * 2); }
.legal-page h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
.legal-updated { margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
.legal-intro { margin-top: 28px; }
.legal-body { margin-top: 44px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-3);
  background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .7));
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 1px 1px #fff, 0 20px 50px rgba(0, 50, 100, .08); }
.legal-body h2 { font-size: 22px; font-weight: 500; line-height: 1.25; }
.legal-body h2:not(:first-child) { margin-top: 36px; padding-top: 32px; border-top: 1px solid rgba(0, 88, 150, .08); }
.legal-body p, .legal-body ul { margin-top: 12px; font-size: 17px; line-height: 1.65; color: rgba(21, 21, 21, .8); }
.legal-body ul { padding-left: 22px; list-style: disc; }
.legal-body li + li { margin-top: 4px; }
.legal-body li::marker { color: var(--primary-blue); }
.legal-body a { color: var(--primary-blue); text-underline-offset: 3px; }

@media (max-width: 680px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; bottom: 12px; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* ---------- Liquid glass ----------
   Frosted, translucent surfaces with a bright top edge and a soft sheen.
   Soft ambient colour sits behind the page so the glass has something to refract. */

body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 8% 6%, rgba(0, 88, 150, .13), transparent 70%),
    radial-gradient(30% 28% at 94% 14%, rgba(255, 89, 89, .09), transparent 70%),
    radial-gradient(40% 36% at 78% 96%, rgba(0, 88, 150, .10), transparent 70%),
    radial-gradient(30% 30% at 10% 88%, rgba(153, 161, 172, .16), transparent 70%);
}

.nav, .tags li, .feature-icon, .fact, .chat-input, .btn-light {
  position: relative;
}
.nav, .float-card, .tags li, .feature-icon, .fact, .chat-input, .btn-light {
  isolation: isolate;
}
.nav::after, .float-card::after, .tags li::after, .feature-icon::after,
.fact::after, .chat-input::after, .btn-light::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--glass-sheen);
  pointer-events: none;
}

/* Light glass */
.nav, .fact {
  background: var(--glass-bg);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.nav { background: linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42)); }

/* Tinted glass chips and icons (sit on white cards) */
.tags li, .feature-icon {
  background: linear-gradient(135deg, rgba(0, 88, 150, .13), rgba(0, 88, 150, .04));
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .95),
    inset 0 -1px 2px rgba(0, 88, 150, .10),
    0 4px 12px rgba(0, 60, 110, .08);
}

/* Glass flag rings */
.flags img {
  padding: 5px;
  border: 1px solid var(--glass-edge);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
}

/* Countries: local colour so the glass cards read as frosted */
.countries { position: relative; isolation: isolate; }
.countries::before {
  content: "";
  position: absolute; inset: 25% 0 -30%; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(28% 34% at 18% 50%, rgba(0, 88, 150, .16), transparent 70%),
    radial-gradient(24% 30% at 82% 45%, rgba(255, 89, 89, .12), transparent 70%),
    radial-gradient(30% 30% at 52% 62%, rgba(0, 88, 150, .08), transparent 70%);
}

/* Chat composer */
.chat-input {
  background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .5));
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 1px 1px #fff, 0 4px 12px rgba(0, 60, 110, .08);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

/* Dark glass (on primary blue) */
.float-card {
  color: var(--white);
  background: var(--glass-dark-bg);
  border: 1px solid var(--glass-dark-edge);
  box-shadow: var(--glass-dark-shadow);
  -webkit-backdrop-filter: var(--glass-dark-blur);
  backdrop-filter: var(--glass-dark-blur);
}
.float-card { background: linear-gradient(135deg, rgba(0, 88, 150, .62), rgba(0, 88, 150, .38)); }
.float-card small { color: rgba(255, 255, 255, .78); }
.float-icon-blue, .float-icon-green {
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .7));
  box-shadow: inset 0 1px 1px #fff, 0 4px 10px rgba(0, 20, 50, .18);
}

/* Glossy buttons */
.btn-primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%), var(--btn-bg);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 -2px 4px rgba(0, 20, 50, .18), 0 6px 16px rgba(0, 88, 150, .22);
}
.btn-light {
  --btn-bg: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .66));
  background: var(--btn-bg);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 1px 1px #fff, inset 0 -2px 4px rgba(0, 88, 150, .12), 0 12px 28px rgba(0, 20, 50, .25);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.btn-light:hover { --btn-bg: linear-gradient(135deg, #fff, rgba(255, 255, 255, .85)); }

/* ---------- Scroll reveal ---------- */

/* JS removes .reveal once an element has finished revealing (keeping .is-in),
   so hover transforms work normally afterwards. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .8s cubic-bezier(.2, .7, .2, 1),
    transform .9s cubic-bezier(.2, .7, .2, 1),
    clip-path 1.2s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Variants */
.js .reveal.reveal-right { transform: translateX(48px); }
.js .reveal.reveal-scale { transform: scale(.94); }
.js .reveal.reveal-rise { transform: translateY(80px) scale(.96); transition-duration: 1s, 1.2s, 0s; }
.js .reveal.reveal-pop {
  transform: translateY(20px) scale(.55);
  transition-timing-function: ease, cubic-bezier(.34, 1.56, .64, 1), ease;
  transition-duration: .5s, .7s, 0s;
}
.js .reveal.reveal-clip {
  opacity: 1;
  transform: none;
  clip-path: inset(5% 7% 5% 7% round 64px);
}
.js .reveal.reveal-clip.is-in { clip-path: inset(0 0 0 0 round var(--radius-3)); }
.js .reveal.is-in.reveal-right,
.js .reveal.is-in.reveal-scale,
.js .reveal.is-in.reveal-rise,
.js .reveal.is-in.reveal-pop { transform: none; }

/* Headlines: words rise out of a mask one after another */
.js .reveal.split { opacity: 1; transform: none; }
.js .split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: .06em 0 .14em;
  margin: -.06em 0 -.14em;
}
.js .split .wi {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--d, 0s) + var(--i, 0) * 45ms);
}
.js .split.is-in .wi { transform: none; }
/* Paragraphs: a quicker word stagger so long lines don't drag */
.js p.split .wi { transition-delay: calc(var(--d, 0s) + var(--i, 0) * 14ms); }

/* ---------- Hero stage: liquid entrance ----------
   Starts at 2s. The blue panel swells from a soft blob, wobbles and settles;
   the phones float up out of a blur; circles spring in; then the floating cards. */
/* The panel grows as a rounded rectangle (clip-path keeps the 36px corners at every size) */
.js .hero-panel {
  animation: liquid-panel 1.7s cubic-bezier(.22, 1, .36, 1) 2s both;
}
@keyframes liquid-panel {
  0%   { opacity: 0; clip-path: inset(72% 36% 0 36% round var(--radius-3)); }
  25%  { opacity: 1; }
  100% { opacity: 1; clip-path: inset(0 0 0 0 round var(--radius-3)); }
}

.js .hero-stage::after { animation: shadow-in 1.4s ease 2.6s backwards; }
@keyframes shadow-in { from { opacity: 0; } }
.js .hero-phones { animation: liquid-rise 1.6s cubic-bezier(.22, 1, .36, 1) 2.2s both; }
@keyframes liquid-rise {
  0%   { opacity: 0; transform: translateY(90px) scale(.93); filter: blur(16px) var(--phone-shadow-0); }
  55%  { opacity: 1; filter: blur(0) var(--phone-shadow); }
  80%  { transform: translateY(-6px) scale(1.005); }
  100% { transform: none; filter: blur(0) var(--phone-shadow); }
}

.js .hero-stage .orb, .js .hero-stage .ring { animation: liquid-pop 1.3s cubic-bezier(.34, 1.56, .64, 1) 2.5s both; }
.js .hero-stage .orb-2 { animation-delay: 2.7s; }
@keyframes liquid-pop {
  from { opacity: 0; scale: 0; }
  to   { opacity: 1; scale: 1; }
}

/* Floating cards pop in 1.25s after the stage starts, then keep bobbing */
.js .hero-stage .float-card { animation: float-in .8s cubic-bezier(.34, 1.56, .64, 1) 3.25s both, bob 6s ease-in-out 4.05s infinite; }
.js .hero-stage .float-card-b { animation-delay: 3.375s, 1.05s; }
@keyframes float-in {
  from { opacity: 0; scale: .8; }
  to   { opacity: 1; scale: 1; }
}

/* Scroll-linked (driven by JS) */
.laptop img { transform-origin: 50% 100%; will-change: scale; }
[data-speed] { will-change: translate; }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: 3px;
  background: var(--primary-blue);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
html:not(.js) .scroll-progress { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.reveal-clip { opacity: 1; transform: none; clip-path: none; transition: none; }
  .js .split .wi { transform: none; }
  .js .hero-panel, .js .hero-phones, .js .hero-stage::after, .js .hero-stage .orb, .js .hero-stage .ring,
  .js .hero-stage .float-card, .float-card { animation: none; }
  .flip { transition: none; }
  .scroll-progress { display: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hr-steps li:last-child { grid-column: span 2; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .problem-grid, .hr-head { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-wide { grid-column: span 2; }
  .float-card-a { left: 3%; }
  .float-card-b { right: 3%; }
}

@media (max-width: 680px) {
  .nav-actions { gap: 6px; }
  .lang-menu summary { padding: 7px 9px 7px 8px; gap: 6px; font-size: 14px; }
  .legal-list li { padding: 16px 12px; font-size: 16px; gap: 12px; }
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  .nav { padding: 8px 8px 8px 16px; }
  .brand-word { font-size: 21px; }
  .bento { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; flex-direction: column; }
  .feature-wide .feature-text, .feature-wide .feature-shot { flex: none; }
  .feature-wide .feature-text { padding: 32px 28px 24px; }
  .feature-wide .feature-shot { margin: 0 12px 12px; min-height: 360px; }
  .feature-text { padding: 28px 28px 24px; }
  .flip-row { grid-template-columns: 1fr; }
  .flip { height: 104px; }
  .face { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; }
  .hero-panel { inset: calc(64px + 22%) 0 5% 0; }
  .hero-phones { width: 100%; }
  .float-card { font-size: 13px; padding: 8px 12px 8px 8px; gap: 8px; }
  .float-card small { font-size: 11px; }
  .float-icon { width: 30px; height: 30px; }
  .float-icon svg { width: 16px; height: 16px; }
  .float-card-a { left: 8px; top: 40%; }
  .float-card-b { right: 8px; bottom: 10%; }
  .orb-2 { width: 36px; height: 36px; }
  .hr-steps, .facts { grid-template-columns: 1fr; }
  .hr-steps li:last-child { grid-column: auto; }
  .flags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 8px; }
  .flags li { width: auto; font-size: 14px; }
  .flags img { width: 60px; height: 60px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .feature-shot.shot-full { height: 520px; padding: 28px 16px; }
}

/* Legal notice: company details as label / value rows */
.legal-dl { margin-top: 14px; }
.legal-dl div { display: grid; grid-template-columns: minmax(140px, 34%) 1fr; gap: 16px; padding: 12px 0; font-size: 17px; line-height: 1.5; }
.legal-dl div + div { border-top: 1px solid rgba(0, 88, 150, .07); }
.legal-dl dt { color: var(--ink-soft); }
.legal-dl dd { margin: 0; color: var(--black); }
.legal-dl a { color: var(--primary-blue); text-underline-offset: 3px; }
@media (max-width: 680px) {
  .legal-dl div { grid-template-columns: 1fr; gap: 2px; }
}
