/* =========================================================
VARIABLES
========================================================= */

:root {
  --bg: #f5f4f0;
  --white: #ffffff;
  --surface: #eeece6;

  --dark: #0a0d10;
  --dark-2: #12161a;

  --accent: #1769aa;
  --accent-dark: #0f4f82;

  --text: #151719;
  --muted: #6d706f;

  --line: rgba(10,13,16,.10);

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;

  --container: 100%;

  --ease: cubic-bezier(.22,1,.36,1);
}

/* =========================================================
RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

/* =========================================================
CONTAINER
========================================================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-left: clamp(20px, 4vw, 20px);
  padding-right: clamp(20px, 4vw, 20px);
}

/* =========================================================
PRELOADER
========================================================= */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
      opacity .8s var(--ease),
      visibility .8s var(--ease);
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  color: white;
}

.loader-logo {
  margin-bottom: 24px;
}

.loader-logo img {
  width: 180px;
  max-height: 70px;
  object-fit: contain;
}

.loader-line {
  width: 180px;
  height: 2px;
  background: rgba(255,255,255,.14);
  overflow: hidden;
  border-radius: 50px;
}

.loader-line span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent);
  animation: loader 1.5s ease-in-out infinite;
}

@keyframes loader {
  0% {
      transform: translateX(-100%);
  }
  100% {
      transform: translateX(350%);
  }
}

/* =========================================================
HEADER
========================================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 20px 0;
  transition:
      background .35s ease,
      padding .35s ease;
}

.header.scrolled {
  background: rgba(245,244,240,.88);
  backdrop-filter: blur(18px);
  padding: 13px 0;
  box-shadow: 0 8px 30px rgba(10,13,16,.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
}

.logo img {
  width: 165px;
  max-height: 55px;
  object-fit: contain;
}

.menu-button {
  height: 48px;
  padding: 0 7px 0 18px;
  border: 1px solid var(--line);
  border-radius: 50px;
  background: rgba(255,255,255,.86);
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition:
      background .3s ease,
      color .3s ease,
      border-color .3s ease;
}

.menu-button:hover {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}

.menu-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dark);
  display: grid;
  place-content: center;
  gap: 5px;
  transition: background .3s ease;
}

.menu-button:hover .menu-icon {
  background: var(--accent);
}

.menu-icon span {
  display: block;
  width: 13px;
  height: 1px;
  background: white;
}

/* =========================================================
FULLSCREEN MENU
========================================================= */

.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 850;
  background: var(--dark);
  color: white;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition:
      opacity .45s ease,
      transform .55s var(--ease),
      visibility .45s;
}

.fullscreen-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-grid {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
  align-items: center;
  padding-top: 100px;
}

.menu-links {
  list-style: none;
}

.menu-links li {
  overflow: hidden;
}

.menu-links a {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(42px, 4vw, 76px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1.05;
  padding: 8px 0;
  transition:
      color .3s ease,
      transform .4s var(--ease);
}

.menu-links a:hover,
.menu-links a.active {
  color: var(--accent);
}

.menu-number {
  width: 34px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255,255,255,.35);
}

.menu-info {
  align-self: end;
  padding-bottom: 70px;
}

.menu-info-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 20px;
}

.menu-info h3 {
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  max-width: 430px;
}

.menu-info p {
  margin-top: 20px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  max-width: 450px;
}

/* =========================================================
LEGAL HERO
========================================================= */

.legal-hero {
  padding-top: 155px;
  padding-bottom: 85px;
}

.legal-hero-inner {
  max-width: 1050px;
  margin: 0 auto;
  padding: 80px clamp(30px, 6vw, 90px);
  background: var(--dark);
  color: white;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.legal-hero-inner::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -150px;
  bottom: -210px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.10);
}

.legal-hero-inner::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -70px;
  bottom: -130px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 10px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(23,105,170,.13);
}

.legal-hero h1 {
  margin-top: 30px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(55px, 7vw, 92px);
  line-height: .95;
  letter-spacing: -5px;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.legal-hero h1 span {
  color: #63a7d6;
}

.legal-hero > .container > .legal-hero-inner > p {
  max-width: 650px;
  margin-top: 28px;
  color: rgba(255,255,255,.68);
  font-size: 18px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.legal-date {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.40);
  font-size: 12px;
  position: relative;
  z-index: 2;
}

/* =========================================================
LEGAL CONTENT
========================================================= */

.legal-content {
  padding: 20px 0 110px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(50px, 8vw, 110px);
  max-width: 1120px;
  margin: 0 auto;
}

/* =========================================================
SIDEBAR
========================================================= */

.legal-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}

.sidebar-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 20px;
}

.legal-sidebar nav {
  display: flex;
  flex-direction: column;
}

.legal-sidebar a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  transition:
      color .25s ease,
      padding-left .3s var(--ease);
}

.legal-sidebar a:first-child {
  border-top: 1px solid var(--line);
}

.legal-sidebar a:hover {
  color: var(--accent);
  padding-left: 7px;
}

/* =========================================================
DOCUMENT
========================================================= */

.legal-document {
  min-width: 0;
}

.legal-section {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 28px;
  padding: 0 0 65px;
  margin-bottom: 65px;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.section-number {
  color: var(--accent);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
  padding-top: 7px;
}

.legal-section h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -1.8px;
  margin-bottom: 24px;
}

.legal-section p {
  max-width: 720px;
  color: #5e6261;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

/* =========================================================
HIGHLIGHT
========================================================= */

.highlight-box {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  padding: 25px;
  background: var(--surface);
  border-radius: var(--radius-md);
}

.highlight-box > svg {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  color: var(--accent);
}

.highlight-box strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
}

.highlight-box p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* =========================================================
COOKIE TYPES
========================================================= */

.cookie-types {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.cookie-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.45);
  transition:
      transform .35s var(--ease),
      background .3s ease,
      border-color .3s ease;
}

.cookie-card:hover {
  transform: translateY(-3px);
  background: white;
  border-color: rgba(23,105,170,.20);
}

.cookie-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--surface);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cookie-icon svg {
  width: 20px;
  height: 20px;
}

.cookie-card h3 {
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  margin-bottom: 7px;
}

.cookie-card p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
BROWSER NOTE
========================================================= */

.browser-note {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 30px;
  padding: 22px;
  border-left: 3px solid var(--accent);
  background: rgba(23,105,170,.055);
}

.browser-note svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.browser-note p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* =========================================================
CONTACT LINK
========================================================= */

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  padding: 15px 21px;
  border-radius: 50px;
  background: var(--dark);
  color: white;
  font-size: 14px;
  transition:
      transform .35s var(--ease),
      background .3s ease;
}

.contact-link:hover {
  transform: translateY(-3px);
  background: var(--accent);
}

.contact-link svg {
  width: 17px;
  height: 17px;
}

/* =========================================================
CTA
========================================================= */

.legal-cta {
  padding: 0 0 100px;
}

.cta-box {
  background: var(--accent);
  color: white;
  border-radius: var(--radius-xl);
  padding: 65px clamp(30px, 6vw, 85px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  right: -120px;
  top: -180px;
  border-radius: 50%;
  border: 70px solid rgba(255,255,255,.08);
}

.cta-label {
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  margin-bottom: 18px;
}

.cta-box h2 {
  position: relative;
  z-index: 2;
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px, 5vw, 65px);
  line-height: .98;
  letter-spacing: -3px;
  max-width: 700px;
}

.cta-box h2 span {
  display: block;
  color: rgba(255,255,255,.68);
}

.cta-box p {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
  max-width: 570px;
}

.btn {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 22px;
  border-radius: 50px;
  background: var(--dark);
  color: white;
  font-size: 14px;
  transition:
      transform .35s var(--ease),
      background .3s ease,
      color .3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  background: white;
  color: var(--dark);
}

.btn svg {
  width: 17px;
  height: 17px;
}

/* =========================================================
FOOTER
========================================================= */

footer {
  background: var(--dark);
  color: white;
  padding: 80px 0 35px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.7fr .7fr .7fr .7fr;
  gap: 80px;
  padding-bottom: 70px;
}

.footer-brand p {
  color: rgba(255,255,255,.48);
  max-width: 390px;
  line-height: 1.7;
  margin-top: 20px;
  font-size: 14px;
}

.footer-logo {
  width: 180px;
  max-height: 60px;
  object-fit: contain;
  object-position: left center;
}

.footer-column h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: rgba(255,255,255,.9);
  margin-bottom: 22px;
}

.footer-column a {
  display: block;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  margin-bottom: 13px;
  transition: color .3s ease;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: rgba(255,255,255,.30);
  font-size: 13px;
}

/* =========================================================
RESPONSIVE
========================================================= */

@media (max-width: 1000px) {
  .menu-grid {
      grid-template-columns: 1fr;
      align-items: start;
      padding-top: 140px;
  }

  .menu-info {
      padding-bottom: 40px;
  }

  .legal-layout {
      grid-template-columns: 1fr;
  }

  .legal-sidebar {
      position: relative;
      top: auto;
  }

  .legal-sidebar nav {
      display: grid;
      grid-template-columns: 1fr 1fr;
      column-gap: 25px;
  }

  .footer-top {
      grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
      grid-column: span 2;
  }

  .cta-box {
      align-items: flex-start;
      flex-direction: column;
  }
}

@media (max-width: 700px) {
  .container {
      padding-left: 14px;
      padding-right: 14px;
  }

  .header {
      padding: 15px 0;
  }

  .logo img {
      width: 155px;
      max-height: 48px;
  }

  .menu-button {
      height: 44px;
  }

  .menu-grid {
      display: block;
      padding-top: 125px;
  }

  .menu-links a {
      font-size: 42px;
      letter-spacing: -2px;
  }

  .menu-info {
      margin-top: 45px;
      padding-bottom: 0;
  }

  .menu-info h3 {
      font-size: 25px;
  }

  .legal-hero {
      padding-top: 95px;
      padding-bottom: 55px;
  }

  .legal-hero-inner {
      padding: 55px 25px;
      border-radius: 24px;
  }

  .legal-hero h1 {
      font-size: clamp(48px, 14vw, 68px);
      letter-spacing: -3px;
  }

  .legal-hero > .container > .legal-hero-inner > p {
      font-size: 16px;
  }

  .legal-content {
      padding-bottom: 80px;
  }

  .legal-sidebar nav {
      grid-template-columns: 1fr;
  }

  .legal-section {
      grid-template-columns: 1fr;
      gap: 12px;
      padding-bottom: 45px;
      margin-bottom: 45px;
  }

  .section-number {
      padding-top: 0;
  }

  .legal-section h2 {
      font-size: 30px;
      letter-spacing: -1.3px;
  }

  .legal-section p {
      font-size: 15px;
      line-height: 1.75;
  }

  .cookie-card {
      padding: 20px;
      gap: 15px;
  }

  .highlight-box {
      padding: 20px;
  }

  .legal-cta {
      padding-bottom: 70px;
  }

  .cta-box {
      padding: 45px 28px;
      border-radius: 24px;
  }

  .cta-box h2 {
      font-size: 43px;
      letter-spacing: -2.5px;
  }

  .cta-box .btn {
      width: 100%;
      justify-content: center;
  }

  .footer-top {
      grid-template-columns: 1fr;
      gap: 45px;
  }

  .footer-brand {
      grid-column: auto;
  }

  .footer-bottom {
      flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
      scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
  }
}