@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

/* Local Cyrillic companions keep Russian pages fast and independent of Google Fonts. */
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/nimbus-sans-cyrillic.woff") format("woff");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F, U+20B4, U+2116;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/nimbus-roman-cyrillic.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F, U+20B4, U+2116;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/nimbus-roman-cyrillic-italic.woff") format("woff");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F, U+20B4, U+2116;
}

/* ==============================
   COLORS
============================== */

:root {

  --navy: #141e30;
  --navy-deep: #0c1421;
  --navy-soft: #1b2a40;

  --blue: #35577d;
  --blue-medium: #58789a;
  --blue-light: #a6b9cb;

  --off-white: #f5f6f7;
  --soft: #e8edf1;
  --soft-blue: #dce5ec;

  --white: #ffffff;

  --text: #202c3a;
  --muted: #687686;

  --line: #c5ced6;

}


/* ==============================
   RESET
============================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}


body {

  font-family: "DM Sans", Arial, sans-serif;

  background: var(--off-white);

  color: var(--text);

  line-height: 1.6;

}


a {
  text-decoration: none;
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #7ba4ca;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-160%);
  background: white;
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.skip-link:focus {
  transform: translateY(0);
}


button,
input,
textarea,
select {
  font: inherit;
}


img {
  display: block;
  max-width: 100%;
}


.container {

  width: min(
    1180px,
    calc(100% - 48px)
  );

  margin: 0 auto;

}


/* ==============================
   TYPOGRAPHY
============================== */

.eyebrow,
.section-label {

  font-size: 11px;

  letter-spacing: 2.8px;

  text-transform: uppercase;

}


.eyebrow {
  color: var(--blue-medium);
}


.section-label {
  color: var(--muted);
}


.section-label.light {
  color: var(--blue-light);
}


h1,
h2,
h3 {

  font-family: "Playfair Display", serif;

  font-weight: 500;

}


h2 {

  font-size: clamp(
    44px,
    5vw,
    72px
  );

  line-height: 1.05;

  letter-spacing: -2px;

  color: var(--navy);

}


h2 em {

  font-weight: 500;

  color: var(--blue);

}


/* ==============================
   BUTTONS
============================== */

.button {

  display: inline-block;

  padding: 15px 25px;

  font-size: 14px;

  transition: 0.25s ease;

}


.button-primary {

  background: var(--navy);

  color: white;

}


.button-primary:hover {
  background: var(--blue);
}


.button-light {

  background: white;

  color: var(--navy);

}


.button-light:hover {
  background: var(--soft);
}


.text-link {

  display: inline-block;

  padding-bottom: 3px;

  border-bottom:
    1px solid var(--blue-light);

  color: var(--blue);

  font-size: 14px;

  transition: 0.2s;

}


.text-link:hover {

  color: var(--navy);

  border-color: var(--navy);

}


/* ==============================
   NAVIGATION
============================== */

.site-header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 30;

  transform: translateY(0);

  transition:
    transform 0.28s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;

  will-change: transform;
}

/* Hidden while scrolling down */

.site-header.nav-hidden {
  transform: translateY(calc(-100% - 2px));
}


/* Background after leaving the hero’s top */

.site-header.is-scrolled {
  background: rgba(12, 20, 33, 0.94);

  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);

  box-shadow:
    0 8px 30px
    rgba(0, 0, 0, 0.12);
}


/* Ensures everything remains visible
   when the navbar is over a light section */

.site-header.is-scrolled .desktop-nav a {
  color: rgba(255, 255, 255, 0.70);
}

.site-header.is-scrolled .desktop-nav a:hover,
.site-header.is-scrolled .desktop-nav a.active {
  color: white;
}

.site-header.is-scrolled .language-switcher {
  color: rgba(255, 255, 255, 0.72);
}

.site-header.is-scrolled .language-switcher a:hover,
.site-header.is-scrolled .language-switcher a[aria-current="page"] {
  color: white;
}

.site-header.is-scrolled .nav-button {
  color: white;

  border-color:
    rgba(255, 255, 255, 0.65);
}

.site-header.is-scrolled .menu-button {
  color: white;
}

.site-header.is-scrolled .logo img {
  filter:
    brightness(0)
    invert(1);
}

.nav-container {

  height: 100px;

  display: flex;

  justify-content: space-between;
  align-items: center;

}


/* SIGNATURE LOGO */

.logo {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 50px;
  height: 50px;
}

.logo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}


/* BLACK PNG BECOMES WHITE
   WHEN NAV IS ON DARK BACKGROUND */

.dark-page
.logo.signature-logo img {

  filter:
    brightness(0)
    invert(1);

}


.desktop-nav {

  display: flex;

  align-items: center;

  gap: 34px;

}


.desktop-nav a {

  font-size: 14px;

  color: var(--muted);

  transition: 0.2s;

}


.desktop-nav a:hover,
.desktop-nav a.active {

  color: var(--navy);

}


.nav-button {

  padding: 12px 21px;

  border:
    1px solid var(--navy);

  font-size: 13px;

  transition: 0.2s;

}


.nav-button:hover {

  background: var(--navy);

  color: white;

}


.menu-button {
  position: relative;

  display: none;

  width: 44px;
  height: 44px;
  flex: 0 0 44px;

  padding: 0;
  border: 0;

  background: transparent;
  color: var(--navy);

  font-size: 0; /* hides the ☰ character */

  cursor: pointer;
}


/* Draw the three fixed lines */

.menu-button::before {
  content: "";

  position: absolute;
  top: 14px;
  left: 11px;

  width: 22px;
  height: 2px;

  background: currentColor;

  box-shadow:
    0 7px 0 currentColor,
    0 14px 0 currentColor;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-button.is-open::before {
  top: 21px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 currentColor;
}

.menu-button.is-open::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 11px;
  width: 22px;
  height: 2px;
  background: currentColor;
  transform: rotate(-45deg);
}


.dark-page .menu-button {
  color: white;
}





.mobile-nav {
  display: none;
}

/* ==========================
  MICRO TESTIMONIAL
  ==========================*/
.micro-testimonial-section {
  width: 100%;
  background: #eef2f6;
  padding: 70px 30px;
}

.micro-testimonial {
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.micro-testimonial-stars {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  color: #456b94;
}

.micro-testimonial blockquote {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.45;
  font-style: italic;
}

.micro-testimonial span {
  font-size: 0.85rem;
  opacity: 0.65;
}

.micro-testimonial a {
  color: #456b94;
}
/* DARK HERO NAVIGATION */

.dark-page .desktop-nav a {

  color:
    rgba(255, 255, 255, 0.68);

}


.dark-page .desktop-nav a:hover,
.dark-page .desktop-nav a.active {

  color: white;

}


.dark-page .nav-button {

  color: white;

  border-color:
    rgba(255,255,255,0.65);

}


.dark-page .nav-button:hover {

  background: white;

  color: var(--navy);

}


.dark-page .menu-button {
  color: white;
}


/* ==============================
   FOOTER
============================== */

footer {

  background: var(--navy-deep);

  color: #dbe4eb;

  padding: 55px 0;

}


.footer-grid {

  display: grid;

  grid-template-columns:
    2fr 1fr;

  align-items: end;

}


footer strong {

  font-family:
    "Playfair Display",
    serif;

  font-size: 19px;

  font-weight: 500;

}


footer p {

  color: #8797a8;

  font-size: 13px;

  margin-top: 5px;

}


.footer-links {

  display: flex;

  flex-wrap: wrap;

  justify-content: flex-end;

  gap: 25px;

  font-size: 13px;

}


/* ==============================
   TABLET / MOBILE NAV
============================== */

@media (max-width: 850px) {
  .menu-button {
    display: block;
  }
  
  .container {

    width:
      min(
        100% - 32px,
        1180px
      );

  }


  .desktop-nav,
  .nav-button {

    display: none;

  }


  .menu-button {

    display: block;

  }


  .logo.signature-logo img {

    width: 145px;

  }


  .mobile-nav {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    padding: 30px 32px 38px;

    background: var(--navy-deep);

    flex-direction: column;
    gap: 20px;

    box-shadow:
      0 18px 30px rgba(0, 0, 0, 0.16);

    border-top:
      1px solid rgba(255, 255, 255, 0.10);
  }

  .mobile-nav.open {
    display: flex;
  }

  .mobile-nav a {
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
  }

  .mobile-nav a:hover,
  .mobile-nav a.active {
    color: white;
  }


  .footer-grid {

    grid-template-columns: 1fr;

    gap: 28px;

  }


  .footer-links {

    justify-content:
      flex-start;

  }

}

/* Language and privacy controls */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: 1px;
}

.dark-page .language-switcher { color: rgba(255, 255, 255, 0.72); }
.language-switcher a[aria-current="page"] { font-weight: 600; }

.footer-links button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.consent-banner {
  position: fixed;
  z-index: 1000;
  right: 22px;
  bottom: 22px;
  left: 22px;
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
  border: 1px solid rgba(88, 120, 154, 0.35);
  background: #fff;
  color: var(--text);
  box-shadow: 0 18px 60px rgba(12, 20, 33, 0.25);
}

.consent-banner__copy strong {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
}

.consent-banner__copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.consent-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 14px;
}

.consent-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  cursor: pointer;
}

.consent-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

.consent-privacy-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 178px;
}

.consent-action {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--navy);
  background: white;
  color: var(--navy);
  font-size: 12px;
  cursor: pointer;
}

.consent-action--primary,
.consent-action[data-consent="necessary"],
.consent-action:hover {
  background: var(--navy);
  color: white;
}

.external-media-placeholder {
  min-height: 520px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #edf2f5, #dce6ed);
  color: var(--navy);
  text-align: center;
}

.external-media-placeholder strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
}

.external-media-placeholder p {
  max-width: 280px;
  color: var(--muted);
  font-size: 13px;
}

.external-media-placeholder button {
  margin-top: 10px;
  padding: 12px 18px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: white;
  cursor: pointer;
}

.external-media-placeholder a { color: var(--blue); font-size: 12px; }

.mobile-trial-cta {
  display: none;
}

@media (max-width: 850px) {
  .nav-container > .language-switcher { display: none; }
  .consent-banner { grid-template-columns: 1fr; gap: 18px; }
  .consent-banner__actions { flex-direction: row; flex-wrap: wrap; }
  .consent-action { width: auto; flex: 1 1 170px; }

  .mobile-trial-cta {
    position: fixed;
    z-index: 25;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 16px;
    display: block;
    max-width: 440px;
    margin: 0 auto;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: rgba(12, 20, 33, 0.96);
    color: white;
    box-shadow: 0 14px 42px rgba(7, 17, 31, 0.28);
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 30px));
    transition: opacity 0.24s ease, transform 0.24s ease;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .mobile-trial-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.mobile-menu-open .mobile-trial-cta,
  body.consent-open .mobile-trial-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 30px));
  }
}

@media (max-width: 520px) {
  .consent-banner { right: 12px; bottom: 12px; left: 12px; padding: 19px; }
  .consent-banner__actions,
  .consent-action { width: 100%; }
  .external-media-placeholder { min-height: 440px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
