:root {
  --bg: #f7fbff;
  --paper: #ffffff;
  --paper-soft: rgba(255, 255, 255, 0.72);
  --text: #18242d;
  --muted: #5f717f;
  --line: rgba(89, 127, 148, 0.16);
  --line-strong: rgba(52, 92, 118, 0.2);
  --blue: #6baec8;
  --blue-deep: #2f6f88;
  --aqua: #93d7d2;
  --platinum: #dfe8ee;
  --shadow: 0 18px 48px rgba(31, 67, 87, 0.13);
  --shadow-soft: 0 12px 32px rgba(31, 67, 87, 0.085);
  --radius-xl: 46px;
  --radius-lg: 32px;
  --radius-md: 22px;
  --container: min(1180px, calc(100vw - 48px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 5%, rgba(147, 215, 210, 0.28), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(107, 174, 200, 0.24), transparent 30rem),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
body::selection { background: rgba(107,174,200,.24); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }


.hero, .main-shell, .hero-stage, .stage-orb, .glass-card, .floating-contacts, .cookie-banner {
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero, .main-shell {
  isolation: isolate;
}

.section {
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.hero .section {
  content-visibility: visible;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--text);
  color: white;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.hero {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
  contain: layout paint style;
  will-change: transform;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(240,248,252,.94)),
    radial-gradient(circle at 50% 50%, rgba(147,215,210,.2), transparent 42rem);
}
.hero__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .36;
  background-image:
    linear-gradient(rgba(47,111,136,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,111,136,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), rgba(0,0,0,.12));
}
.hero__glow {
  position: absolute;
  width: 44vw;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: .42;
  transform: translateZ(0);
  will-change: transform, opacity;
  animation: glowDrift 16s ease-in-out infinite alternate;
}
.hero__glow--one { left: -14vw; top: 12vh; background: rgba(147, 215, 210, .55); }
.hero__glow--two { right: -12vw; bottom: 6vh; background: rgba(107, 174, 200, .42); animation-delay: -4s; }

.topbar {
  width: var(--container);
  margin: 0 auto;
  padding: 22px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 6;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  row-gap: 8px;
  letter-spacing: .08em;
  font-weight: 780;
}
.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(47,111,136,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 30px rgba(47,111,136,.08);
  font-size: 12px;
  color: var(--blue-deep);
}
.brand__text { font-size: 14px; }
.brand__descriptor {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(47,111,136,.14);
  background: rgba(255,255,255,.56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92);
  color: var(--blue-deep);
  font-size: 12px;
  letter-spacing: .02em;
  font-weight: 650;
  white-space: nowrap;
}
.topbar__contacts {
  display: flex;
  transform: translateZ(0);
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.54);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav-link {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.nav-link:hover, .nav-link:focus-visible { background: rgba(107,174,200,.13); color: var(--text); transform: translateY(-1px); outline: none; }

.hero__inner {
  width: var(--container);
  margin: auto;
  padding: 10px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  align-items: center;
  gap: 42px;
  position: relative;
  z-index: 4;
}
.hero__copy { max-width: 700px; margin-top: -4px; }
.eyebrow, .section-kicker {
  margin: 0 0 18px;
  width: fit-content;
  padding: 9px 14px;
  border: 1px solid rgba(47,111,136,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  color: var(--blue-deep);
  font-size: 13px;
  line-height: 1;
  letter-spacing: .04em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.hero__title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(40px, 5.6vw, 74px);
  line-height: .95;
  letter-spacing: -.065em;
  font-weight: 760;
}
.hero__lead {
  margin: 20px 0 0;
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.62;
}
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 680;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); outline: none; }
.btn--primary {
  background: linear-gradient(135deg, #224e60, #6baec8);
  color: white;
  box-shadow: 0 18px 42px rgba(47,111,136,.24);
}
.btn--primary:hover, .btn--primary:focus-visible { box-shadow: 0 22px 52px rgba(47,111,136,.3); }
.btn--glass {
  background: rgba(255,255,255,.64);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text);
}
.btn--glass:hover, .btn--glass:focus-visible { border-color: rgba(47,111,136,.24); background: rgba(255,255,255,.82); box-shadow: var(--shadow-soft); }
.btn__icon {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
}

.hero-stage {
  position: relative;
  contain: layout paint style;
  height: min(560px, 58vh);
  min-height: 430px;
  margin-top: -10px;
}
.stage-orb {
  position: absolute;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  border-radius: 42% 58% 52% 48%;
  transform-style: preserve-3d;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.96), rgba(255,255,255,.24) 18%, transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.72), rgba(161,222,220,.36) 40%, rgba(107,174,200,.26));
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: inset -24px -30px 70px rgba(47,111,136,.10), inset 18px 18px 50px rgba(255,255,255,.52), 0 42px 110px rgba(47,111,136,.18);
  animation: orbFloat 9s ease-in-out infinite alternate;
}
.stage-orb--main { width: 68%; aspect-ratio: 1; left: 15%; top: 8%; }
.stage-orb--soft { width: 30%; aspect-ratio: 1; right: 1%; bottom: 5%; opacity: .55; filter: blur(.2px); animation-delay: -3s; }
.stage-ring {
  position: absolute;
  will-change: transform, opacity;
  backface-visibility: hidden;
  border: 1px solid rgba(47,111,136,.16);
  border-radius: 50%;
  transform: rotate(-14deg);
  animation: ringPulse 8s ease-in-out infinite;
}
.stage-ring--one { width: 82%; aspect-ratio: 1; left: 6%; top: 1%; }
.stage-ring--two { width: 54%; aspect-ratio: 1; right: 10%; bottom: 12%; animation-delay: -2.4s; }
.signal-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47,111,136,.32), rgba(147,215,210,.66), transparent);
  transform-origin: center;

  opacity: .68;
  transform: translateZ(0) rotate(-24deg);
  will-change: opacity;
  animation: signalSweep 7s ease-in-out infinite;
}
.signal-line--one { width: 72%; left: 13%; top: 34%; transform: translateZ(0) rotate(-24deg); }
.signal-line--two { width: 58%; left: 25%; bottom: 28%; transform: translateZ(0) rotate(18deg); animation-delay: -3s; }
.glass-card {
  position: absolute;
  width: 184px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.42));
  box-shadow: 0 20px 65px rgba(31,67,87,.12), inset 0 1px 0 rgba(255,255,255,.92);
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  contain: layout paint style;
  animation: cardFloat 7.5s ease-in-out infinite alternate;
}
.glass-card__kicker {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(107,174,200,.13);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 760;
  margin-bottom: 12px;
}
.glass-card strong { display: block; font-size: 15px; letter-spacing: -.02em; }
.glass-card small { display: block; margin-top: 6px; color: var(--muted); line-height: 1.35; }
.glass-card--screening { left: 0; top: 12%; }
.glass-card--interview { right: 4%; top: 0; animation-delay: -1.1s; }
.glass-card--panel { right: 0; top: 36%; animation-delay: -2.2s; }
.glass-card--offer { left: 9%; bottom: 15%; animation-delay: -3.1s; }
.glass-card--onboarding { right: 23%; bottom: 8%; animation-delay: -4s; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(24,36,45,.55);
  font-size: 13px;
}
.scroll-hint span {
  width: 22px;
  height: 34px;
  border: 1px solid rgba(24,36,45,.22);
  border-radius: 999px;
  position: relative;
}
.scroll-hint span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(24,36,45,.42);
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}
.scroll-hint p { margin: 0; }

.main-shell {
  position: relative;
  z-index: 3;
  margin-top: -64px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(147,215,210,.18), transparent 32rem),
    radial-gradient(circle at 92% 7%, rgba(107,174,200,.13), transparent 36rem),
    linear-gradient(180deg, rgba(255,255,255,.96), #f9fcfe 34%, #fff 100%);
  box-shadow: 0 -18px 48px rgba(31,67,87,.11);
  border-top: 1px solid rgba(255,255,255,.82);
  overflow: hidden;
}
.main-shell::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 84px;
  height: 5px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(47,111,136,.12);
}
.section {
  width: var(--container);
  margin: 0 auto;
  padding: 104px 0;
  position: relative;
}
.section__head { max-width: 760px; margin-bottom: 34px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .section-kicker { margin-left: auto; margin-right: auto; }
h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 760;
}
.section__head p, .mission-card p, .contact-panel p {
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.7;
}
.audience-section { padding-bottom: 46px; }
.audience-switch {
  position: sticky;
  transform: translateZ(0);
  top: 20px;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: min(470px, 100%);
  margin: 34px auto 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}
.audience-switch__button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 720;
  transition: background .28s ease, color .28s ease, box-shadow .28s ease, transform .28s ease;
}
.audience-switch__button:hover, .audience-switch__button:focus-visible { outline: none; color: var(--text); }
.audience-switch__button.is-active {
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(227,242,247,.9));
  color: var(--text);
  box-shadow: 0 14px 32px rgba(47,111,136,.12), inset 0 1px 0 rgba(255,255,255,.92);
}
.audience-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .28s ease, transform .28s ease;
}
.audience-content.is-switching { opacity: 0; transform: translateY(10px); }
.audience-content.is-hidden { display: none; }

.process-section { padding-top: 36px; }
.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 37px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47,111,136,.20), transparent);
}
.process-card {
  min-height: 258px;
  contain: layout paint style;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 18px 55px rgba(31,67,87,.07), inset 0 1px 0 rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.process-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(147,215,210,.18);

}
.process-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.process-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(107,174,200,.18), rgba(147,215,210,.14));
  color: var(--blue-deep);
  font-weight: 780;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}
.process-card h3 { margin: 0 0 12px; font-size: 20px; letter-spacing: -.025em; }
.process-card p { margin: 0; color: var(--muted); line-height: 1.58; font-size: 15px; }

.mission-section { padding-top: 24px; }
.mission-card {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(320px, .58fr);
  gap: 28px;
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(147,215,210,.23), transparent 24rem),
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(242,249,252,.82));
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.94);
}
.mission-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.mission-list li {
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.62);
  color: var(--text);
  position: relative;
  line-height: 1.45;
}
.mission-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  box-shadow: 0 0 0 5px rgba(107,174,200,.10);
}

.trust-section { padding-top: 48px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.trust-card {
  padding: 26px;
  contain: layout paint style;
  min-height: 214px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92);
  transition: transform .28s ease, box-shadow .28s ease;
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.trust-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(107,174,200,.12);
  color: var(--blue-deep);
  font-size: 22px;
  margin-bottom: 20px;
}
.trust-card h3 { margin: 0 0 12px; font-size: 19px; }
.trust-card p { margin: 0; color: var(--muted); line-height: 1.58; }

.contact-section { padding-top: 44px; }
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 8% 12%, rgba(147,215,210,.22), transparent 26rem),
    linear-gradient(135deg, #ffffff, #eef8fb);
  border: 1px solid rgba(255,255,255,.84);
  box-shadow: var(--shadow);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.contact-tile {
  min-height: 128px;
  contain: layout paint style;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(47,111,136,.14);
  background: rgba(255,255,255,.66);
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.contact-tile:hover, .contact-tile:focus-visible { transform: translateY(-4px); background: rgba(255,255,255,.88); box-shadow: var(--shadow-soft); outline: none; }
.contact-tile span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(47,111,136,.12), rgba(147,215,210,.18));
  color: var(--blue-deep);
  font-weight: 780;
}
.contact-tile strong { font-size: 18px; }
.contact-tile small { color: var(--muted); line-height: 1.4; }

.footer {
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  color: var(--muted);
}
.footer strong { display: block; color: var(--text); letter-spacing: .08em; font-size: 14px; }
.footer p { margin: 6px 0 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer__links a { transition: color .2s ease; }
.footer__links a:hover, .footer__links a:focus-visible { color: var(--blue-deep); outline: none; }
.footer__copy { white-space: nowrap; }

.floating-contacts {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: grid;
  gap: 9px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}
.floating-contacts a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-deep);
  transition: background .2s ease, transform .2s ease;
  font-weight: 760;
}
.floating-contacts a:hover, .floating-contacts a:focus-visible { background: rgba(107,174,200,.12); transform: translateY(-2px); outline: none; }

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: min(430px, calc(100vw - 44px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.cookie-banner p { margin: 0 0 14px; color: var(--muted); line-height: 1.55; font-size: 14px; }
.cookie-banner button {
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #224e60, #6baec8);
  cursor: pointer;
  font-weight: 700;
}
.cookie-banner button:focus-visible { outline: 3px solid rgba(107,174,200,.28); outline-offset: 3px; }

.reveal-now { opacity: 0; transform: translateY(16px); animation: revealUp .85s cubic-bezier(.2,.72,.2,1) forwards; }
.delay-1 { animation-delay: .16s; }
.delay-2 { animation-delay: .28s; }
.delay-3 { animation-delay: .42s; }
.reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.72,.2,1), transform .7s cubic-bezier(.2,.72,.2,1); }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }
@keyframes glowDrift { to { transform: translate3d(4vw, 2vh, 0) scale(1.06); } }
@keyframes orbFloat { to { transform: translate3d(0, -16px, 0) rotate(2.5deg); border-radius: 58% 42% 48% 52%; } }
@keyframes cardFloat { to { transform: translate3d(0, -14px, 0); } }
@keyframes ringPulse { 50% { opacity: .58; transform: rotate(-14deg) scale(1.025); } }
@keyframes signalSweep { 50% { opacity: .28; } }
@keyframes scrollDot { 0% { transform: translate(-50%, 0); opacity: .25; } 45% { transform: translate(-50%, 12px); opacity: .85; } 100% { transform: translate(-50%, 0); opacity: .25; } }

@media (max-width: 1100px) {
  :root { --container: min(100vw - 36px, 980px); }
  .hero { min-height: 820px; }
  .hero__inner { grid-template-columns: 1fr; gap: 14px; padding-bottom: 76px; }
  .hero-stage { min-height: 410px; height: 46vh; max-width: 680px; width: 100%; margin: 0 auto; order: -1; }
  .hero__copy { text-align: center; margin: 0 auto; }
  .eyebrow { margin-left: auto; margin-right: auto; }
  .contact-row { justify-content: center; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline::before { display: none; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-panel, .mission-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --container: min(100vw - 28px, 680px); --radius-xl: 30px; --radius-lg: 24px; }
  .hero { min-height: 760px; height: auto; }
  .topbar { padding-top: 14px; }
  .brand__mark { width: 38px; height: 38px; border-radius: 13px; }
  .brand__text { font-size: 13px; }
  .brand__descriptor { min-height: 30px; padding: 7px 12px; font-size: 11px; }
  .topbar__contacts { display: none; }
  .hero__inner { padding-top: 4px; padding-bottom: 82px; }
  .hero-stage { min-height: 266px; height: 286px; margin-top: -6px; }
  .glass-card { width: 146px; padding: 13px; border-radius: 19px; }
  .glass-card strong { font-size: 13px; }
  .glass-card small { font-size: 11px; }
  .glass-card__kicker { width: 26px; height: 26px; margin-bottom: 9px; }
  .glass-card--screening { left: 0; top: 4%; }
  .glass-card--interview { right: 0; top: 0; }
  .glass-card--panel { right: 2%; top: 37%; }
  .glass-card--offer { left: 2%; bottom: 15%; }
  .glass-card--onboarding { right: 22%; bottom: 7%; }
  .hero__title { font-size: clamp(34px, 10.6vw, 50px); }
  .hero__lead { font-size: 16px; line-height: 1.58; }
  .btn { width: 100%; min-height: 50px; }
  .contact-row { gap: 10px; }
  .scroll-hint { display: none; }
  .main-shell { margin-top: -38px; border-radius: 28px 28px 0 0; }
  .section { padding: 70px 0; }
  .audience-section { padding-bottom: 26px; }
  .audience-switch { position: relative; top: auto; width: 100%; }
  .audience-switch__button { min-height: 50px; }
  .timeline, .trust-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-card { min-height: auto; }
  .mission-card, .contact-panel { padding: 24px; border-radius: 26px; }
  .footer { grid-template-columns: 1fr; align-items: start; padding-bottom: 104px; }
  .footer__copy { white-space: normal; }
  .floating-contacts {
    left: 14px;
    right: 14px;
    bottom: 12px;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 24px;
  }
  .floating-contacts a { width: 100%; height: 48px; border-radius: 17px; }
  .cookie-banner { left: 14px; right: 14px; bottom: 78px; width: auto; }
}

@media (max-width: 390px) {
  .hero { min-height: 735px; }
  .hero-stage { height: 248px; min-height: 248px; }
  .glass-card { width: 132px; }
  .hero__title { font-size: 34px; }
  .hero__lead { font-size: 15px; }
  .section { padding: 62px 0; }
  .contact-tile { min-height: 112px; }
}

@media (max-height: 720px) and (min-width: 761px) {
  .hero { min-height: 700px; }
  .hero-stage { min-height: 420px; }
  .scroll-hint { display: none; }
}


@media (hover: none), (pointer: coarse) {
  .topbar__contacts,
  .btn--glass,
  .audience-switch,
  .process-card,
  .floating-contacts,
  .cookie-banner {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .glass-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(242,249,252,.62));
  }

  .hero__glow {
    animation-duration: 22s;
  }

  .glass-card {
    animation-duration: 10s;
  }

  .stage-orb {
    animation-duration: 12s;
  }
}

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


/* --------------------------------------------------------------------------
   Adaptive/performance calibration v2
   Keeps the premium visual concept, but makes the hero predictable on
   short, wide, tablet, mobile and browser-toolbar viewports.
-------------------------------------------------------------------------- */
:root {
  --app-height: 100svh;
}

/* Use the JS-updated viewport height where Android browser bars make 100svh unstable. */
.hero {
  height: var(--app-height);
  min-height: 700px;
  will-change: auto;
}

/* Keep GPU layers only where they are useful. Too many promoted layers on Android
   can be slower than normal paint. */
.main-shell,
.hero-stage,
.floating-contacts,
.cookie-banner {
  transform: none;
}

.stage-orb,
.glass-card,
.hero__glow,
.stage-ring,
.signal-line {
  will-change: transform, opacity;
}

/* Avoid animating border-radius on the large orb: visually almost identical,
   but much cheaper for Android Chrome. */
.stage-orb {
  animation-name: orbFloatStable;
}

.glass-card {
  animation-name: cardFloatStable;
}

@keyframes orbFloatStable {
  to { transform: translate3d(0, -14px, 0) rotate(2deg); }
}

@keyframes cardFloatStable {
  to { transform: translate3d(0, -12px, 0); }
}

/* During active scroll, freeze purely decorative infinite animations for a moment.
   This preserves the design but prevents scroll jank on tablets. */
body.is-scrolling .hero__glow,
body.is-scrolling .stage-orb,
body.is-scrolling .stage-ring,
body.is-scrolling .signal-line,
body.is-scrolling .glass-card,
body.is-resizing .hero__glow,
body.is-resizing .stage-orb,
body.is-resizing .stage-ring,
body.is-resizing .signal-line,
body.is-resizing .glass-card {
  animation-play-state: paused;
}

/* Wide but not tall screens: typical Android tablet landscape / laptop browser.
   The hero remains two-column and premium, but the title and stage are scaled so
   nothing crashes into the browser chrome or lower fold. */
@media (min-width: 1101px) and (max-height: 900px) {
  .hero {
    min-height: 680px;
  }

  .topbar {
    padding: 16px 0 8px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, .92fr) minmax(390px, 1.08fr);
    gap: clamp(22px, 3vw, 40px);
    padding: 2px 0 62px;
  }

  .hero__copy {
    max-width: 660px;
  }

  .hero__title {
    font-size: clamp(38px, min(4.55vw, 7.4vh), 62px);
    line-height: .98;
    letter-spacing: -.06em;
  }

  .hero__lead {
    margin-top: 20px;
    max-width: 590px;
    font-size: clamp(16px, 1.18vw, 18px);
    line-height: 1.55;
  }

  .contact-row {
    margin-top: 24px;
    gap: 10px;
  }

  .btn {
    min-height: 46px;
    padding: 12px 16px;
  }

  .hero-stage {
    height: min(480px, 54vh);
    min-height: 390px;
  }

  .glass-card {
    width: 168px;
    padding: 14px;
    border-radius: 22px;
  }

  .scroll-hint {
    bottom: 18px;
  }
}

@media (min-width: 1101px) and (max-height: 740px) {
  .hero {
    min-height: 640px;
  }

  .topbar {
    padding-top: 12px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    padding-bottom: 48px;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

  .hero__title {
    font-size: clamp(35px, min(4vw, 6.9vh), 54px);
  }

  .hero__lead {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.48;
  }

  .contact-row {
    margin-top: 18px;
  }

  .hero-stage {
    height: min(420px, 50vh);
    min-height: 350px;
  }

  .glass-card {
    width: 154px;
    padding: 13px;
    border-radius: 20px;
  }

  .glass-card strong { font-size: 14px; }
  .glass-card small { font-size: 12px; }
  .scroll-hint { display: none; }
}

/* Medium tablets: single-column layout, centered, with stage and text sized by
   both viewport width and height. */
@media (max-width: 1100px) and (min-width: 761px) {
  .hero {
    height: auto;
    min-height: max(760px, var(--app-height));
  }

  .hero__inner {
    min-height: calc(var(--app-height) - 92px);
    display: grid;
    align-content: center;
    padding-top: 18px;
    padding-bottom: 92px;
  }

  .hero-stage {
    height: clamp(300px, 38vh, 430px);
    min-height: 0;
  }

  .hero__title {
    font-size: clamp(44px, min(7.2vw, 7vh), 64px);
    line-height: .98;
  }

  .hero__lead {
    margin-inline: auto;
    max-width: 680px;
  }
}

/* Medium tablet landscape with low browser height: keep everything inside the
   first scene without destroying the premium composition. */
@media (max-width: 1100px) and (min-width: 761px) and (orientation: landscape) and (max-height: 720px) {
  .hero {
    min-height: 620px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr);
    align-items: center;
    gap: 22px;
    min-height: calc(var(--app-height) - 76px);
    padding-bottom: 46px;
  }

  .hero-stage {
    order: 0;
    height: min(360px, 46vh);
    max-width: 520px;
  }

  .hero__copy {
    text-align: left;
  }

  .eyebrow {
    margin-left: 0;
    margin-right: 0;
  }

  .contact-row {
    justify-content: flex-start;
  }

  .hero__title {
    font-size: clamp(34px, min(4.8vw, 6.6vh), 48px);
  }

  .hero__lead {
    margin-left: 0;
    margin-right: 0;
    font-size: 16px;
    line-height: 1.48;
  }
}

@media (max-width: 760px) {
  .hero {
    height: auto;
    min-height: max(720px, var(--app-height));
  }

  .hero__inner {
    min-height: calc(var(--app-height) - 72px);
    align-content: center;
  }

  .hero-stage {
    height: clamp(230px, 31vh, 286px);
    min-height: 0;
  }

  .hero__title {
    font-size: clamp(34px, 10.8vw, 50px);
    line-height: .99;
  }

  .hero__lead {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px) and (max-height: 720px) {
  .hero {
    min-height: 660px;
  }

  .hero-stage {
    height: 214px;
  }

  .hero__inner {
    padding-bottom: 74px;
  }

  .hero__title {
    font-size: clamp(31px, 10vw, 44px);
  }

  .hero__lead {
    font-size: 15px;
    line-height: 1.48;
  }

  .contact-row {
    margin-top: 20px;
  }
}

@media (max-width: 390px) {
  .hero {
    min-height: 690px;
  }

  .hero-stage {
    height: 220px;
  }

  .glass-card {
    width: 124px;
    padding: 11px;
    border-radius: 17px;
  }

  .glass-card strong { font-size: 12px; }
  .glass-card small { font-size: 10.5px; }
  .hero__title { font-size: clamp(30px, 9.6vw, 38px); }
}

/* Ultra-wide screens: let the composition breathe without stretching awkwardly. */
@media (min-width: 1600px) and (min-height: 900px) {
  :root { --container: min(1320px, calc(100vw - 96px)); }
  .hero__title { font-size: clamp(68px, 5.1vw, 92px); }
  .hero-stage { height: min(680px, 64vh); }
}

/* Safer fixed contact behavior on small screens with browser toolbars. */
@media (max-width: 760px) {
  .floating-contacts {
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .cookie-banner {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

/* --------------------------------------------------------------------------
   Production adaptive lock v3
   Goal: keep the same premium composition, but make hero predictable across
   desktop/tablet/mobile and reduce first-paint/scroll jank.
-------------------------------------------------------------------------- */
:root {
  --hero-topbar-h: 70px;
  --hero-bottom-pad: clamp(42px, 7vh, 76px);
  --hero-gap-final: clamp(22px, 3.2vw, 48px);
  --hero-title-final: clamp(40px, min(5.1vw, 8.2vh), 72px);
  --hero-lead-final: clamp(16px, min(1.25vw, 2.4vh), 19px);
  --hero-stage-final: clamp(390px, min(52vh, 40vw), 560px);
}

body.is-booting .hero__glow,
body.is-booting .stage-orb,
body.is-booting .stage-ring,
body.is-booting .signal-line,
body.is-booting .glass-card {
  animation-play-state: paused;
}

body.hero-out .hero__glow,
body.hero-out .stage-orb,
body.hero-out .stage-ring,
body.hero-out .signal-line,
body.hero-out .glass-card {
  animation-play-state: paused;
}

.hero {
  height: var(--app-height, 100svh);
  min-height: clamp(640px, 100svh, 900px);
  will-change: auto;
}

.topbar {
  min-height: var(--hero-topbar-h);
  padding-block: clamp(14px, 2.1vh, 22px) 8px;
}

.hero__inner {
  min-height: calc(var(--app-height, 100svh) - var(--hero-topbar-h));
  grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr);
  gap: var(--hero-gap-final);
  padding-block: 0 var(--hero-bottom-pad);
  align-items: center;
}

.hero__copy {
  max-width: 680px;
}

.hero__title {
  max-width: 720px;
  font-size: var(--hero-title-final);
  line-height: .96;
}

.hero__lead {
  margin-top: clamp(14px, 2.1vh, 20px);
  max-width: 580px;
  font-size: var(--hero-lead-final);
  line-height: 1.52;
}

.contact-row {
  margin-top: clamp(18px, 3vh, 28px);
}

.hero-stage {
  height: var(--hero-stage-final);
  min-height: 0;
  max-height: calc(var(--app-height, 100svh) - 150px);
  margin-top: clamp(-18px, -1.8vh, -6px);
}

.stage-orb--main { width: 66%; left: 16%; top: 8%; }
.stage-orb--soft { width: 28%; right: 3%; bottom: 10%; }
.stage-ring--one { width: 78%; left: 9%; top: 4%; }
.stage-ring--two { width: 50%; right: 12%; bottom: 16%; }
.glass-card { width: clamp(148px, 12.2vw, 184px); }
.glass-card--screening { left: 1%; top: 12%; }
.glass-card--interview { right: 3%; top: 2%; }
.glass-card--panel { right: 0; top: 35%; }
.glass-card--offer { left: 10%; bottom: 17%; }
.glass-card--onboarding { right: 24%; bottom: 8%; }

/* Desktop/laptop with limited height: compact but still two-column. */
@media (min-width: 1200px) and (max-height: 820px) {
  :root {
    --hero-topbar-h: 62px;
    --hero-bottom-pad: clamp(34px, 5vh, 54px);
    --hero-title-final: clamp(36px, min(4.35vw, 7.2vh), 58px);
    --hero-lead-final: 16px;
    --hero-stage-final: clamp(340px, min(48vh, 36vw), 440px);
    --hero-gap-final: clamp(18px, 2.5vw, 34px);
  }
  .brand__mark { width: 38px; height: 38px; border-radius: 13px; }
  .brand__descriptor { min-height: 30px; padding: 7px 12px; font-size: 11px; }
  .btn { min-height: 44px; padding: 11px 15px; }
  .glass-card { width: clamp(136px, 11.4vw, 158px); padding: 13px; border-radius: 20px; }
  .glass-card strong { font-size: 13px; }
  .glass-card small { font-size: 11.5px; }
  .scroll-hint { display: none; }
}

/* Tablet landscape: keep two-column so hero does not become a tall sandwich. */
@media (min-width: 900px) and (max-width: 1199px) and (orientation: landscape) {
  :root {
    --container: min(100vw - 40px, 1040px);
    --hero-topbar-h: 62px;
    --hero-bottom-pad: 44px;
    --hero-title-final: clamp(34px, min(4.7vw, 6.5vh), 50px);
    --hero-lead-final: 15.5px;
    --hero-stage-final: clamp(300px, 45vh, 380px);
    --hero-gap-final: 20px;
  }
  .hero { min-height: max(580px, var(--app-height, 100svh)); }
  .hero__inner {
    grid-template-columns: minmax(0, .96fr) minmax(330px, .94fr);
    min-height: calc(var(--app-height, 100svh) - var(--hero-topbar-h));
  }
  .hero-stage { order: 0; width: 100%; max-width: 520px; margin-inline: auto 0; }
  .hero__copy { text-align: left; margin-inline: 0; }
  .hero__lead { margin-inline: 0; max-width: 520px; }
  .contact-row { justify-content: flex-start; }
  .topbar__contacts { display: flex; }
  .glass-card { width: 136px; padding: 12px; border-radius: 18px; }
  .glass-card strong { font-size: 12.5px; }
  .glass-card small { font-size: 10.5px; }
}

/* Tablet portrait: visual first, text second; sizes locked by height and width. */
@media (min-width: 761px) and (max-width: 1199px) and (orientation: portrait) {
  :root {
    --container: min(100vw - 44px, 860px);
    --hero-topbar-h: 70px;
    --hero-bottom-pad: 64px;
    --hero-title-final: clamp(42px, min(7.1vw, 5.9vh), 62px);
    --hero-lead-final: clamp(16px, 1.9vw, 18px);
    --hero-stage-final: clamp(310px, 33vh, 430px);
  }
  .hero { height: auto; min-height: max(760px, var(--app-height, 100svh)); }
  .hero__inner {
    grid-template-columns: 1fr;
    align-content: center;
    text-align: center;
    gap: 18px;
  }
  .hero-stage { order: -1; width: min(680px, 100%); margin-inline: auto; }
  .hero__copy { margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .contact-row { justify-content: center; }
  .brand__descriptor { max-width: min(44vw, 260px); overflow: hidden; text-overflow: ellipsis; }
}

/* Mobile: two-by-two contact grid prevents hero overflow and keeps CTA visible. */
@media (max-width: 760px) {
  :root {
    --container: min(100vw - 28px, 680px);
    --hero-topbar-h: 54px;
    --hero-bottom-pad: 58px;
    --hero-title-final: clamp(32px, 9.7vw, 46px);
    --hero-lead-final: clamp(14px, 3.9vw, 16px);
    --hero-stage-final: clamp(218px, 29vh, 286px);
  }
  .hero { height: auto; min-height: max(650px, var(--app-height, 100svh)); }
  .topbar { align-items: flex-start; min-height: var(--hero-topbar-h); }
  .brand { gap: 9px; row-gap: 6px; max-width: calc(100vw - 28px); }
  .brand__mark { width: 36px; height: 36px; border-radius: 12px; font-size: 11px; }
  .brand__text { font-size: 12px; }
  .brand__descriptor { min-height: 28px; padding: 6px 10px; font-size: 10.5px; letter-spacing: 0; }
  .hero__inner {
    min-height: calc(var(--app-height, 100svh) - var(--hero-topbar-h));
    padding-block: 0 var(--hero-bottom-pad);
    grid-template-columns: 1fr;
    gap: 12px;
    align-content: center;
  }
  .hero-stage { order: -1; width: 100%; margin: -6px auto 0; }
  .hero__title { max-width: 100%; letter-spacing: -.058em; }
  .hero__lead { line-height: 1.46; max-width: 32rem; }
  .contact-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
    margin-top: 18px;
  }
  .btn { width: auto; min-height: 46px; padding: 10px 12px; font-size: 13px; }
  .btn__icon { min-width: 20px; width: 20px; height: 20px; }
  .stage-orb--main { width: 64%; left: 17%; top: 5%; }
  .stage-orb--soft { width: 28%; right: 6%; bottom: 10%; }
  .stage-ring--one { width: 72%; left: 13%; top: 5%; }
  .stage-ring--two { width: 48%; right: 15%; bottom: 16%; }
  .glass-card { width: clamp(112px, 34vw, 140px); padding: 10px; border-radius: 16px; }
  .glass-card__kicker { width: 23px; height: 23px; margin-bottom: 7px; font-size: 10px; }
  .glass-card strong { font-size: 11.5px; line-height: 1.1; }
  .glass-card small { font-size: 10px; line-height: 1.25; }
  .glass-card--screening { left: 0; top: 4%; }
  .glass-card--interview { right: 0; top: 0; }
  .glass-card--panel { right: 1%; top: 38%; }
  .glass-card--offer { left: 4%; bottom: 13%; }
  .glass-card--onboarding { right: 22%; bottom: 4%; }
}

@media (max-width: 430px) {
  :root {
    --hero-title-final: clamp(31px, 9.3vw, 40px);
    --hero-lead-final: 14.5px;
    --hero-stage-final: clamp(210px, 27vh, 252px);
    --hero-bottom-pad: 54px;
  }
  .hero { min-height: max(620px, var(--app-height, 100svh)); }
  .brand__descriptor { flex-basis: auto; }
  .hero__inner { gap: 10px; }
  .glass-card { width: clamp(108px, 33vw, 128px); }
}

@media (max-width: 380px) {
  :root {
    --container: min(100vw - 24px, 680px);
    --hero-title-final: 31px;
    --hero-lead-final: 14px;
    --hero-stage-final: 202px;
    --hero-bottom-pad: 48px;
  }
  .brand { gap: 8px; }
  .brand__descriptor { display: none; }
  .btn { min-height: 44px; font-size: 12.5px; padding-inline: 10px; }
  .glass-card { width: 104px; padding: 9px; }
  .glass-card small { display: none; }
}

/* If the browser viewport is very short, priority is: brand + title + stage fit. */
@media (max-height: 680px) and (min-width: 761px) {
  :root {
    --hero-topbar-h: 58px;
    --hero-bottom-pad: 36px;
    --hero-title-final: clamp(32px, min(4.1vw, 6.2vh), 48px);
    --hero-stage-final: clamp(280px, 43vh, 360px);
  }
  .hero__lead { display: none; }
  .contact-row { margin-top: 16px; }
  .scroll-hint { display: none; }
}

@media (max-height: 720px) and (max-width: 760px) {
  :root {
    --hero-stage-final: 196px;
    --hero-title-final: clamp(29px, 8.8vw, 36px);
    --hero-lead-final: 13.5px;
    --hero-bottom-pad: 44px;
  }
  .hero { min-height: max(580px, var(--app-height, 100svh)); }
  .hero__lead { margin-top: 10px; }
  .contact-row { margin-top: 12px; }
}


/* --------------------------------------------------------------------------
   Android compositor profile v4
   Keeps the same premium composition, but avoids Android Chrome bottlenecks:
   sticky repaint, lazy section paint, backdrop-filter, huge promoted layers.
-------------------------------------------------------------------------- */
html.ua-android {
  scroll-behavior: auto;
}

html.ua-android body {
  overscroll-behavior-y: none;
}

html.ua-android .section {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

html.ua-android .hero {
  position: relative;
  top: auto;
  transform: none;
  will-change: auto;
  contain: layout paint;
}

html.ua-android .main-shell {
  transform: none;
  will-change: auto;
  /* Preserve the premium overlapping handoff without the sticky hero repaint. */
  margin-top: clamp(-56px, -6vh, -32px);
}

html.ua-android .hero,
html.ua-android .main-shell,
html.ua-android .hero-stage,
html.ua-android .stage-orb,
html.ua-android .glass-card,
html.ua-android .floating-contacts,
html.ua-android .cookie-banner {
  backface-visibility: visible;
}

html.ua-android .topbar__contacts,
html.ua-android .btn--glass,
html.ua-android .audience-switch,
html.ua-android .process-card,
html.ua-android .floating-contacts,
html.ua-android .cookie-banner {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html.ua-android .hero__noise {
  opacity: .18;
  mask-image: none;
}

html.ua-android .hero__glow {
  opacity: .30;
  will-change: auto;
  animation-duration: 28s;
}

html.ua-android .stage-orb,
html.ua-android .stage-ring,
html.ua-android .signal-line,
html.ua-android .glass-card {
  will-change: auto;
}

html.ua-android .stage-orb {
  box-shadow: inset -18px -24px 52px rgba(47,111,136,.08), inset 14px 14px 40px rgba(255,255,255,.46), 0 26px 70px rgba(47,111,136,.13);
  animation-duration: 18s;
}

html.ua-android .stage-orb--soft {
  filter: none;
}

html.ua-android .stage-ring,
html.ua-android .signal-line {
  animation-duration: 18s;
}

html.ua-android .glass-card {
  background: linear-gradient(135deg, rgba(255,255,255,.90), rgba(242,249,252,.66));
  box-shadow: 0 14px 38px rgba(31,67,87,.10), inset 0 1px 0 rgba(255,255,255,.92);
  animation-duration: 16s;
}

html.ua-android .process-card,
html.ua-android .trust-card,
html.ua-android .mission-card,
html.ua-android .contact-panel,
html.ua-android .contact-tile {
  box-shadow: 0 12px 34px rgba(31,67,87,.055), inset 0 1px 0 rgba(255,255,255,.88);
}

html.ua-android .audience-switch {
  position: relative;
  top: auto;
  transform: none;
}

html.ua-android .reveal-on-scroll {
  opacity: 1;
  transform: none;
  transition: none;
}

html.ua-android body.is-touch-scrolling .hero__glow,
html.ua-android body.is-touch-scrolling .stage-orb,
html.ua-android body.is-touch-scrolling .stage-ring,
html.ua-android body.is-touch-scrolling .signal-line,
html.ua-android body.is-touch-scrolling .glass-card,
html.ua-android body.is-scrolling .hero__glow,
html.ua-android body.is-scrolling .stage-orb,
html.ua-android body.is-scrolling .stage-ring,
html.ua-android body.is-scrolling .signal-line,
html.ua-android body.is-scrolling .glass-card {
  animation-play-state: paused;
}

@media (max-width: 760px) {
  html.ua-android .floating-contacts {
    position: static;
    width: var(--container);
    margin: 24px auto 0;
    grid-template-columns: repeat(4, 1fr);
  }
  html.ua-android .footer {
    padding-bottom: 28px;
  }
  html.ua-android .cookie-banner {
    bottom: 14px;
  }
}


/* --------------------------------------------------------------------------
   Android mobile turbo profile v4
   Goal: keep the same premium visual, but remove last scroll-time paints on
   Android phones. Tablets keep the v3 behavior unless they match Mobile UA.
-------------------------------------------------------------------------- */

html.is-android-mobile {
  scroll-behavior: auto;
}

html.is-android-mobile body {
  text-rendering: geometricPrecision;
}

/* Android phones do not like deferred section rendering during quick scroll.
   Keep the premium blocks visually identical, but make them ready immediately. */
html.is-android-mobile .reveal-on-scroll,
html.is-android-mobile .reveal-on-scroll.is-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

html.is-android-mobile .section,
html.is-android-mobile .process-card,
html.is-android-mobile .mission-card,
html.is-android-mobile .trust-card,
html.is-android-mobile .contact-panel,
html.is-android-mobile .contact-tile {
  content-visibility: visible !important;
  contain: layout paint;
}

/* Faster first paint: no delayed staged text on Android phones. */
html.is-android-mobile .reveal-now {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Touch scroll on Android: avoid expensive fixed/frosted surfaces. Visual
   glass remains via static translucent gradients. */
html.is-android-mobile .btn--glass,
html.is-android-mobile .audience-switch,
html.is-android-mobile .process-card,
html.is-android-mobile .mission-card,
html.is-android-mobile .trust-card,
html.is-android-mobile .contact-panel,
html.is-android-mobile .contact-tile,
html.is-android-mobile .floating-contacts,
html.is-android-mobile .cookie-banner {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* Keep animation feeling alive, but reduce simultaneous compositor pressure. */
html.is-android-mobile .hero__glow,
html.is-android-mobile .stage-ring,
html.is-android-mobile .signal-line {
  animation-play-state: paused !important;
}

html.is-android-mobile .stage-orb {
  animation-duration: 18s !important;
}

html.is-android-mobile .glass-card {
  animation-duration: 16s !important;
}

/* Give Chrome fewer large repaint candidates while preserving composition. */
html.is-android-mobile .hero {
  position: relative !important;
  overflow: hidden;
  transform: translateZ(0);
}

html.is-android-mobile .hero-stage {
  transform: translateZ(0);
  isolation: isolate;
}

html.is-android-mobile .main-shell {
  transform: none !important;
  will-change: auto !important;
}

/* Mobile hero compactness: avoids late bottom clipping and scroll correction. */
@media (max-width: 760px) {
  html.is-android-mobile .hero {
    min-height: max(650px, var(--app-height));
  }

  html.is-android-mobile .topbar {
    padding-top: 12px;
  }

  html.is-android-mobile .hero__inner {
    padding-top: 0;
    padding-bottom: 70px;
    min-height: calc(var(--app-height) - 64px);
  }

  html.is-android-mobile .hero-stage {
    height: clamp(214px, 28vh, 260px);
    min-height: 0;
    margin-top: -8px;
    margin-bottom: -4px;
  }

  html.is-android-mobile .glass-card {
    width: 132px;
    padding: 11px;
    border-radius: 17px;
    box-shadow: 0 14px 34px rgba(31,67,87,.10), inset 0 1px 0 rgba(255,255,255,.92);
  }

  html.is-android-mobile .glass-card strong {
    font-size: 12px;
  }

  html.is-android-mobile .glass-card small {
    font-size: 10.5px;
  }

  html.is-android-mobile .glass-card__kicker {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    font-size: 10px;
  }

  html.is-android-mobile .hero__title {
    font-size: clamp(31px, 9.8vw, 44px);
    line-height: .98;
  }

  html.is-android-mobile .hero__lead {
    margin-top: 14px;
    font-size: 14.5px;
    line-height: 1.44;
  }

  html.is-android-mobile .contact-row {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  html.is-android-mobile .btn {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
  }

  html.is-android-mobile .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  html.is-android-mobile .audience-section {
    padding-bottom: 22px;
  }

  html.is-android-mobile .process-section {
    padding-top: 24px;
  }
}

/* Extra-short Android phones: prevent browser toolbar viewport jumps. */
@media (max-width: 430px) and (max-height: 820px) {
  html.is-android-mobile .hero {
    min-height: 630px;
  }

  html.is-android-mobile .hero-stage {
    height: 210px;
  }

  html.is-android-mobile .hero__title {
    font-size: clamp(30px, 9.4vw, 40px);
  }

  html.is-android-mobile .hero__lead {
    font-size: 14px;
  }
}


/* --------------------------------------------------------------------------
   Hero visual refinement v5
   One brand capsule, no stage-step cards, no top/floating contact capsules.
   The right-hand hero scene now contains the primary contact actions.
-------------------------------------------------------------------------- */

.topbar {
  justify-content: flex-start;
}

.brand--capsule {
  gap: 12px;
  flex-wrap: nowrap;
  min-height: 58px;
  padding: 7px 18px 7px 7px;
  border: 1px solid rgba(47,111,136,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 16px 38px rgba(47,111,136,.08);
  letter-spacing: .08em;
}

.brand--capsule .brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(224,241,247,.88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 8px 20px rgba(47,111,136,.08);
  font-size: 12px;
}

.brand__divider {
  color: rgba(47,111,136,.34);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

.brand--capsule .brand__text {
  font-size: 15px;
  white-space: nowrap;
}

.topbar__contacts,
.brand__descriptor,
.floating-contacts,
.glass-card {
  display: none !important;
}

.hero__inner {
  grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
  gap: clamp(28px, 4vw, 64px);
}

.hero__copy {
  max-width: 660px;
}

.hero__title {
  max-width: 720px;
  font-size: clamp(38px, 5.15vw, 68px);
  line-height: .965;
  letter-spacing: -.062em;
}

.hero__lead {
  max-width: 600px;
}

.hero-stage {
  display: grid;
  place-items: center;
  overflow: visible;
}

.hero-contact-panel {
  position: relative;
  z-index: 5;
  width: min(100%, 510px);
  padding: 22px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,.74), rgba(244,250,252,.48));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 28px 80px rgba(31,67,87,.13), inset 0 1px 0 rgba(255,255,255,.94);
}

.hero-contact-panel__label {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-contact-card {
  min-height: 106px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(47,111,136,.12);
  border-radius: 23px;
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 14px 36px rgba(31,67,87,.07);
  color: var(--text);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.hero-contact-card:hover,
.hero-contact-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(47,111,136,.24);
  background: rgba(255,255,255,.9);
  box-shadow: 0 20px 48px rgba(31,67,87,.12), inset 0 1px 0 rgba(255,255,255,.98);
  outline: none;
}

.hero-contact-card__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--blue-deep);
  background: linear-gradient(135deg, rgba(107,174,200,.16), rgba(147,215,210,.2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
}

.hero-contact-card__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-contact-card__icon svg path:not(.fill-dot) {
  fill: currentColor;
  stroke: none;
}

.hero-contact-card__icon svg .fill-dot {
  fill: currentColor;
  stroke: none;
}

.hero-contact-card__icon--text {
  font-weight: 800;
  font-size: 16px;
}

.hero-contact-card__copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.hero-contact-card__copy strong {
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.hero-contact-card__copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.hero-contact-card--phone.is-number-visible {
  border-color: rgba(47,111,136,.24);
  background: rgba(255,255,255,.92);
}

/* Desktop and low-height desktop */
@media (min-width: 1101px) and (max-height: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, .93fr) minmax(420px, 1.07fr);
  }

  .hero__title {
    font-size: clamp(36px, min(4.35vw, 7.1vh), 58px);
  }

  .hero-contact-panel {
    width: min(100%, 480px);
    padding: 18px;
    border-radius: 28px;
  }

  .hero-contact-card {
    min-height: 92px;
    padding: 14px;
  }
}

@media (min-width: 1101px) and (max-height: 740px) {
  .brand--capsule {
    min-height: 52px;
  }

  .brand--capsule .brand__mark {
    width: 38px;
    height: 38px;
  }

  .hero__title {
    font-size: clamp(34px, min(3.85vw, 6.5vh), 50px);
  }

  .hero-contact-panel {
    width: min(100%, 450px);
    padding: 16px;
  }

  .hero-contact-card {
    min-height: 82px;
    padding: 12px;
  }
}

/* Tablets */
@media (max-width: 1100px) and (min-width: 761px) {
  .topbar {
    justify-content: center;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero__copy {
    max-width: 760px;
    text-align: center;
    margin-inline: auto;
  }

  .hero__title {
    max-width: 760px;
    margin-inline: auto;
    font-size: clamp(42px, min(6.6vw, 6.6vh), 60px);
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero-stage {
    order: 0;
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .hero-contact-panel {
    width: min(100%, 560px);
  }
}

@media (max-width: 1100px) and (min-width: 761px) and (orientation: landscape) and (max-height: 720px) {
  .topbar {
    justify-content: flex-start;
  }

  .hero__inner {
    grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
    gap: 24px;
  }

  .hero__copy {
    text-align: left;
    margin-inline: 0;
  }

  .hero__title,
  .hero__lead {
    margin-inline: 0;
  }

  .hero__title {
    font-size: clamp(34px, min(4.65vw, 6.4vh), 46px);
  }

  .hero-contact-panel {
    width: min(100%, 430px);
    padding: 14px;
  }

  .hero-contact-card {
    min-height: 78px;
    padding: 11px;
    gap: 10px;
  }

  .hero-contact-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 13px;
  }

  .hero-contact-card__copy strong {
    font-size: 14px;
  }
}

/* Phones */
@media (max-width: 760px) {
  .topbar {
    justify-content: center;
  }

  .brand--capsule {
    min-height: 52px;
    padding: 6px 15px 6px 6px;
    gap: 10px;
  }

  .brand--capsule .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__divider {
    font-size: 14px;
  }

  .brand--capsule .brand__text {
    font-size: 13px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero__copy {
    max-width: 100%;
    text-align: center;
    margin-inline: auto;
  }

  .hero__title {
    max-width: 100%;
    margin-inline: auto;
    font-size: clamp(31px, 9.4vw, 44px);
    line-height: .985;
  }

  .hero__lead {
    max-width: 34rem;
    margin-inline: auto;
    font-size: 15px;
  }

  .hero-stage {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 8px 0 4px;
  }

  .hero-contact-panel {
    width: 100%;
    padding: 12px;
    border-radius: 25px;
  }

  .hero-contact-panel__label {
    margin-bottom: 10px;
    padding-left: 3px;
    font-size: 10.5px;
  }

  .hero-contact-grid {
    gap: 8px;
  }

  .hero-contact-card {
    min-height: 76px;
    gap: 9px;
    padding: 10px;
    border-radius: 18px;
  }

  .hero-contact-card__icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .hero-contact-card__icon svg {
    width: 17px;
    height: 17px;
  }

  .hero-contact-card__copy {
    gap: 3px;
  }

  .hero-contact-card__copy strong {
    font-size: 13px;
  }

  .hero-contact-card__copy small {
    font-size: 10.5px;
  }
}

@media (max-width: 390px) {
  .brand--capsule {
    gap: 8px;
    padding-right: 12px;
  }

  .brand--capsule .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand--capsule .brand__text {
    font-size: 12px;
  }

  .hero__title {
    font-size: clamp(29px, 9.1vw, 38px);
  }

  .hero-contact-card {
    min-height: 72px;
    padding: 9px;
  }

  .hero-contact-card__icon {
    width: 31px;
    height: 31px;
  }

  .hero-contact-card__copy strong {
    font-size: 12px;
  }

  .hero-contact-card__copy small {
    font-size: 9.5px;
  }
}

/* Android: static glass surface, same visual hierarchy, cheaper scrolling. */
html.ua-android .hero-contact-panel,
html.ua-android .hero-contact-card,
html.is-android-mobile .hero-contact-panel,
html.is-android-mobile .hero-contact-card {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html.ua-android .hero-contact-panel,
html.is-android-mobile .hero-contact-panel {
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(244,250,252,.72));
}


/* --------------------------------------------------------------------------
   Visual refinement v6
   Four independent contact capsules in one vertical column, aligned with the
   hero copy. The brand capsule is larger and the hero remains predictable on
   desktop, tablet and mobile viewports.
-------------------------------------------------------------------------- */

.brand--capsule {
  min-height: 68px;
  padding: 8px 24px 8px 8px;
  gap: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 18px 44px rgba(47,111,136,.09);
}

.brand--capsule .brand__mark {
  width: 52px;
  height: 52px;
  font-size: 13px;
}

.brand__divider {
  font-size: 18px;
}

.brand--capsule .brand__text {
  font-size: 17px;
}

.hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: clamp(42px, 6vw, 104px);
  align-items: center;
}

.hero__copy {
  max-width: 650px;
}

.hero__title {
  max-width: 690px;
  font-size: clamp(36px, 4.7vw, 64px);
}

.hero-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: auto;
  width: 100%;
  overflow: visible;
}

.hero-contact-panel {
  position: relative;
  z-index: 5;
  width: min(100%, 360px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.hero-contact-panel__label {
  display: none !important;
}

.hero-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.hero-contact-card {
  min-height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(47,111,136,.13);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(247,252,253,.66));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 14px 36px rgba(31,67,87,.08);
}

.hero-contact-card:hover,
.hero-contact-card:focus-visible {
  transform: translateX(5px);
  border-color: rgba(47,111,136,.25);
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,252,253,.84));
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 20px 46px rgba(31,67,87,.12);
}

.hero-contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.hero-contact-card__copy {
  display: flex;
  align-items: center;
  min-width: 0;
}

.hero-contact-card__copy strong {
  font-size: 17px;
  line-height: 1.1;
}

.hero-contact-card__copy small {
  display: none;
}

.hero-contact-card--phone.is-number-visible {
  transform: translateX(5px);
}

/* Low-height desktop: keep the four capsules aligned with the text without
   pushing the main shell below the viewport. */
@media (min-width: 1101px) and (max-height: 900px) {
  .brand--capsule {
    min-height: 62px;
    padding-right: 21px;
  }

  .brand--capsule .brand__mark {
    width: 46px;
    height: 46px;
  }

  .brand--capsule .brand__text { font-size: 16px; }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
    gap: clamp(36px, 5vw, 78px);
  }

  .hero__title {
    font-size: clamp(34px, min(4.15vw, 6.8vh), 56px);
  }

  .hero-contact-panel { width: min(100%, 330px); }
  .hero-contact-grid { gap: 12px; }
  .hero-contact-card { min-height: 62px; }
  .hero-contact-card__icon { width: 42px; height: 42px; }
  .hero-contact-card__copy strong { font-size: 16px; }
}

@media (min-width: 1101px) and (max-height: 740px) {
  .brand--capsule {
    min-height: 56px;
    padding-right: 18px;
  }

  .brand--capsule .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand--capsule .brand__text { font-size: 15px; }
  .brand__divider { font-size: 16px; }

  .hero__title {
    font-size: clamp(32px, min(3.75vw, 6.1vh), 48px);
  }

  .hero-contact-panel { width: min(100%, 310px); }
  .hero-contact-grid { gap: 10px; }
  .hero-contact-card { min-height: 56px; padding: 8px 15px 8px 8px; }
  .hero-contact-card__icon { width: 38px; height: 38px; }
  .hero-contact-card__copy strong { font-size: 15px; }
}

/* Tablets: the contact column follows the text, remains a single column and
   stays compact enough for portrait and landscape layouts. */
@media (max-width: 1100px) and (min-width: 761px) {
  .brand--capsule {
    min-height: 64px;
    padding-right: 22px;
  }

  .brand--capsule .brand__mark {
    width: 48px;
    height: 48px;
  }

  .brand--capsule .brand__text { font-size: 16px; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__copy {
    max-width: 760px;
    text-align: center;
    margin-inline: auto;
  }

  .hero__title {
    max-width: 760px;
    margin-inline: auto;
    font-size: clamp(40px, min(6.2vw, 6.2vh), 58px);
  }

  .hero__lead { margin-inline: auto; }
  .hero-stage { order: 0; width: 100%; }
  .hero-contact-panel { width: min(100%, 420px); }
  .hero-contact-grid { gap: 12px; }
  .hero-contact-card { min-height: 62px; }
}

@media (max-width: 1100px) and (min-width: 761px) and (orientation: landscape) and (max-height: 720px) {
  .topbar { justify-content: flex-start; }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .64fr);
    gap: 32px;
  }

  .hero__copy {
    text-align: left;
    margin-inline: 0;
  }

  .hero__title,
  .hero__lead {
    margin-inline: 0;
  }

  .hero__title {
    font-size: clamp(32px, min(4.6vw, 6.4vh), 46px);
  }

  .hero-contact-panel { width: min(100%, 300px); }
  .hero-contact-card { min-height: 54px; padding: 7px 14px 7px 7px; }
  .hero-contact-card__icon { width: 38px; height: 38px; }
  .hero-contact-card__copy strong { font-size: 14px; }
}

/* Phones: four capsules stay in one column, but become compact enough to fit
   logically below the text without breaking the hero scene. */
@media (max-width: 760px) {
  .topbar { justify-content: center; }

  .brand--capsule {
    min-height: 58px;
    padding: 7px 18px 7px 7px;
    gap: 11px;
  }

  .brand--capsule .brand__mark {
    width: 44px;
    height: 44px;
    font-size: 12px;
  }

  .brand--capsule .brand__text { font-size: 14px; }
  .brand__divider { font-size: 15px; }

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

  .hero__copy {
    max-width: 100%;
    text-align: center;
    margin-inline: auto;
  }

  .hero__title {
    max-width: 100%;
    margin-inline: auto;
    font-size: clamp(30px, 9.4vw, 43px);
  }

  .hero__lead {
    max-width: 34rem;
    margin-inline: auto;
  }

  .hero-stage {
    order: 0;
    width: 100%;
    margin: 0 auto;
  }

  .hero-contact-panel { width: min(100%, 330px); }
  .hero-contact-grid { gap: 10px; }
  .hero-contact-card { min-height: 54px; padding: 7px 14px 7px 7px; }
  .hero-contact-card__icon { width: 38px; height: 38px; }
  .hero-contact-card__icon svg { width: 18px; height: 18px; }
  .hero-contact-card__copy strong { font-size: 14px; }
}

@media (max-width: 390px) {
  .brand--capsule {
    min-height: 54px;
    padding-right: 15px;
    gap: 9px;
  }

  .brand--capsule .brand__mark {
    width: 40px;
    height: 40px;
    font-size: 11px;
  }

  .brand--capsule .brand__text { font-size: 13px; }
  .brand__divider { font-size: 14px; }

  .hero__title { font-size: clamp(28px, 8.9vw, 37px); }
  .hero-contact-panel { width: min(100%, 300px); }
  .hero-contact-card { min-height: 50px; }
  .hero-contact-card__icon { width: 35px; height: 35px; }
  .hero-contact-card__copy strong { font-size: 13px; }
}

/* Android keeps the same visual result with static translucent surfaces. */
html.ua-android .hero-contact-card,
html.is-android-mobile .hero-contact-card {
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(247,252,253,.82));
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}


/* --------------------------------------------------------------------------
   Visual refinement v7
   Restores a complete, softly fading hero art scene around the contact
   capsules. No hard rectangular clipping; the stage remains minimal but no
   longer feels empty. Brand capsule receives a more comfortable top gap.
-------------------------------------------------------------------------- */

/* Give the brand capsule breathing room from the browser edge. */
.topbar {
  padding-top: 36px;
}

.brand--capsule {
  min-height: 72px;
  padding: 9px 26px 9px 9px;
  gap: 15px;
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(247,252,253,.62));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 20px 50px rgba(47,111,136,.10);
}

.brand--capsule .brand__mark {
  width: 54px;
  height: 54px;
  font-size: 13px;
}

.brand--capsule .brand__text {
  font-size: 17px;
}

/* The old paint containment clipped the scene into a visible rectangle.
   Keep layout containment only and let the art fade naturally. */
.hero-stage {
  contain: layout style !important;
  overflow: visible !important;
  isolation: isolate;
}

/* Large fading aura: no filter and no hard edge, so it remains inexpensive
   and avoids the cut-off backing seen behind the contact column. */
.hero-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 128%;
  height: 112%;
  left: -14%;
  top: -6%;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 49%, rgba(255,255,255,.78) 0 15%, rgba(226,246,247,.42) 29%, rgba(147,215,210,.17) 49%, rgba(107,174,200,.08) 63%, transparent 78%),
    radial-gradient(circle at 72% 34%, rgba(107,174,200,.17), transparent 31%),
    radial-gradient(circle at 28% 72%, rgba(147,215,210,.15), transparent 28%);
  opacity: .9;
  transform: translate3d(0,0,0) rotate(-6deg);
  animation: stageAuraDrift 15s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

/* A very subtle directional light ribbon gives the scene depth without a
   container or card-like background. */
.hero-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 118%;
  height: 42%;
  left: -10%;
  top: 31%;
  pointer-events: none;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent 3%, rgba(255,255,255,.38) 28%, rgba(147,215,210,.13) 56%, rgba(107,174,200,.08) 74%, transparent 97%);
  opacity: .72;
  transform: translate3d(0,0,0) rotate(-13deg);
  animation: stageRibbonDrift 18s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.stage-orb,
.stage-ring,
.signal-line,
.hero-contact-panel {
  z-index: 2;
}

.stage-orb--main {
  width: 76%;
  left: 11%;
  top: 5%;
  opacity: .58;
  background:
    radial-gradient(circle at 34% 27%, rgba(255,255,255,.96), rgba(255,255,255,.24) 17%, transparent 29%),
    linear-gradient(145deg, rgba(255,255,255,.64), rgba(161,222,220,.28) 42%, rgba(107,174,200,.18));
  border-color: rgba(255,255,255,.7);
  box-shadow: inset -24px -30px 70px rgba(47,111,136,.08), inset 18px 18px 50px rgba(255,255,255,.46), 0 34px 96px rgba(47,111,136,.12);
}

.stage-orb--soft {
  width: 38%;
  right: -3%;
  bottom: 1%;
  opacity: .34;
}

.stage-ring {
  border-color: rgba(47,111,136,.14);
  opacity: .78;
}

.stage-ring--one {
  width: 94%;
  left: -1%;
  top: -5%;
}

.stage-ring--two {
  width: 64%;
  right: 3%;
  bottom: 5%;
}

.signal-line {
  opacity: .48;
  background: linear-gradient(90deg, transparent, rgba(47,111,136,.2), rgba(147,215,210,.48), rgba(255,255,255,.48), transparent);
}

.signal-line--one {
  width: 88%;
  left: 4%;
  top: 35%;
}

.signal-line--two {
  width: 72%;
  left: 16%;
  bottom: 27%;
}

.hero-contact-panel {
  position: relative;
  z-index: 6;
}

/* A fine luminous rail makes the four capsules feel deliberately placed in
   the scene, without turning them back into a boxed panel. */
.hero-contact-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -30px;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(47,111,136,.18) 18%, rgba(147,215,210,.4) 50%, rgba(47,111,136,.16) 82%, transparent);
  opacity: .72;
}

.hero-contact-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -34px;
  top: 49%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(47,111,136,.2);
  box-shadow: 0 0 0 7px rgba(147,215,210,.10), 0 0 28px rgba(107,174,200,.18);
}

.hero-contact-card {
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(247,252,253,.7));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.99), 0 14px 36px rgba(31,67,87,.075);
}

@keyframes stageAuraDrift {
  to { transform: translate3d(1.8%, -1.4%, 0) rotate(-3deg) scale(1.025); opacity: .96; }
}

@keyframes stageRibbonDrift {
  to { transform: translate3d(-1.5%, 1.2%, 0) rotate(-10deg); opacity: .58; }
}

/* Short desktop screens still need a visible but not cramped top gap. */
@media (min-width: 1101px) and (max-height: 900px) {
  .topbar { padding-top: 28px; }
  .brand--capsule { min-height: 66px; }
  .brand--capsule .brand__mark { width: 48px; height: 48px; }
}

@media (min-width: 1101px) and (max-height: 740px) {
  .topbar { padding-top: 20px; }
  .brand--capsule { min-height: 58px; }
  .brand--capsule .brand__mark { width: 42px; height: 42px; }
}

/* Tablet: center the art and remove the side rail where it would look like a
   misplaced desktop detail. */
@media (max-width: 1100px) and (min-width: 761px) {
  .topbar { padding-top: 28px; }
  .hero-stage::before { width: 112%; left: -6%; }
  .hero-contact-panel::before,
  .hero-contact-panel::after { display: none; }
}

@media (max-width: 1100px) and (min-width: 761px) and (orientation: landscape) and (max-height: 720px) {
  .topbar { padding-top: 18px; }
  .hero-stage::before { width: 125%; left: -13%; top: -8%; }
  .hero-contact-panel::before,
  .hero-contact-panel::after { display: block; }
}

/* Phones: keep the background art airy and behind the column without adding
   a large clipped region or pushing the hero height. */
@media (max-width: 760px) {
  .topbar { padding-top: 22px; }
  .brand--capsule { min-height: 60px; }
  .brand--capsule .brand__mark { width: 46px; height: 46px; }

  .hero-stage::before {
    width: 122%;
    height: 118%;
    left: -11%;
    top: -8%;
    opacity: .72;
  }

  .hero-stage::after {
    width: 116%;
    left: -8%;
    top: 28%;
    opacity: .5;
  }

  .stage-orb--main { width: 72%; left: 14%; top: 7%; opacity: .42; }
  .stage-orb--soft { width: 34%; right: 1%; bottom: 4%; opacity: .24; }
  .stage-ring--one { width: 86%; left: 7%; top: 1%; }
  .stage-ring--two { width: 58%; right: 8%; bottom: 9%; }

  .hero-contact-panel::before,
  .hero-contact-panel::after { display: none; }
}

/* Android keeps the same composition but avoids extra continuous large-layer
   animation. The visual remains present as a static premium backdrop. */
html.ua-android .hero-stage::before,
html.ua-android .hero-stage::after,
html.is-android-mobile .hero-stage::before,
html.is-android-mobile .hero-stage::after {
  animation: none !important;
  will-change: auto !important;
}


/* --------------------------------------------------------------------------
   Visual refinement v8
   - Brand capsule is larger and sits lower from the viewport edge.
   - Trust section heading follows the same left alignment as process blocks.
   - Mission benefit capsules are vertically centered.
   - Bottom contacts become compact horizontal capsules instead of tiles.
-------------------------------------------------------------------------- */

/* Brand capsule: slightly larger and with more breathing room above. */
.topbar {
  padding-top: 44px;
}

.brand--capsule {
  min-height: 78px;
  padding: 10px 30px 10px 10px;
  gap: 17px;
  border-radius: 999px;
}

.brand--capsule .brand__mark {
  width: 58px;
  height: 58px;
  font-size: 14px;
}

.brand--capsule .brand__text {
  font-size: 18px;
  letter-spacing: .105em;
}

.brand__divider {
  font-size: 20px;
}

/* Trust heading: same left rhythm as process and mission content. */
.trust-section .section__head {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.trust-section .section__head .section-kicker {
  margin-left: 0;
  margin-right: 0;
}

/* Mission benefits: center both the text and the dot vertically. */
.mission-list li {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 14px 18px 14px 48px;
  line-height: 1.42;
}

.mission-list li::before {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

/* Bottom contacts: four premium capsules rather than rectangular tiles. */
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-tile {
  min-height: 72px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 1px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(247,252,253,.68));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 12px 30px rgba(31,67,87,.06);
}

.contact-tile span {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0;
}

.contact-tile strong {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  font-size: 16px;
  line-height: 1.25;
}

.contact-tile small {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  font-size: 12px;
  line-height: 1.25;
}

.contact-tile:hover,
.contact-tile:focus-visible {
  transform: translateY(-3px);
}

/* Short desktop screens: preserve the larger brand without crowding the hero. */
@media (min-width: 1101px) and (max-height: 900px) {
  .topbar { padding-top: 34px; }
  .brand--capsule { min-height: 70px; padding: 9px 27px 9px 9px; }
  .brand--capsule .brand__mark { width: 52px; height: 52px; }
  .brand--capsule .brand__text { font-size: 17px; }
}

@media (min-width: 1101px) and (max-height: 740px) {
  .topbar { padding-top: 24px; }
  .brand--capsule { min-height: 62px; padding: 8px 24px 8px 8px; }
  .brand--capsule .brand__mark { width: 46px; height: 46px; }
  .brand--capsule .brand__text { font-size: 16px; }
}

/* Tablets: retain a clear top gap without stealing space from the scene. */
@media (max-width: 1100px) and (min-width: 761px) {
  .topbar { padding-top: 34px; }
  .brand--capsule { min-height: 70px; padding: 9px 27px 9px 9px; }
  .brand--capsule .brand__mark { width: 52px; height: 52px; }
  .brand--capsule .brand__text { font-size: 17px; }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) and (min-width: 761px) and (orientation: landscape) and (max-height: 720px) {
  .topbar { padding-top: 22px; }
  .brand--capsule { min-height: 62px; }
  .brand--capsule .brand__mark { width: 46px; height: 46px; }
}

/* Phones: brand remains larger than before, contacts stack as full-width pills. */
@media (max-width: 760px) {
  .topbar { padding-top: 28px; }
  .brand--capsule {
    min-height: 64px;
    padding: 8px 22px 8px 8px;
    gap: 12px;
  }
  .brand--capsule .brand__mark { width: 48px; height: 48px; font-size: 12px; }
  .brand--capsule .brand__text { font-size: 14px; letter-spacing: .09em; }
  .brand__divider { font-size: 15px; }

  .mission-list li {
    min-height: 64px;
    padding: 12px 16px 12px 44px;
  }
  .mission-list li::before { left: 16px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-tile {
    min-height: 64px;
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 7px 16px 7px 7px;
    column-gap: 10px;
  }

  .contact-tile span {
    width: 42px;
    height: 42px;
  }

  .contact-tile strong { font-size: 15px; }
  .contact-tile small { font-size: 11.5px; }
}

@media (max-width: 390px) {
  .topbar { padding-top: 24px; }
  .brand--capsule { min-height: 60px; padding-right: 18px; }
  .brand--capsule .brand__mark { width: 44px; height: 44px; }
  .brand--capsule .brand__text { font-size: 13px; }
}

/* Android keeps the same visual but without blur-heavy contact pills. */
html.ua-android .contact-tile,
html.is-android-mobile .contact-tile {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(247,252,253,.82));
}


/* --------------------------------------------------------------------------
   Visual refinement v9
   - Remove the audience kicker capsule.
   - Increase and lower the brand capsule, with less empty space around text.
   - Give desktop hero copy more horizontal presence.
   - Use the MAX messenger mark and one consistent icon family everywhere.
-------------------------------------------------------------------------- */

/* Audience heading no longer has a kicker capsule. */
.audience-section .section__head {
  padding-top: 8px;
}

/* Brand capsule: larger typography, balanced internal air, and a lower position. */
.topbar {
  padding-top: 52px;
}

.brand--capsule {
  min-height: 82px;
  padding: 10px 31px 10px 10px;
  gap: 16px;
}

.brand--capsule .brand__mark {
  width: 60px;
  height: 60px;
  font-size: 15px;
}

.brand--capsule .brand__text {
  font-size: 20px;
  letter-spacing: .11em;
}

.brand__divider {
  font-size: 21px;
}

/* MAX mark is an image asset rather than a placeholder letter. */
.hero-contact-card__icon--max img,
.contact-tile__icon--max img {
  display: block;
  width: 24px;
  height: 24px;
}

/* All bottom contact icons use the same SVG treatment as hero contacts. */
.contact-tile__icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin: 0;
  background: rgba(107,174,200,.12);
  color: var(--blue-deep);
}

.contact-tile__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

.contact-tile__icon svg rect,
.contact-tile__icon svg circle:not(.fill-dot) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.contact-tile__icon svg .fill-dot {
  fill: currentColor;
  stroke: none;
}

/* Desktop-only hero expansion: use the available horizontal space more elegantly. */
@media (min-width: 1101px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .72fr);
    gap: clamp(54px, 6vw, 116px);
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero__title {
    max-width: 800px;
    font-size: clamp(54px, 4.35vw, 76px);
    letter-spacing: -.035em;
    line-height: .98;
  }

  .hero__lead {
    max-width: 680px;
    font-size: clamp(18px, 1.3vw, 21px);
    line-height: 1.6;
    letter-spacing: .004em;
  }
}

/* Short desktop screens preserve fit while retaining the larger brand feel. */
@media (min-width: 1101px) and (max-height: 900px) {
  .topbar { padding-top: 40px; }
  .brand--capsule { min-height: 74px; padding: 9px 28px 9px 9px; }
  .brand--capsule .brand__mark { width: 54px; height: 54px; font-size: 14px; }
  .brand--capsule .brand__text { font-size: 18px; }

  .hero__title {
    font-size: clamp(48px, 4vw, 66px);
  }

  .hero__lead {
    font-size: clamp(17px, 1.2vw, 19px);
  }
}

@media (min-width: 1101px) and (max-height: 740px) {
  .topbar { padding-top: 28px; }
  .brand--capsule { min-height: 66px; padding: 8px 25px 8px 8px; }
  .brand--capsule .brand__mark { width: 48px; height: 48px; font-size: 13px; }
  .brand--capsule .brand__text { font-size: 17px; }
  .brand__divider { font-size: 18px; }

  .hero__title {
    font-size: clamp(42px, 3.65vw, 58px);
  }

  .hero__lead {
    font-size: 16px;
  }
}

/* Tablets and phones: increase brand text without allowing it to touch the frame. */
@media (max-width: 1100px) and (min-width: 761px) {
  .topbar { padding-top: 40px; }
  .brand--capsule { min-height: 74px; padding: 9px 28px 9px 9px; }
  .brand--capsule .brand__mark { width: 54px; height: 54px; font-size: 14px; }
  .brand--capsule .brand__text { font-size: 18px; }
}

@media (max-width: 1100px) and (min-width: 761px) and (orientation: landscape) and (max-height: 720px) {
  .topbar { padding-top: 26px; }
  .brand--capsule { min-height: 66px; }
  .brand--capsule .brand__mark { width: 48px; height: 48px; }
  .brand--capsule .brand__text { font-size: 16px; }
}

@media (max-width: 760px) {
  .topbar { padding-top: 34px; }

  .brand--capsule {
    min-height: 68px;
    padding: 8px 23px 8px 8px;
    gap: 12px;
  }

  .brand--capsule .brand__mark {
    width: 50px;
    height: 50px;
    font-size: 12.5px;
  }

  .brand--capsule .brand__text {
    font-size: 15px;
    letter-spacing: .09em;
  }

  .brand__divider {
    font-size: 16px;
  }

  .contact-tile__icon {
    width: 42px;
    height: 42px;
  }

  .contact-tile__icon svg,
  .contact-tile__icon--max img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 390px) {
  .topbar { padding-top: 30px; }
  .brand--capsule { min-height: 64px; padding-right: 19px; }
  .brand--capsule .brand__mark { width: 46px; height: 46px; }
  .brand--capsule .brand__text { font-size: 14px; }
}


/* --------------------------------------------------------------------------
   Production stabilization v10
   Fixes:
   - mobile hero art has no rectangular backing or clipped edges;
   - iOS hero geometry does not jump when Safari browser chrome changes height;
   - Android mobile uses a single vector art layer and no scroll-time style churn.
-------------------------------------------------------------------------- */

/* iOS Safari: keep the sticky hero at the height captured at load.
   The address bar may change the visual viewport, but the hero does not reflow. */
html.ua-ios .hero {
  height: var(--app-height, 100svh) !important;
  min-height: var(--app-height, 100svh) !important;
}

html.ua-ios .hero__inner {
  min-height: calc(var(--app-height, 100svh) - var(--hero-topbar-h, 96px)) !important;
}

/* Phones use one transparent vector scene. This removes the visible rectangle
   around the contact column while retaining depth, rings, orbs and light lines. */
@media (max-width: 760px) {
  .hero-stage {
    contain: none !important;
    overflow: visible !important;
    isolation: isolate;
    background: url("../img/hero-art-mobile.svg") center 48% / 155% 155% no-repeat;
  }

  .hero-stage::before,
  .hero-stage::after,
  .hero-stage .stage-orb,
  .hero-stage .stage-ring,
  .hero-stage .signal-line {
    display: none !important;
  }

  .hero-contact-panel {
    position: relative;
    z-index: 2;
  }
}

/* Android mobile compositor profile.
   Same visible design, fewer independently painted layers and no lazy paints. */
html.is-android-mobile,
html.is-android-mobile body {
  scroll-behavior: auto !important;
  overscroll-behavior-y: auto !important;
}

html.is-android-mobile .hero {
  position: relative !important;
  top: auto !important;
  height: auto !important;
  min-height: max(650px, var(--app-height, 100svh)) !important;
  contain: none !important;
  transform: none !important;
  will-change: auto !important;
}

html.is-android-mobile .main-shell {
  margin-top: -34px !important;
  contain: none !important;
  transform: none !important;
  will-change: auto !important;
}

html.is-android-mobile .section,
html.is-android-mobile .audience-content,
html.is-android-mobile .process-card,
html.is-android-mobile .mission-card,
html.is-android-mobile .trust-card,
html.is-android-mobile .contact-panel,
html.is-android-mobile .contact-tile {
  content-visibility: visible !important;
  contain: none !important;
  transform: none !important;
  will-change: auto !important;
  backface-visibility: visible !important;
}

html.is-android-mobile .reveal-now,
html.is-android-mobile .reveal-on-scroll,
html.is-android-mobile .reveal-on-scroll.is-visible {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

html.is-android-mobile .hero__noise,
html.is-android-mobile .hero__glow {
  display: none !important;
}

html.is-android-mobile .hero-stage,
html.is-android-mobile .hero-contact-panel,
html.is-android-mobile .hero-contact-grid,
html.is-android-mobile .hero-contact-card {
  animation: none !important;
  transition: none !important;
  will-change: auto !important;
  backface-visibility: visible !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html.is-android-mobile .hero-contact-card {
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,252,253,.88)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 10px 24px rgba(31,67,87,.055) !important;
}

html.is-android-mobile .audience-switch {
  position: relative !important;
  top: auto !important;
  transform: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html.is-android-mobile .process-card,
html.is-android-mobile .mission-card,
html.is-android-mobile .trust-card,
html.is-android-mobile .contact-panel,
html.is-android-mobile .contact-tile {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 22px rgba(31,67,87,.045) !important;
}

/* Avoid hidden rendering work from old global layer promotion rules. */
html.is-android-mobile .hero,
html.is-android-mobile .main-shell,
html.is-android-mobile .hero-stage,
html.is-android-mobile .cookie-banner {
  backface-visibility: visible !important;
}

/* Very small Android screens keep the same art without forcing a second layout pass. */
@media (max-width: 430px) {
  html.is-android-mobile .hero-stage {
    background-size: 165% 160%;
  }
}


/* --------------------------------------------------------------------------
   Cross-browser commissioning v11
   Audited targets:
   desktop 1920/1440/1366/1280, tablet 1024/912/820/768, mobile 430/390/360.
   - one transparent art layer on tablet and mobile;
   - no contact-panel rectangle;
   - hero lead is never hidden on short tablet screens;
   - Android non-Chrome browsers receive a static compatibility renderer.
-------------------------------------------------------------------------- */

.hero-stage-art {
  display: none;
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: 138%;
  max-width: none;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: .94;
}

.hero-stage-art img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-contact-panel,
html.ua-android .hero-contact-panel,
html.is-android-mobile .hero-contact-panel,
html.android-compat .hero-contact-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.hero__lead {
  display: block !important;
}

@media (max-width: 1100px) {
  .hero-stage {
    position: relative;
    contain: layout style !important;
    overflow: visible !important;
    isolation: isolate;
    background: none !important;
  }

  .hero-stage-art {
    display: block;
  }

  .hero-stage::before,
  .hero-stage::after,
  .hero-stage .stage-orb,
  .hero-stage .stage-ring,
  .hero-stage .signal-line {
    display: none !important;
  }

  .hero-contact-panel {
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 760px) {
  .hero-stage-art {
    width: 146%;
    top: 51%;
    opacity: .91;
  }
}

@media (max-width: 430px) {
  .hero-stage-art {
    width: 154%;
  }
}

@media (min-width: 761px) and (max-width: 1100px) and (max-height: 680px) {
  :root {
    --hero-topbar-h: 56px;
    --hero-bottom-pad: 34px;
  }

  .topbar {
    padding-top: 22px;
  }

  .hero__inner {
    gap: 22px;
    align-items: center;
  }

  .hero__title {
    font-size: clamp(30px, min(4.25vw, 6vh), 43px) !important;
    line-height: .99;
  }

  .hero__lead {
    display: block !important;
    margin-top: 10px !important;
    max-width: 560px;
    font-size: 14px !important;
    line-height: 1.42 !important;
  }

  .hero-contact-panel {
    width: min(100%, 292px);
  }

  .hero-contact-grid {
    gap: 9px;
  }

  .hero-contact-card {
    min-height: 52px;
    padding: 7px 13px 7px 7px;
  }

  .hero-contact-card__icon {
    width: 37px;
    height: 37px;
  }
}

html.android-compat,
html.android-compat body {
  scroll-behavior: auto !important;
  overscroll-behavior-y: auto !important;
}

html.android-compat .hero {
  position: relative !important;
  top: auto !important;
  height: auto !important;
  min-height: max(620px, var(--app-height, 100svh)) !important;
  contain: layout style !important;
  transform: none !important;
  will-change: auto !important;
}

html.android-compat .main-shell {
  margin-top: -34px !important;
  transform: none !important;
  will-change: auto !important;
}

html.android-compat .hero-stage-art {
  display: block !important;
}

html.android-compat .hero__noise,
html.android-compat .hero__glow,
html.android-compat .hero-stage::before,
html.android-compat .hero-stage::after,
html.android-compat .hero-stage .stage-orb,
html.android-compat .hero-stage .stage-ring,
html.android-compat .hero-stage .signal-line {
  display: none !important;
}

html.android-compat .hero-contact-card,
html.android-compat .audience-switch,
html.android-compat .process-card,
html.android-compat .mission-card,
html.android-compat .trust-card,
html.android-compat .contact-panel,
html.android-compat .contact-tile,
html.android-compat .cookie-banner {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
  animation: none !important;
  transition: none !important;
  will-change: auto !important;
  backface-visibility: visible !important;
}

html.android-compat .hero-contact-card {
  background: linear-gradient(135deg, rgba(255,255,255,.97), rgba(247,252,253,.90)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 9px 22px rgba(31,67,87,.05) !important;
}

html.android-compat .section,
html.android-compat .audience-content,
html.android-compat .process-card,
html.android-compat .mission-card,
html.android-compat .trust-card,
html.android-compat .contact-panel,
html.android-compat .contact-tile {
  content-visibility: visible !important;
  contain: layout style !important;
  transform: none !important;
  will-change: auto !important;
}

html.android-compat .reveal-now,
html.android-compat .reveal-on-scroll,
html.android-compat .reveal-on-scroll.is-visible {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

html.android-compat .audience-switch {
  position: relative !important;
  top: auto !important;
}

html.is-android-mobile .hero-stage {
  background: none !important;
  contain: layout style !important;
  overflow: visible !important;
}

html.is-android-mobile .hero-stage-art {
  display: block !important;
}

html.is-android-mobile .hero-contact-panel {
  background: transparent !important;
}


/* --------------------------------------------------------------------------
   Production refinement v12
   - restore sticky hero + overlapping main page on tablets and phones;
   - keep Android compatibility render static to protect scroll performance;
   - monochrome MAX icon;
   - footer contact links replaced by email.
-------------------------------------------------------------------------- */

/* Restore the approved desktop interaction on touch devices:
   hero stays pinned while the main page overlaps it. */
@media (max-width: 1100px) and (pointer: coarse) {
  .hero,
  html.ua-android .hero,
  html.is-android-mobile .hero,
  html.ua-android-gecko .hero,
  html.ua-android-ddg .hero {
    position: sticky !important;
    top: 0 !important;
    height: var(--app-height, 100svh) !important;
    min-height: var(--app-height, 100svh) !important;
    z-index: 1 !important;
    overflow: hidden !important;
  }

  .main-shell,
  html.ua-android .main-shell,
  html.is-android-mobile .main-shell,
  html.ua-android-gecko .main-shell,
  html.ua-android-ddg .main-shell {
    position: relative !important;
    z-index: 3 !important;
    margin-top: -38px !important;
  }

  .hero__inner,
  html.ua-android .hero__inner,
  html.is-android-mobile .hero__inner,
  html.ua-android-gecko .hero__inner,
  html.ua-android-ddg .hero__inner {
    min-height: calc(var(--app-height, 100svh) - var(--hero-topbar-h, 70px)) !important;
  }
}

/* Keep Firefox / DuckDuckGo Android lightweight even with sticky enabled:
   no animated scene, no filters, no lazy reveal. */
html.ua-android-gecko .hero,
html.ua-android-ddg .hero {
  contain: layout style !important;
  transform: none !important;
  will-change: auto !important;
}

html.ua-android-gecko .hero-stage::before,
html.ua-android-gecko .hero-stage::after,
html.ua-android-ddg .hero-stage::before,
html.ua-android-ddg .hero-stage::after {
  animation: none !important;
  will-change: auto !important;
}

/* MAX is now a single monochrome mark, consistent with phone/TG/Instagram. */
.hero-contact-card__icon--max img,
.contact-tile__icon--max img {
  filter: none !important;
  opacity: 1;
}

/* Footer: one direct email instead of duplicated messenger links. */
.footer__email {
  color: var(--text);
  font-weight: 650;
  letter-spacing: .01em;
  transition: color .2s ease, transform .2s ease;
}

.footer__email:hover,
.footer__email:focus-visible {
  color: var(--blue-deep);
  transform: translateY(-1px);
  outline: none;
}

@media (max-width: 760px) {
  .footer__email {
    width: fit-content;
  }
}


/* --------------------------------------------------------------------------
   Production commissioning v13
   - Android Chrome tablet sticky hero is keyed by UA class, not viewport width;
   - MAX mark is inline and monochrome, so browser icon cache cannot restore color;
   - Clinic/Candidate switching is deterministic and symmetric;
   - overlapping main page is more opaque.
-------------------------------------------------------------------------- */

/* More opaque overlapping page: the hero remains visible only at the intended
   edge/overlap, not through the content surface. */
.main-shell {
  background:
    radial-gradient(circle at 15% 10%, rgba(147,215,210,.12), transparent 32rem),
    radial-gradient(circle at 92% 7%, rgba(107,174,200,.09), transparent 36rem),
    linear-gradient(180deg, #ffffff 0%, #fbfdfe 34%, #ffffff 100%) !important;
  border-top-color: rgba(255,255,255,.98) !important;
  box-shadow: 0 -20px 54px rgba(31,67,87,.14) !important;
}

/* Android Chrome tablets can report a CSS width above the former 1100px
   breakpoint. UA-based rule guarantees the desktop-style sticky interaction. */
html.ua-android:not(.android-compat) .hero,
html.ua-ios .hero {
  position: sticky !important;
  top: 0 !important;
  height: var(--app-height, 100svh) !important;
  min-height: var(--app-height, 100svh) !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

html.ua-android:not(.android-compat) .main-shell,
html.ua-ios .main-shell {
  position: relative !important;
  z-index: 3 !important;
  margin-top: -38px !important;
}

html.ua-android:not(.android-compat) .hero__inner,
html.ua-ios .hero__inner {
  min-height: calc(var(--app-height, 100svh) - var(--hero-topbar-h, 70px)) !important;
}

/* Compatibility browsers remain static to avoid the old Firefox/DDG jank. */
html.android-compat .hero {
  position: relative !important;
  top: auto !important;
  height: auto !important;
  min-height: max(620px, var(--app-height, 100svh)) !important;
}

html.android-compat .main-shell {
  margin-top: -34px !important;
}

/* Inline MAX mark follows the same monochrome currentColor system as all
   other communication icons. */
.max-mark {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
  color: inherit;
}

.hero-contact-card__icon--max,
.contact-tile__icon--max {
  color: var(--blue-deep) !important;
}

.hero-contact-card__icon--max img,
.contact-tile__icon--max img {
  display: none !important;
}

/* Symmetric Clinic/Candidate transition.
   Desktop/Chrome get a soft fade + lift. Android compatibility browsers use
   opacity-only, which is smoother on their compositor. */
.audience-content {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity .22s cubic-bezier(.22,.61,.36,1),
    transform .22s cubic-bezier(.22,.61,.36,1) !important;
}

.audience-content.is-leaving,
.audience-content.is-entering,
.audience-content.is-switching {
  opacity: 0 !important;
  transform: translateY(8px) !important;
}

.audience-content.is-hidden {
  display: none;
}

html.android-compat .audience-content,
html.is-android-mobile .audience-content {
  transition: opacity .18s ease !important;
  transform: none !important;
}

html.android-compat .audience-content.is-leaving,
html.android-compat .audience-content.is-entering,
html.android-compat .audience-content.is-switching,
html.is-android-mobile .audience-content.is-leaving,
html.is-android-mobile .audience-content.is-entering,
html.is-android-mobile .audience-content.is-switching {
  opacity: 0 !important;
  transform: none !important;
}

/* Active tab state uses the same timing in both directions. */
.audience-switch__button {
  transition:
    background .22s ease,
    color .22s ease,
    box-shadow .22s ease,
    transform .22s ease !important;
}


/* --------------------------------------------------------------------------
   Production commissioning v14
   Audience switching now uses the browser's same-document View Transitions API.
   Android Chrome composites two snapshots instead of fading a large live DOM
   subtree, removing stepped opacity and repaint flashes.
-------------------------------------------------------------------------- */

@supports (view-transition-name: none) {
  /* Disable the default full-page snapshot. Only the visible audience panel
     participates in the transition. */
  :root {
    view-transition-name: none;
  }

  .audience-content:not([hidden]) {
    view-transition-name: audience-panel;
  }

  .audience-content[hidden] {
    view-transition-name: none;
  }

  ::view-transition-group(audience-panel) {
    animation-duration: .24s;
    animation-timing-function: cubic-bezier(.22, .61, .36, 1);
  }

  ::view-transition-old(audience-panel),
  ::view-transition-new(audience-panel) {
    mix-blend-mode: normal;
    animation-duration: .24s;
    animation-timing-function: cubic-bezier(.22, .61, .36, 1);
  }

  ::view-transition-old(audience-panel) {
    animation-name: audience-snapshot-out;
  }

  ::view-transition-new(audience-panel) {
    animation-name: audience-snapshot-in;
  }
}

@keyframes audience-snapshot-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes audience-snapshot-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* The live panel itself must not animate while the browser snapshot transition
   is running. This prevents double fades and Android compositor flashes. */
@supports (view-transition-name: none) {
  .audience-content,
  .audience-content.is-leaving,
  .audience-content.is-entering,
  .audience-content.is-switching,
  html.android-compat .audience-content,
  html.is-android-mobile .audience-content {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Android browsers without View Transitions use an instant state swap.
   Do not apply the legacy live-DOM opacity transition there. */
@supports not (view-transition-name: none) {
  html.ua-android .audience-content,
  html.ua-android .audience-content.is-leaving,
  html.ua-android .audience-content.is-entering,
  html.ua-android .audience-content.is-switching {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(audience-panel),
  ::view-transition-old(audience-panel),
  ::view-transition-new(audience-panel) {
    animation-duration: .001ms !important;
  }
}


/* --------------------------------------------------------------------------
   Production commissioning v15
   Android audience switching uses one fixed compositor veil.
   The complex content is swapped once while the veil is opaque; no large DOM
   subtree is crossfaded, eliminating stepped opacity and repaint flashes.
-------------------------------------------------------------------------- */

.android-audience-veil {
  position: fixed;
  z-index: 80;
  left: 0;
  right: 0;
  top: var(--audience-veil-top, 0px);
  bottom: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(147,215,210,.10), transparent 30rem),
    radial-gradient(circle at 92% 6%, rgba(107,174,200,.075), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #fbfdfe 38%, #ffffff 100%);
  transform: translateZ(0);
  will-change: opacity;
  contain: strict;
}

.android-audience-veil[hidden] {
  display: none !important;
}

/* Android does not crossfade the live content or View Transition snapshots.
   The fixed veil is the only animated object. */
html.ua-android .audience-content,
html.ua-android .audience-content.is-leaving,
html.ua-android .audience-content.is-entering,
html.ua-android .audience-content.is-switching,
html.is-android-mobile .audience-content,
html.is-android-mobile .audience-content.is-leaving,
html.is-android-mobile .audience-content.is-entering,
html.is-android-mobile .audience-content.is-switching,
html.android-compat .audience-content,
html.android-compat .audience-content.is-leaving,
html.android-compat .audience-content.is-entering,
html.android-compat .audience-content.is-switching {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .android-audience-veil {
    display: none !important;
  }
}
