:root {
  --layout-max-width: 1200px;
  --layout-page-gutter: 2rem;
  --layout-mobile-gutter: 2.5rem;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  padding-top: 5.6rem;
  overflow-x: hidden;
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  color: #10243c;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.l-container {
  width: min(100% - var(--layout-page-gutter), var(--layout-max-width));
  margin-inline: auto;
}

.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.s-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(249, 252, 255, 0.96), rgba(239, 247, 255, 0.88));
  border-bottom: 1px solid rgba(17, 98, 214, 0.1);
  box-shadow: 0 12px 30px rgba(9, 74, 168, 0.08);
}

.l-header {
  min-height: 5.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 1.2vw, 1.1rem);
}

.c-logo {
  display: inline-flex;
  align-items: center;
  width: min(48vw, 14.5rem);
  height: auto;
  max-width: none;
}

.c-logo__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
}

.c-logo__mark,
.c-logo__word {
  display: none;
}

.c-nav {
  display: none;
}

.c-mobile-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  margin-left: auto;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(25, 99, 215, 0.22);
  border-radius: 16px;
  color: #075ecf;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.94));
  box-shadow: 0 12px 24px rgba(13, 63, 128, 0.1);
  cursor: pointer;
}

.c-mobile-menu-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.is-nav-open {
  overflow: hidden;
}

body.is-nav-open .c-mobile-menu-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.is-nav-open .c-mobile-menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

body.is-nav-open .c-mobile-menu-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.64rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(25, 99, 215, 0.28);
  color: #0f4f99;
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
}

.c-flexoai-trigger,
.c-nav__flexoai {
  font: inherit;
}

.c-flexoai-trigger {
  position: relative;
}

.c-flexoai-trigger__main,
.c-nav__flexoai > span:first-child {
  font-weight: 900;
}

.c-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.16rem;
  padding: 0.18rem;
  border: 1px solid rgba(25, 99, 215, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.c-language-switch a {
  display: inline-grid;
  place-items: center;
  min-width: 2.05rem;
  min-height: 1.75rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  color: #0f4f99;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  opacity: 1;
}

.c-language-switch a[aria-current="true"] {
  color: #ffffff;
  background: #006dff;
  box-shadow: 0 8px 18px rgba(0, 109, 255, 0.22);
}

.c-soon-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: 0.16rem 0.48rem;
  border-radius: 999px;
  color: #075ecf;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.c-flexoai-modal[hidden] {
  display: none;
}

.c-flexoai-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.c-flexoai-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 18, 43, 0.58);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.c-flexoai-modal__dialog {
  position: relative;
  width: min(100%, 34rem);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(118, 178, 255, 0.26);
  border-radius: 8px;
  color: #10243c;
  background:
    radial-gradient(circle at 88% 0%, rgba(0, 109, 255, 0.1), transparent 16rem),
    #ffffff;
  box-shadow: 0 26px 70px rgba(3, 24, 62, 0.34);
}

.c-flexoai-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(25, 99, 215, 0.16);
  border-radius: 999px;
  color: #075ecf;
  background: #f4f9ff;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.c-flexoai-modal__eyebrow {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  color: #006dff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.c-flexoai-modal h2 {
  margin: 0;
  color: #071b46;
  font-size: 2rem;
  line-height: 1.12;
}

.c-flexoai-modal h2 + p {
  margin: 0.75rem 0 0;
  color: #425b79;
  font-size: 0.98rem;
  line-height: 1.6;
}

.c-flexoai-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

.c-flexoai-field {
  display: grid;
  gap: 0.45rem;
}

.c-flexoai-field label {
  color: #17355a;
  font-size: 0.82rem;
  font-weight: 900;
}

.c-flexoai-field input,
.c-flexoai-field textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(22, 70, 125, 0.15);
  border-radius: 8px;
  outline: 0;
  background: rgba(248, 251, 255, 0.92);
  color: #123456;
  padding: 0.78rem 0.9rem;
  font: inherit;
}

.c-flexoai-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.c-flexoai-field input:focus,
.c-flexoai-field textarea:focus {
  border-color: rgba(0, 109, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 109, 255, 0.11);
}

.c-privacy {
  display: grid;
  gap: 0.85rem;
}

.c-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
  color: #17355a;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.45;
}

.c-privacy input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.17rem;
  accent-color: #006dff;
}

.c-privacy a {
  color: #006dff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.c-privacy--compact label {
  font-size: 0.8rem;
  font-weight: 700;
}

.c-flexoai-form__submit {
  min-height: 3.15rem;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #0054e9 0%, #087bff 100%);
  box-shadow: 0 12px 24px rgba(8, 92, 223, 0.28);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

body.is-modal-open {
  overflow: hidden;
}

.s-site-footer {
  margin-top: 0;
  padding: 2.4rem 0 1.2rem;
  border-top: 1px solid rgba(23, 98, 186, 0.1);
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 109, 255, 0.08), transparent 18rem),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.l-footer {
  display: grid;
  gap: 1.6rem;
}

.c-footer-brand {
  max-width: 24rem;
}

.c-footer-brand__lockup {
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.c-footer-brand__logo {
  display: block;
  width: min(100%, 5.6rem);
  height: auto;
}

.c-footer-brand p {
  display: none;
}

.c-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem clamp(1rem, 2vw, 1.9rem);
  color: #425b79;
  font-size: 0.86rem;
  font-weight: 600;
}

.c-footer-meta {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(25, 99, 176, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.2rem;
}

.c-footer-meta p {
  margin: 0;
  color: #4f6680;
  font-size: 0.82rem;
}

.c-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  color: #4f6680;
  font-size: 0.8rem;
  font-weight: 700;
}

.c-footer-legal a {
  transition: color 0.2s ease;
}

.c-footer-legal a:hover {
  color: #006dff;
}

.c-footer-cookies {
  border: 0;
  padding: 0;
  color: #006dff;
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.c-footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #6d7f98;
}

.c-footer-social a {
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 999px;
}

.c-footer-social svg {
  width: 1.35rem;
  height: 1.35rem;
}

.c-footer-social a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.c-footer-social a:hover {
  color: #006dff;
  transform: translateY(-1px);
}

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

.c-cookie-banner {
  position: fixed;
  inset: auto var(--layout-page-gutter) var(--layout-page-gutter);
  z-index: 80;
}

.c-cookie-banner__panel {
  width: min(100%, 42rem);
  margin-left: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border: 1px solid rgba(17, 98, 214, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(9, 74, 168, 0.22);
  backdrop-filter: blur(18px);
}

.c-cookie-banner.is-details-open .c-cookie-banner__panel {
  width: min(100%, 58rem);
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.5fr);
}

.c-cookie-banner__eyebrow {
  margin: 0 0 0.45rem;
  color: #006dff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.c-cookie-banner h2 {
  margin: 0;
  color: #071b46;
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 900;
}

.c-cookie-banner p {
  margin: 0.55rem 0 0;
  color: #425f81;
  font-size: 0.9rem;
  line-height: 1.55;
}

.c-cookie-banner a {
  display: inline-flex;
  margin-top: 0.7rem;
  color: #006dff;
  font-size: 0.84rem;
  font-weight: 800;
}

.c-cookie-banner__summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.c-cookie-banner__summary-actions button {
  min-height: 2.65rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid rgba(0, 109, 255, 0.22);
  border-radius: 999px;
  color: #075ecf;
  background: #ffffff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
}

.c-cookie-banner__summary-actions [data-cookie-accept] {
  color: #ffffff;
  background: linear-gradient(135deg, #0054e9 0%, #087bff 100%);
  box-shadow: 0 10px 20px rgba(8, 92, 223, 0.22);
}

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

.c-cookie-banner__settings {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.c-cookie-toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.8rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(22, 70, 125, 0.12);
  border-radius: 8px;
  color: #17355a;
  background: #f8fbff;
  font-size: 0.86rem;
  font-weight: 850;
}

.c-cookie-toggle input {
  width: 1rem;
  height: 1rem;
  accent-color: #006dff;
}

.c-cookie-toggle--disabled {
  opacity: 0.72;
}

.c-cookie-banner__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.c-cookie-banner__actions button {
  min-height: 2.65rem;
  border: 1px solid rgba(0, 109, 255, 0.22);
  border-radius: 999px;
  color: #075ecf;
  background: #ffffff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.c-cookie-banner__actions [data-cookie-save] {
  color: #ffffff;
  background: linear-gradient(135deg, #0054e9 0%, #087bff 100%);
  box-shadow: 0 10px 20px rgba(8, 92, 223, 0.22);
}

@media (min-width: 1080px) {
  .c-mobile-menu-toggle {
    display: none;
  }

  .c-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: clamp(0.45rem, 0.75vw, 0.9rem);
    color: #0a2348;
    font-size: 0.88rem;
  }

  .c-nav a {
    position: relative;
    opacity: 0.9;
    white-space: nowrap;
    transition: color 0.22s ease, opacity 0.22s ease;
  }

  .c-nav__flexoai {
    display: none;
  }

  .c-nav a:hover {
    color: #005fd8;
    opacity: 1;
  }

  .c-nav a[aria-current="page"] {
    color: #075ecf;
    font-weight: 700;
  }

  .c-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.82rem;
    width: 2.45rem;
    height: 0.22rem;
    border-radius: 999px;
    transform: translateX(-50%);
    background:
      radial-gradient(circle at 50% 50%, #006dff 0 0.23rem, transparent 0.25rem),
      linear-gradient(90deg, #006dff, #006dff);
    box-shadow: 0 0 10px rgba(5, 104, 224, 0.42);
  }

  .c-nav .c-language-switch a::after {
    content: none;
  }

  .l-header > .c-btn {
    min-width: auto;
    min-height: 3.35rem;
    padding: 0.6rem 0.78rem;
    color: #ffffff;
    border-color: rgba(73, 143, 255, 0.42);
    background: linear-gradient(135deg, #0054e9 0%, #087bff 100%);
    box-shadow: 0 12px 24px rgba(8, 92, 223, 0.24), 0 0 0 3px rgba(20, 217, 255, 0.18);
  }

  .c-logo {
    width: min(42vw, 13.5rem);
  }

  .l-footer {
    grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.4fr);
    align-items: center;
  }

  .c-footer-nav {
    justify-content: flex-end;
  }
}

@media (max-width: 1079px) {
  .l-header {
    gap: 0.7rem;
  }

  .l-header > .c-flexoai-trigger {
    display: none;
  }

  .c-logo {
    width: min(46vw, 13.2rem);
  }

  .c-nav {
    position: fixed;
    right: 1rem;
    left: auto;
    top: calc(5.6rem + 0.75rem);
    display: grid;
    gap: 0.35rem;
    width: min(22.5rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 7rem);
    padding: 0.72rem;
    overflow-y: auto;
    border: 1px solid rgba(17, 98, 214, 0.14);
    border-radius: 1.15rem;
    color: #0a2348;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 54px rgba(9, 74, 168, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.55rem) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .c-nav a,
  .c-nav__flexoai {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 3rem;
    padding: 0.68rem 0.85rem;
    border-radius: 0.7rem;
    border: 0;
    color: #0a2348;
    background: transparent;
    text-align: left;
    font-weight: 700;
  }

  .c-nav__flexoai {
    margin-top: 0.25rem;
    color: #ffffff;
    background: linear-gradient(135deg, #0054e9 0%, #087bff 100%);
    box-shadow: 0 12px 22px rgba(8, 92, 223, 0.22);
    cursor: pointer;
  }

  .c-nav .c-language-switch {
    margin: 0.25rem 0.2rem;
    justify-self: start;
  }

  .c-nav .c-language-switch a {
    min-height: 2rem;
    padding: 0 0.7rem;
  }

  .c-nav a[aria-current="page"],
  .c-nav a:hover {
    color: #075ecf;
    background: #eef6ff;
  }

  body.is-nav-open .c-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .c-logo {
    width: min(44vw, 12.4rem);
    height: auto;
  }

  .c-logo__img {
    width: 100%;
    transform: none;
  }
}

@media (max-width: 520px) {
  .l-header > .c-btn {
    display: none;
  }

  .c-logo {
    width: min(58vw, 12.2rem);
  }

  .c-flexoai-modal h2 {
    font-size: 1.7rem;
  }
}

/* Mobile QA guardrails shared by every public page. */
main :where(h1, h2, h3, h4, p, li, a, button, label, input, textarea) {
  overflow-wrap: break-word;
}

@media (max-width: 760px) {
  :root {
    --layout-page-gutter: var(--layout-mobile-gutter);
  }

  .l-container {
    width: min(100% - var(--layout-page-gutter), var(--layout-max-width));
  }
}

@media (max-width: 640px) {
  .l-container {
    width: min(100% - var(--layout-page-gutter), var(--layout-max-width));
  }

  .c-footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
  }

  .c-footer-nav a {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .c-footer-meta {
    align-items: flex-start;
  }

  .c-footer-legal {
    width: 100%;
  }

  .c-footer-social {
    width: 100%;
    justify-content: flex-start;
  }

  .c-cookie-banner {
    inset: auto 1rem 1rem;
  }

  .c-cookie-banner__panel {
    grid-template-columns: 1fr;
  }

  .c-cookie-banner.is-details-open .c-cookie-banner__panel {
    grid-template-columns: 1fr;
  }

  .c-cookie-banner__actions {
    grid-template-columns: 1fr;
  }

  .c-cookie-banner__summary-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .c-footer-nav {
    grid-template-columns: 1fr;
  }
}
