/* ADS Wind redesign layer: loaded after the theme CSS on every page.
   Brand blue kept; Unbounded display headings, dark glowing heroes and bands,
   glassy cards, pill buttons. Layout and content come from the theme. */
:root {
  --aw-blue: #3a55e0;
  --aw-blue-deep: #324ac7;
  --aw-sky: #59aef6;
  --aw-cyan: #7cd3ff;
  --aw-ink: #121826;
  --aw-muted: #5b6678;
  --aw-line: #e2e7f0;
  --aw-soft: #f3f6fc;
  --aw-navy: #0a1033;
  --aw-navy-2: #111a4a;
  --aw-grad: linear-gradient(120deg, #3a55e0 0%, #4f7cf0 45%, #59aef6 100%);
  --aw-grad-text: linear-gradient(100deg, #8fb4ff 0%, #59aef6 50%, #9be7ff 100%);
  --aw-display: "Unbounded", "Mulish", system-ui, sans-serif;
  --aw-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 40px -22px rgba(25, 40, 120, .35);
  --aw-shadow-hover: 0 2px 6px rgba(16, 24, 40, .06), 0 30px 60px -24px rgba(40, 70, 200, .45);
}

body {
  color: var(--aw-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgba(58, 85, 224, .2); }

/* ---------- Typography ---------- */
h1, .uk-h1, h2, .uk-h2, .uk-heading-small, .uk-heading-medium, .uk-heading-large, .uk-heading-hero {
  font-family: var(--aw-display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em;
  line-height: 1.12 !important;
  text-wrap: balance;
}
h1, .uk-h1 { font-size: clamp(30px, 3.6vw, 48px) !important; }
h2, .uk-h2 { font-size: clamp(24px, 2.6vw, 34px) !important; }
.uk-heading-medium, .uk-heading-hero { font-size: clamp(32px, 3.5vw, 50px) !important; }
h3, .uk-h3, h4, .uk-h4 { font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.uk-text-primary { color: var(--aw-blue) !important; }
h1 .uk-text-primary, .uk-h1 .uk-text-primary, .uk-heading-medium .uk-text-primary, .uk-heading-hero .uk-text-primary {
  background: var(--aw-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

/* ---------- Header ---------- */
.tm-header .uk-navbar-container {
  background: rgba(255, 255, 255, .78) !important;
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(18, 24, 38, .06);
}
.uk-navbar-nav > li > a { position: relative; font-weight: 700; transition: color .2s ease; }
.uk-navbar-nav > li > a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: 26px;
  height: 2px; border-radius: 2px;
  background: var(--aw-grad);
  transition: left .25s ease, right .25s ease;
}
.uk-navbar-nav > li:hover > a, .uk-navbar-nav > li.uk-active > a { color: var(--aw-blue); }
.uk-navbar-nav > li:hover > a::after, .uk-navbar-nav > li.uk-active > a::after { left: 15px; right: 15px; }
.uk-navbar-dropdown { border-radius: 16px; box-shadow: var(--aw-shadow-hover); border: 1px solid var(--aw-line); }

/* ---------- Buttons ---------- */
.uk-button {
  border-radius: 999px !important;
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.uk-button-primary {
  background: var(--aw-grad) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: 0 12px 28px -12px rgba(58, 85, 224, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.uk-button-primary:hover, .uk-button-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -14px rgba(58, 85, 224, .85), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.uk-button-primary:active { transform: translateY(0); }
.uk-button-text { font-weight: 800; color: var(--aw-blue) !important; }
.uk-button-text::before { border-color: var(--aw-blue) !important; }

/* ---------- Cards ---------- */
.uk-card-default {
  border: 1px solid var(--aw-line) !important;
  border-radius: 22px !important;
  box-shadow: var(--aw-shadow) !important;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.uk-card-default::before { display: none !important; }
.uk-card-hover:hover, .uk-card-default.el-item:hover {
  transform: translateY(-6px);
  border-color: rgba(58, 85, 224, .35) !important;
  box-shadow: var(--aw-shadow-hover) !important;
}
.uk-card-default .el-image, .uk-card-default picture img { border-radius: 14px; }
.card-ceo:hover, .card-form:hover { transform: none; }
.uk-card-default .uk-card-title, .uk-card-default h3 { font-weight: 800; }

/* Home "Services" cards: full-bleed image, title with an arrow button; the last two go wide on desktop. */
a.uk-card.uk-link-toggle:has(> picture) {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
  background: #fff;
}
a.uk-card.uk-link-toggle:has(> picture) > picture { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e7eafc; }
a.uk-card.uk-link-toggle:has(> picture) > picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
a.uk-card.uk-link-toggle:has(> picture):hover > picture img { transform: scale(1.06); }
a.uk-card.uk-link-toggle:has(> picture) > .el-title {
  position: relative;
  margin: 0 !important;
  padding: 20px 76px 22px 24px;
  font-size: 19px;
  line-height: 1.3;
  color: var(--aw-ink, #0e1430);
}
a.uk-card.uk-link-toggle:has(> picture) > .el-title::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border-radius: 50%;
  background: #eef1ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a55e0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: background-color .3s ease, transform .3s ease;
}
a.uk-card.uk-link-toggle:has(> picture):hover > .el-title::after {
  background-color: #3a55e0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
  transform: rotate(45deg);
}
/* Phone slider variant of the same cards carries a tagline and a "more" link. */
a.uk-card.uk-link-toggle:has(> picture) > .el-meta { margin: 0 !important; padding: 18px 24px 0; font-size: 13px; color: #6b7690; }
a.uk-card.uk-link-toggle:has(> .el-meta) > .el-title { padding: 6px 24px 0; }
a.uk-card.uk-link-toggle:has(> .el-meta) > .el-title::after { display: none; }
a.uk-card.uk-link-toggle:has(> picture) > .uk-margin-top:last-child { margin: 0 !important; padding: 14px 24px 22px; }
@media (min-width: 960px) {
  .uk-grid:has(> div > .el-item > a.uk-link-toggle > picture) > :nth-child(n+4) { width: 50%; }
  .uk-grid:has(> div > .el-item > a.uk-link-toggle > picture) > :nth-child(n+4) a.uk-card {
    flex-direction: row;
    align-items: center;
  }
  .uk-grid:has(> div > .el-item > a.uk-link-toggle > picture) > :nth-child(n+4) a.uk-card > picture { flex: 0 0 46%; align-self: stretch; aspect-ratio: auto; min-height: 200px; }
  .uk-grid:has(> div > .el-item > a.uk-link-toggle > picture) > :nth-child(n+4) a.uk-card > .el-title { flex: 1; padding-left: 28px; font-size: 21px; }
}

/* ---------- Dark hero (home, services, cases) ---------- */
.aw-hero {
  position: relative;
  isolation: isolate;
  color: #dfe6ff;
  background-color: var(--aw-navy) !important;
  background-image:
    radial-gradient(700px 480px at 78% 30%, rgba(89, 174, 246, .35), transparent 65%),
    radial-gradient(620px 520px at 12% 85%, rgba(58, 85, 224, .55), transparent 65%),
    linear-gradient(180deg, #0a1033 0%, #0d1540 100%) !important;
  overflow: hidden;
}
.aw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.aw-hero, .aw-hero p, .aw-hero li, .aw-hero .uk-text-lead, .aw-hero .el-content { color: #c9d3f5 !important; }
.aw-hero h1, .aw-hero h2, .aw-hero .uk-h1, .aw-hero .uk-h2, .aw-hero .uk-heading-medium, .aw-hero .uk-heading-hero,
.aw-hero .uk-h3, .aw-hero h3, .aw-hero .sub-head-hero { color: #fff !important; }
.aw-hero h1 .uk-text-primary, .aw-hero .uk-heading-medium .uk-text-primary, .aw-hero .uk-heading-hero .uk-text-primary {
  background: var(--aw-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
}
.aw-hero .uk-text-primary, .aw-hero [uk-icon] { color: var(--aw-cyan) !important; }
.aw-hero .uk-button.uk-button-primary { color: #fff !important; }
.aw-hero .sub-head-hero { font-weight: 500 !important; opacity: .85; }
.aw-hero .top_line, .aw-hero .uk-breadcrumb { opacity: .9; }
.aw-hero .uk-breadcrumb a, .aw-hero .uk-breadcrumb span { color: #9fb0e6 !important; }
.aw-hero .uk-card-default { background: rgba(255, 255, 255, .06) !important; border-color: rgba(255, 255, 255, .12) !important; color: #dfe6ff; }
/* Room above (header) and below (the white wave at the bottom edge) */
.aw-hero > .uk-container:first-child,
.aw-hero > .uk-grid-margin:first-child { padding-top: 48px; padding-bottom: 110px; }
@media (max-width: 959px) {
  .aw-hero > .uk-container:first-child,
  .aw-hero > .uk-grid-margin:first-child { padding-top: 24px; padding-bottom: 70px; }
}

/* ---------- Lead-gen animation (homepage hero) ---------- */
.aw-viz {
  position: relative;
  max-width: 520px;
  margin: 24px auto 64px;
  font-family: Mulish, system-ui, sans-serif;
  color: #e9eeff;
}
.aw-viz__glow {
  position: absolute;
  inset: 10% 5% 0;
  background: radial-gradient(closest-side, rgba(89, 174, 246, .45), transparent);
  filter: blur(30px);
  z-index: 0;
}
.aw-viz__card {
  position: relative;
  z-index: 1;
  padding: 26px 26px 22px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .2);
  animation: aw-float 7s ease-in-out infinite;
}
.aw-viz__head { display: flex; justify-content: flex-start; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: #b9c6f2; }
.aw-viz__live { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; background: rgba(52, 195, 143, .15); color: #6ff0bd; font-size: 12px; }
.aw-viz__live i { width: 7px; height: 7px; border-radius: 50%; background: #3ee6a3; box-shadow: 0 0 0 0 rgba(62, 230, 163, .7); animation: aw-ping 1.6s infinite; }
.aw-viz__num b {
  display: block;
  margin-top: 6px;
  font-family: var(--aw-display);
  font-weight: 600;
  font-size: clamp(48px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #fff 30%, #9be7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.aw-viz__period { margin-top: 6px; font-size: 13px; color: #94a3d8; }
.aw-viz__chart { display: block; width: 100%; height: 96px; margin: 16px 0 12px; overflow: visible; }
.aw-viz__line { stroke-dasharray: 520; stroke-dashoffset: 520; animation: aw-draw 2s .3s cubic-bezier(.4, 0, .2, 1) forwards; filter: drop-shadow(0 4px 10px rgba(89, 174, 246, .7)); }
.aw-viz__area { opacity: 0; animation: aw-fade 1s 1.4s forwards; }
.aw-viz__dot { opacity: 0; animation: aw-fade .4s 2.2s forwards, aw-blink 1.8s 2.6s infinite; }
.aw-viz__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aw-viz__kpis div { padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.aw-viz__kpis small { display: block; font-size: 12px; color: #94a3d8; }
.aw-viz__kpis b { font-size: 20px; color: #fff; font-variant-numeric: tabular-nums; }

.aw-viz__toasts {
  position: absolute;
  z-index: 2;
  right: -40px;
  top: -44px;
  width: 260px;
  display: grid;
  gap: 8px;
}
.aw-viz__toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  color: var(--aw-ink);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .55);
  opacity: 0;
  transform: translateY(-14px) scale(.96);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2, .9, .3, 1.2);
}
.aw-viz__toast.is-in { opacity: 1; transform: none; }
.aw-viz__toast.is-out { opacity: 0; transform: translateY(10px) scale(.96); }
.aw-viz__toast:nth-child(2).is-in { opacity: .8; transform: scale(.97); }
.aw-viz__toast:nth-child(3).is-in { opacity: .55; transform: scale(.94); }
.aw-viz__badge { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff; font-weight: 800; font-size: 13px; }
.aw-viz__tt { display: grid; min-width: 0; }
.aw-viz__tt b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-viz__tt small { font-size: 12px; color: #6b7690; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.aw-viz__flow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
}
.aw-viz__step {
  --c: #5b8cff;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 8px;
  border-radius: 14px;
  border: 1px solid transparent;
  animation: aw-step 3s calc(var(--i) * 1s) infinite;
}
.aw-viz__step:last-child { --c: #34c38f; }
.aw-viz__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .08);
  color: #9fb0e0;
  animation: aw-ico 3s calc(var(--i) * 1s) infinite;
}
.aw-viz__ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aw-viz__lbl { display: grid; min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.2; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-viz__lbl small { font-size: 10px; font-weight: 600; letter-spacing: .08em; color: #7d8bb5; }
.aw-viz__link {
  flex: 0 0 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent 0 30%, #7cd3ff 50%, transparent 70% 100%) rgba(255, 255, 255, .14);
  background-size: 300% 100%;
  animation: aw-link 3s calc(var(--i) * 1s + .6s) infinite;
}

@keyframes aw-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes aw-ping { 0% { box-shadow: 0 0 0 0 rgba(62, 230, 163, .7); } 100% { box-shadow: 0 0 0 10px rgba(62, 230, 163, 0); } }
@keyframes aw-draw { to { stroke-dashoffset: 0; } }
@keyframes aw-fade { to { opacity: 1; } }
@keyframes aw-blink { 0%, 100% { r: 5; } 50% { r: 8; } }
@keyframes aw-step { 0%, 30% { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); } 42%, 100% { background: transparent; border-color: transparent; } }
@keyframes aw-ico { 0%, 30% { background: var(--c); color: #fff; box-shadow: 0 6px 18px -4px var(--c); } 42%, 100% { background: rgba(255, 255, 255, .08); color: #9fb0e0; box-shadow: none; } }
@keyframes aw-link { 0% { background-position: 100% 0; } 20%, 100% { background-position: 0 0; } }

/* Phones: heading, subheading, animation, then the button; the service checklist is hidden. */
@media (max-width: 959px) {
  .aw-hero .uk-grid:has(.aw-viz) { display: flex; flex-direction: column; }
  .aw-hero .uk-grid:has(.aw-viz) > div:first-child { display: contents; }
  .aw-hero .uk-grid:has(.aw-viz) > div { width: 100%; }
  .aw-hero .uk-grid:has(.aw-viz) .uk-heading-hero { order: 1; }
  .aw-hero .uk-grid:has(.aw-viz) .sub-head-hero { order: 2; }
  .aw-hero .uk-grid:has(.aw-viz) .uk-list { display: none; }
  .aw-hero .uk-grid:has(.aw-viz) > .uk-grid-item-match { order: 3; margin-top: 28px !important; }
  .aw-hero .uk-grid:has(.aw-viz) .uk-margin:has(> .uk-button) { order: 4; margin-top: 20px !important; }
  .aw-hero .uk-grid:has(.aw-viz) .uk-margin:has(> .uk-button) .uk-button { width: 100%; }
}
/* Ringostat callback widget: desktop only (call tracking keeps working). */
@media (max-width: 959px) {
  .rngst_phone_button, body > [class^="rngst_"] { display: none !important; }
}
@media (max-width: 959px) {
  .aw-viz { margin: 8px auto 24px; }
  .aw-viz__toasts { right: 8px; left: 8px; width: auto; top: -18px; }
  .aw-viz__toast:nth-child(n+2) { display: none; }
  .aw-viz__card { padding-top: 64px; }
  .aw-viz__step { flex-direction: column; gap: 6px; padding: 8px 4px; text-align: center; }
  .aw-viz__lbl small { display: none; }
  .aw-viz__link { align-self: flex-start; margin-top: 25px; flex-basis: 12px; }
}

/* ---------- Coloured bands and footer ---------- */
.uk-section-primary {
  background-color: var(--aw-navy) !important;
  background-image:
    radial-gradient(800px 420px at 85% 0%, rgba(89, 174, 246, .4), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(58, 85, 224, .55), transparent 60%) !important;
}
.uk-section-primary .uk-button-primary,
.uk-section-primary .uk-button-default {
  background: #fff !important;
  color: var(--aw-blue-deep) !important;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .5);
}
.uk-section-secondary {
  background-color: #070b22 !important;
  background-image: radial-gradient(700px 300px at 90% 0%, rgba(58, 85, 224, .35), transparent 70%) !important;
}
.uk-section-secondary a { transition: color .2s ease; }
.uk-section-secondary .uk-list a:hover, .uk-section-secondary .el-link:hover { color: var(--aw-cyan) !important; }

/* ---------- Article pages ---------- */
.uk-article p { line-height: 1.75; }
.uk-article h2 { margin-top: 1.6em; }
.uk-article blockquote {
  border-left: 4px solid var(--aw-blue);
  background: var(--aw-soft);
  border-radius: 0 14px 14px 0;
  padding: 16px 20px;
  font-style: normal;
}
.uk-article img { border-radius: 16px; }

/* ---------- Inputs and focus ---------- */
.uk-input, .uk-select, .uk-textarea { border-radius: 12px; }
.uk-input:focus, .uk-select:focus, .uk-textarea:focus { border-color: var(--aw-blue); box-shadow: 0 0 0 4px rgba(58, 85, 224, .14); }
a:focus-visible, button:focus-visible, .uk-button:focus-visible { outline: 2px solid var(--aw-sky); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .aw-viz *, .uk-button, .uk-card-default { animation: none !important; transition: none !important; }
  .aw-viz__line { stroke-dashoffset: 0; }
  .aw-viz__area, .aw-viz__dot { opacity: 1; }
  .aw-viz__ico { background: var(--c); color: #fff; }
  .uk-button-primary:hover, .uk-card-hover:hover, .uk-card-default.el-item:hover { transform: none; }
}

/* Hero: the old wind-line wave at the bottom is removed. */
.aw-hero .top_line { display: none !important; }
