
:root {
  --uwm-navy: #253B80;
  --uwm-blue: #169BD7;
  --ink: #111318;
  --muted: #646a76;
  --paper: #ffffff;
  --soft: #f3f5f8;
  --line: rgba(17, 19, 24, .16);
  --cookie-bg: #17213d;
  --white: #fff;
  --header-h: 72px;
  --page-x: clamp(20px, 3vw, 52px);
  --max: 1560px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }
img { display: block; width: 100%; height: auto; }
button { font: inherit; }

.shell {
  width: min(calc(100% - (var(--page-x) * 2)), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(17, 19, 24, .08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo {
  width: 68px;
  height: auto;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.7vw, 46px);
}

.main-nav a {
  position: relative;
  padding: 9px 0 8px;
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
  letter-spacing: -.01em;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--uwm-blue);
  transition: right .22s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  right: 0;
}

.main-nav .nav-login {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--uwm-navy);
  color: white;
  box-shadow: 0 7px 20px rgba(37, 59, 128, .18);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.main-nav .nav-login::after {
  display: none;
}

.main-nav .nav-login:hover,
.main-nav .nav-login:focus-visible {
  background: var(--uwm-blue);
  transform: translateY(-1px);
  box-shadow: 0 9px 24px rgba(22, 155, 215, .25);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 12px;
}

.language-switcher a {
  width: 37px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1rem;
  opacity: .55;
  transition: background .18s ease, opacity .18s ease;
}

.language-switcher a:hover,
.language-switcher a[aria-current="page"] {
  background: var(--soft);
  opacity: 1;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.hero {
  padding: clamp(76px, 10vw, 150px) 0 clamp(88px, 12vw, 180px);
}

.hero-title {
  max-width: 1320px;
  margin: 0;
  font-size: clamp(4.2rem, 11.6vw, 11.4rem);
  line-height: .83;
  letter-spacing: -.075em;
  font-weight: 750;
}

.hero-title .blue { color: var(--uwm-blue); }

.hero-lead {
  width: min(780px, 100%);
  margin: clamp(42px, 6vw, 80px) 0 0 auto;
  font-size: clamp(1.35rem, 2.1vw, 2.15rem);
  line-height: 1.22;
  letter-spacing: -.035em;
}

.page-hero {
  padding: clamp(76px, 9vw, 130px) 0 clamp(70px, 9vw, 120px);
}

.page-label {
  margin: 0 0 24px;
  color: var(--uwm-blue);
  font-size: .86rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.page-title {
  margin: 0;
  font-size: clamp(4.4rem, 12vw, 11rem);
  line-height: .82;
  letter-spacing: -.075em;
  font-weight: 750;
}

.page-intro {
  width: min(950px, 100%);
  margin: clamp(46px, 6vw, 76px) 0 0 auto;
  font-size: clamp(1.55rem, 2.7vw, 2.75rem);
  line-height: 1.13;
  letter-spacing: -.04em;
}

.media-bleed {
  width: 100%;
  overflow: hidden;
  background: var(--soft);
}

.media-bleed .media-frame {
  min-height: clamp(320px, 56vw, 840px);
  border-radius: 0;
}

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: clamp(300px, 45vw, 650px);
  background:
    linear-gradient(135deg, rgba(37,59,128,.98), rgba(22,155,215,.74));
}

.media-frame img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  color: rgba(255,255,255,.9);
  text-align: center;
}

.image-placeholder-inner {
  display: grid;
  gap: 7px;
}

.image-placeholder strong {
  font-size: clamp(1.15rem, 2vw, 1.8rem);
}

.image-placeholder small {
  color: rgba(255,255,255,.72);
  font-size: .85rem;
}

.editorial-section {
  padding: clamp(90px, 12vw, 180px) 0;
}

.editorial-row {
  display: grid;
  grid-template-columns: minmax(150px, .32fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 120px);
  align-items: start;
}

.editorial-label {
  padding-top: 8px;
  color: var(--uwm-blue);
  font-size: .86rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.editorial-copy {
  max-width: 1060px;
}

.editorial-heading {
  margin: 0;
  font-size: clamp(2.7rem, 5.8vw, 6.2rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 720;
}

.editorial-copy p {
  max-width: 850px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 32px;
  font-weight: 700;
  text-decoration: none;
}

.text-link::after { content: "↗"; color: var(--uwm-blue); }

.process-list {
  margin-top: clamp(54px, 7vw, 92px);
  border-top: 1px solid var(--line);
}

.process-item {
  display: grid;
  grid-template-columns: 80px minmax(200px, .55fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 60px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.process-no {
  color: var(--uwm-blue);
  font-size: .82rem;
  font-weight: 750;
}

.process-item h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.process-item p {
  margin: 0;
  max-width: 690px;
  color: var(--muted);
}

.platform-section {
  padding: clamp(86px, 10vw, 150px) 0;
  background: var(--uwm-navy);
  color: white;
}

.platform-section .editorial-label { color: #8ed8f5; }

.platform-title {
  margin: 0 0 clamp(48px, 7vw, 88px);
  font-size: clamp(2.5rem, 5.5vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.22);
}

.platform-name {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border-bottom: 1px solid rgba(255,255,255,.22);
  font-size: clamp(1.35rem, 2.5vw, 2.4rem);
  letter-spacing: -.035em;
  text-align: center;
}

.platform-name:nth-child(3n+2),
.platform-name:nth-child(3n+3) {
  border-left: 1px solid rgba(255,255,255,.22);
}

.platform-more {
  margin: 30px 0 0;
  color: rgba(255,255,255,.68);
}

.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 36px);
}

.split-media .media-frame { min-height: clamp(330px, 42vw, 700px); }

.statement-section {
  padding: clamp(90px, 12vw, 180px) 0;
  background: var(--soft);
}

.statement {
  max-width: 1260px;
  margin: 0;
  font-size: clamp(3rem, 7.5vw, 8rem);
  line-height: .9;
  letter-spacing: -.068em;
  font-weight: 740;
}

.statement a {
  color: var(--uwm-blue);
  text-decoration: none;
}

.principles {
  margin-top: clamp(48px, 7vw, 90px);
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: minmax(190px, .42fr) minmax(0, 1fr);
  gap: 40px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.principle h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  letter-spacing: -.03em;
}

.principle p {
  margin: 0;
  max-width: 700px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 8vw, 130px);
  padding: 0 0 clamp(90px, 12vw, 180px);
}

.contact-visual {
  min-width: 0;
}

.contact-image {
  min-height: 0;
  aspect-ratio: 1000 / 932;
  overflow: visible;
  background: transparent;
}

.contact-image img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-image-caption {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.45;
}

.contact-caption-star {
  flex: 0 0 auto;
  margin-top: -2px;
  color: var(--uwm-blue);
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1;
}

.contact-block {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.contact-label {
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.contact-value {
  display: block;
  margin-top: 14px;
  font-size: clamp(1.65rem, 3vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-meta {
  display: grid;
  gap: 28px;
}

.contact-social-section {
  padding: clamp(78px, 10vw, 145px) 0;
  background: linear-gradient(180deg, #f4f8fc 0%, #eaf3fa 100%);
  border-top: 1px solid rgba(37,59,128,.08);
}

.contact-social-grid {
  display: grid;
  grid-template-columns: minmax(170px, .34fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 100px);
}

.contact-social-content {
  max-width: 900px;
}

.contact-social-content h2 {
  max-width: 780px;
  margin: 0;
  color: var(--uwm-navy);
  font-size: clamp(2.5rem, 5.4vw, 6rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.contact-social-content p {
  max-width: 760px;
  margin: 28px 0 0;
  color: #454b56;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.contact-social-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--uwm-navy);
  color: white;
  font-size: .93rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.contact-social-link:hover,
.contact-social-link:focus-visible {
  background: var(--uwm-blue);
  transform: translateY(-1px);
}

.site-footer {
  background: var(--ink);
  color: white;
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-copy {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  color: rgba(255,255,255,.66);
  font-size: .82rem;
}

.footer-note {
  width: 27px;
  height: auto;
}

.footer-note,
.home-screen-mark {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.footer-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: white;
}

.cookie-settings-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-settings-button:hover,
.cookie-settings-button:focus-visible {
  color: white;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 2000;
  width: min(calc(100% - 30px), 740px);
  transform: translateX(-50%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: var(--cookie-bg);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(12, 20, 44, .3);
}

.cookie-banner h2 { margin: 0 0 8px; font-size: 1.12rem; }
.cookie-banner p { margin: 0; color: rgba(255, 255, 255, .74); font-size: .89rem; }

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
}

.cookie-action {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.cookie-action.primary {
  border-color: var(--uwm-blue);
  background: var(--uwm-blue);
}

@media (max-width: 700px) {
  .cookie-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-action { width: 100%; }
}

@media (max-width: 900px) {

  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }


  :root { --header-h: 66px; }

  .logo { width: 62px; }

  .menu-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100vw;
    height: calc(100dvh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    display: none;
    margin: 0;
    padding: 38px var(--page-x);
    background: rgba(37, 59, 128, .985);
    color: white;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 999;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  body.menu-open .main-nav { display: flex; }

  .main-nav a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,.20);
    color: white;
    font-size: clamp(2rem, 8vw, 4rem);
    letter-spacing: -.05em;
  }

  .main-nav a::after {
    background: #8ed8f5;
  }

  .main-nav .nav-login {
    width: auto;
    min-height: 48px;
    margin-top: 20px;
    padding: 12px 24px;
    border: 0;
    background: white;
    color: var(--uwm-navy);
    font-size: 1.08rem;
    letter-spacing: -.01em;
    box-shadow: none;
  }

  .main-nav .nav-login:hover,
  .main-nav .nav-login:focus-visible {
    background: #8ed8f5;
    color: #13275f;
  }

  .language-switcher a {
    border-bottom: 0;
    color: white;
  }

  .language-switcher a:hover,
  .language-switcher a[aria-current="page"] {
    background: rgba(255,255,255,.16);
  }

  .language-switcher { margin-left: 0; margin-top: 22px; }

  .language-switcher a {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
  }

  .editorial-row,
  .contact-layout,
  .contact-social-grid {
    grid-template-columns: 1fr;
  }

  .contact-image {
    aspect-ratio: 5 / 2;
  }

  .editorial-label { padding-top: 0; }

  .process-item {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .process-item p {
    grid-column: 2;
  }

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

  .platform-name:nth-child(3n+2),
  .platform-name:nth-child(3n+3) {
    border-left: 0;
  }

  .platform-name:nth-child(even) {
    border-left: 1px solid rgba(255,255,255,.22);
  }

  .principle {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 620px) {
  body { font-size: 16px; }

  .hero-title {
    font-size: clamp(4rem, 20vw, 6.3rem);
  }

  .page-title {
    font-size: clamp(4rem, 20vw, 6.5rem);
  }

  .hero-lead,
  .page-intro {
    margin-left: 0;
  }

  .platform-grid,
  .split-media {
    grid-template-columns: 1fr;
  }

  .platform-name,
  .platform-name:nth-child(even) {
    min-height: 86px;
    padding: 20px;
    border-left: 0;
  }

  .footer-inner {
    align-items: flex-end;
  }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* ------------------------------------------------------------------
   HOME: one-screen visual landing page
   ------------------------------------------------------------------ */
body.home-page {
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--uwm-navy);
}

body.home-page .site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1000;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.home-page .logo-link {
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255,255,255,.94);
}

body.home-page .main-nav > a:not(.nav-login) {
  color: white;
  text-shadow: 0 1px 16px rgba(0,0,0,.24);
}

body.home-page .main-nav > a:not(.nav-login)::after {
  background: #8ed8f5;
}

body.home-page .main-nav > .nav-login {
  background: rgba(255,255,255,.96);
  color: var(--uwm-navy);
  text-shadow: none;
}

body.home-page .main-nav > .nav-login:hover,
body.home-page .main-nav > .nav-login:focus-visible {
  background: #8ed8f5;
  color: #13275f;
}

body.home-page .language-switcher a {
  color: white;
  opacity: .78;
}

body.home-page .language-switcher a:hover,
body.home-page .language-switcher a[aria-current="page"] {
  background: rgba(255,255,255,.16);
  opacity: 1;
}

body.home-page .menu-toggle span {
  background: white;
}

.home-screen {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background-color: var(--uwm-navy);
  background-image:
    linear-gradient(110deg, rgba(15,30,82,.72), rgba(20,63,112,.42)),
    var(--home-image, linear-gradient(135deg, #253B80, #169BD7));
  background-size: cover;
  background-position: center;
}

/* The title and audio waveform form one centred visual unit. The intro and CTA
   remain separate modules below it, while the complete stack is centred. */
.home-screen-waveform {
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 50%;
  width: 100vw;
  height: 100%;
  background: url("../images/home-audio-waveform-v3.svg") center / 100% 100% no-repeat;
  opacity: .50;
  filter: drop-shadow(0 0 10px rgba(100,199,239,.18));
  transform: translateX(-50%) scaleY(.94);
  transform-origin: center;
  animation: home-waveform-breathe 8.2s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes home-waveform-breathe {
  0% {
    opacity: .44;
    transform: translateX(-50%) scaleY(.92);
  }
  42% {
    opacity: .54;
    transform: translateX(-50%) scaleY(1.02);
  }
  68% {
    opacity: .48;
    transform: translateX(-50%) scaleY(.97);
  }
  100% {
    opacity: .58;
    transform: translateX(-50%) scaleY(1.06);
  }
}

.home-screen::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,18,45,.45), transparent 36%),
    radial-gradient(circle at 75% 42%, transparent 0, rgba(18,35,78,.15) 62%, rgba(9,20,52,.30) 100%);
  pointer-events: none;
}

.home-screen-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-items: center;
  padding:
    calc(var(--header-h) + clamp(26px, 5vw, 66px))
    var(--page-x)
    clamp(92px, 12vh, 140px);
}

.home-screen-content {
  width: min(1050px, 92%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-align: center;
}

.home-screen-visual {
  position: relative;
  width: 100%;
  height: clamp(210px, 29vw, 430px);
  display: grid;
  place-items: center;
}

.home-screen-title {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  font-size: clamp(4.2rem, 10.8vw, 10.5rem);
  line-height: .84;
  letter-spacing: -.075em;
  font-weight: 750;
}

.home-screen-title-line {
  display: block;
  white-space: nowrap;
}

.home-screen-title .blue {
  color: #64c7ef;
}

body[data-page-language="en"] .home-screen-title {
  font-size: clamp(3.25rem, 7.2vw, 7rem);
}

.home-screen-intro {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  margin: clamp(18px, 2.4vw, 34px) auto 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(1.05rem, 1.65vw, 1.55rem);
  line-height: 1.35;
}

.home-screen-cta {
  position: relative;
  z-index: 1;
  min-height: 48px;
  margin-top: clamp(18px, 2vw, 28px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: var(--uwm-navy);
  box-shadow: 0 10px 30px rgba(7,18,49,.20);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.home-screen-cta:hover,
.home-screen-cta:focus-visible {
  background: #8ed8f5;
  color: #13275f;
  box-shadow: 0 13px 34px rgba(7,18,49,.28);
  transform: translateY(-2px);
}

.home-screen-cta:focus-visible {
  outline: 3px solid rgba(255,255,255,.9);
  outline-offset: 4px;
}

.home-screen-footer {
  position: absolute;
  z-index: 3;
  left: var(--page-x);
  right: var(--page-x);
  bottom: clamp(22px, 3.2vw, 42px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  color: white;
  font-size: .86rem;
}

.home-screen-copyright {
  color: rgba(255,255,255,.84);
}

.home-screen-mark {
  width: 23px;
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.15));
}

body.home-page .site-footer {
  display: none;
}

/* ------------------------------------------------------------------
   PRIVACY: restrained legal-document layout
   ------------------------------------------------------------------ */
.privacy-hero {
  padding-bottom: clamp(56px, 7vw, 94px);
}

.privacy-shell {
  max-width: 1060px;
}

.privacy-title {
  max-width: 980px;
  font-size: clamp(3.6rem, 8vw, 8rem);
}

.privacy-updated {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: .84rem;
}

.privacy-document {
  padding: 0 0 clamp(90px, 12vw, 170px);
}

.privacy-document section {
  display: grid;
  grid-template-columns: minmax(190px, .34fr) minmax(0, 1fr);
  column-gap: clamp(34px, 7vw, 100px);
  padding: clamp(30px, 4vw, 50px) 0;
  border-top: 1px solid var(--line);
}

.privacy-document h2 {
  margin: 0;
  color: var(--uwm-navy);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: -.02em;
}

.privacy-document p {
  grid-column: 2;
  max-width: 760px;
  margin: 0 0 16px;
  color: #454b56;
}

.privacy-document p:last-child {
  margin-bottom: 0;
}

.privacy-service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.privacy-document a {
  color: var(--uwm-navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.privacy-document a:hover,
.privacy-document a:focus-visible {
  color: var(--uwm-blue);
}

@media (max-width: 900px) {
  body.home-page.menu-open {
    overflow: hidden;
  }

  body.home-page .main-nav {
    background: rgba(37, 59, 128, .985);
    color: white;
  }

  body.home-page .main-nav a {
    color: white;
    border-bottom-color: rgba(255,255,255,.18);
    text-shadow: none;
  }

  body.home-page .main-nav .nav-login {
    color: var(--uwm-navy);
    border-bottom: 0;
  }

  .privacy-document section {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .privacy-document p {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  .home-screen-inner {
    padding-top: calc(var(--header-h) + 36px);
    padding-bottom: 118px;
  }

  .home-screen-title {
    font-size: min(12.5vw, 4.5rem);
    line-height: .90;
  }

  body[data-page-language="en"] .home-screen-title {
    font-size: min(9vw, 4rem);
  }

  .home-screen-intro {
    font-size: .98rem;
    line-height: 1.4;
  }

  .home-screen-cta {
    min-height: 46px;
    margin-top: 18px;
    padding: 11px 26px;
    font-size: .92rem;
  }

  .home-screen-footer {
    bottom: 20px;
    font-size: .86rem;
  }

  .home-screen-mark {
    width: 20px;
  }
}

@media (max-width: 620px) and (min-height: 560px) {
  .home-screen-content {
    transform: translateY(-5vh);
  }
}

@media (max-width: 620px) and (max-height: 620px) {
  .home-screen-visual {
    height: clamp(160px, 30vh, 205px);
  }

  .home-screen-intro {
    margin-top: 14px;
  }

  .home-screen-cta {
    min-height: 42px;
    margin-top: 14px;
    padding-block: 9px;
  }
}



/* Give the second major About section a different visual rhythm */
.process-feature-section {
  padding-block: clamp(84px, 10vw, 150px);
  background:
    linear-gradient(180deg, #f4f8fc 0%, #eaf3fa 100%);
  border-top: 1px solid rgba(37,59,128,.08);
  border-bottom: 1px solid rgba(37,59,128,.08);
}

.process-feature-heading {
  grid-template-columns: 1fr;
  gap: 18px;
}

.process-feature-heading .editorial-label {
  padding-top: 0;
}

.process-feature-heading .editorial-copy {
  max-width: 1240px;
}

.process-feature-heading .editorial-heading {
  max-width: 1120px;
}

.process-feature-section .process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(37,59,128,.20);
}

.process-feature-section .process-item {
  display: block;
  padding: clamp(28px, 4vw, 48px);
  border-bottom: 0;
  border-right: 1px solid rgba(37,59,128,.20);
}

.process-feature-section .process-item:first-child {
  padding-left: 0;
}

.process-feature-section .process-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.process-feature-section .process-no {
  margin-bottom: 34px;
}

.process-feature-section .process-item h3 {
  margin-bottom: 18px;
}

.platform-more {
  margin-top: 42px;
  text-align: center;
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  font-weight: 650;
  color: rgba(255,255,255,.82);
}

@media (max-width: 820px) {
  .process-feature-section .process-list {
    grid-template-columns: 1fr;
  }

  .process-feature-section .process-item,
  .process-feature-section .process-item:first-child,
  .process-feature-section .process-item:last-child {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(37,59,128,.20);
  }

  .process-feature-section .process-item:last-child {
    border-bottom: 0;
  }

  .process-feature-section .process-no {
    margin-bottom: 18px;
  }
}


/* About hero: image and introduction combined in one compact visual section */
.about-visual-hero {
  position: relative;
  min-height: 0;
  display: block;
  overflow: hidden;
  color: white;
  background-color: var(--uwm-navy);
  background-image:
    linear-gradient(
      110deg,
      rgba(20, 45, 112, .92) 0%,
      rgba(37, 59, 128, .82) 46%,
      rgba(22, 155, 215, .62) 100%
    ),
    var(--about-image, linear-gradient(135deg, #253B80, #169BD7));
  background-size: cover;
  background-position: center;
}

.about-visual-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,18,48,.48), rgba(8,18,48,.05) 55%),
    radial-gradient(circle at 76% 18%, rgba(22,155,215,.18), transparent 46%);
  pointer-events: none;
}

.about-visual-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(76px, 9vw, 130px);
  padding-bottom: clamp(70px, 9vw, 120px);
}

.about-visual-hero .page-label {
  color: #8ed8f5;
}

.about-visual-hero .page-title {
  color: white;
}

.about-visual-hero .page-intro {
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 22px rgba(5,16,50,.28);
}

@media (max-width: 620px) {
  .about-visual-hero {
    background-position: 58% center;
  }
}


.flag-emoji {
  display: block;
  width: 1.15em;
  line-height: 1;
  text-align: center;
  transform: translateY(-1px);
}




/* Hamburger animation */
.menu-toggle {
  position: relative;
}

.menu-toggle span {
  transform-origin: center;
}

body.menu-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Keep the hamburger/X clearly visible while menu is open */
body.menu-open .menu-toggle {
  z-index: 1100;
}

@media (max-width: 900px) {
  body.menu-open .site-header {
    z-index: 1200;
  }

  body.menu-open .main-nav {
    display: flex;
  }

  /* On content pages the header remains white, the menu fills everything below it. */
  body.content-page.menu-open .site-header {
    background: rgba(255,255,255,.98);
  }

  /* On the full-screen homepage retain the transparent top bar. */
  body.home-page.menu-open .site-header {
    background: transparent;
  }
}


/* Language selection is indicated by the circular state only.
   Keep the animated underline for the three primary navigation links. */
.language-switcher a::after {
  display: none !important;
}


:root {
  --debug-banner-height: 0px;
}

.debug-mode-banner {
  position: relative;
  z-index: 3000;
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px var(--page-x);
  background: #8a1f11;
  color: white;
  font-size: .82rem;
}

.debug-mode-banner[hidden] {
  display: none;
}

.debug-mode-content {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
}

.debug-mode-content strong {
  letter-spacing: .08em;
  white-space: nowrap;
}

.debug-mode-content code {
  width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.28);
}

.debug-dismiss {
  flex: 0 0 auto;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(255,255,255,.08);
  color: white;
  cursor: pointer;
  font: inherit;
}

.debug-dismiss:hover,
.debug-dismiss:focus-visible {
  background: rgba(255,255,255,.18);
}

/* The homepage header is absolute, so explicitly move it below DEBUG MODE. */
body.debug-mode.home-page .site-header {
  top: var(--debug-banner-height);
}

/* Keep the one-screen homepage one screen tall even with the debug bar visible. */
body.debug-mode.home-page .home-screen {
  height: calc(100dvh - var(--debug-banner-height));
  min-height: calc(100dvh - var(--debug-banner-height));
}

@media (max-width: 620px) {
  .debug-mode-banner {
    align-items: flex-start;
    font-size: .76rem;
  }

  .debug-dismiss span:first-child {
    display: none;
  }
}


/* Simple branded landing page for unknown URLs */
body.notfound-page {
  min-height: 100dvh;
  background: var(--uwm-navy);
  color: white;
}

body.notfound-page .site-header,
body.notfound-page .site-footer {
  display: none;
}

.notfound-screen {
  min-height: 100dvh;
  display: flex;
  background:
    radial-gradient(circle at 82% 18%, rgba(22,155,215,.28), transparent 32%),
    linear-gradient(135deg, #253B80 0%, #1f3476 58%, #16275d 100%);
}

.notfound-inner {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(32px, 5vw, 68px);
  padding-bottom: clamp(32px, 5vw, 68px);
}

.notfound-logo-link {
  width: fit-content;
  display: inline-flex;
  padding: 9px 11px;
  background: white;
}

.notfound-logo {
  width: 72px;
  height: auto;
}

.notfound-copy {
  width: min(900px, 100%);
  padding-block: clamp(70px, 12vh, 150px);
}

.notfound-kicker {
  margin: 0 0 18px;
  color: #8ed8f5;
  font-size: .88rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.notfound-copy h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(4rem, 10vw, 9.4rem);
  line-height: .88;
  letter-spacing: -.07em;
  font-weight: 750;
}

.notfound-copy > p:not(.notfound-kicker) {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(1.08rem, 1.7vw, 1.4rem);
}

.notfound-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.notfound-home span {
  color: #64c7ef;
  transition: transform .18s ease;
}

.notfound-home:hover span {
  transform: translateX(5px);
}

.notfound-note {
  position: absolute;
  right: 0;
  bottom: clamp(32px, 5vw, 68px);
  width: 28px;
  height: auto;
}

@media (max-width: 620px) {
  .notfound-logo {
    width: 62px;
  }

  .notfound-copy h1 {
    font-size: clamp(4rem, 20vw, 6.2rem);
  }

  .notfound-note {
    width: 23px;
  }
}
