* {
  box-sizing: border-box;
}

:root {
  --bg: #06101d;
  --bg2: #0a1728;

  --card: rgba(14, 29, 48, 0.78);
  --card2: rgba(17, 35, 57, 0.9);

  --text: #f4f7fb;
  --muted: #9cadc2;

  --line: rgba(255, 255, 255, 0.1);

  --accent: #6ee7d8;
  --accent2: #7aa7ff;

  --shadow:
    0 24px 80px rgba(0, 0, 0, 0.28);

  --radius: 26px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;

  background:
    radial-gradient(
      circle at 50% -10%,
      #173257 0,
      #081424 34%,
      #06101d 72%
    );

  color: var(--text);

  font-family:
    "DM Sans",
    system-ui,
    sans-serif;

  line-height: 1.72;
}

body::before {
  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    );

  background-size: 48px 48px;

  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 80%
    );

  z-index: -2;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(
    1160px,
    calc(100% - 40px)
  );

  margin: auto;
}


/* =========================================================
   AMBIENT BACKGROUND
========================================================= */

.ambient {
  position: fixed;

  width: 420px;
  height: 420px;

  border-radius: 50%;

  filter: blur(90px);

  opacity: 0.12;

  pointer-events: none;

  z-index: -1;
}

.ambient-one {
  background: #45e0d0;

  top: 100px;
  left: -220px;
}

.ambient-two {
  background: #648cff;

  right: -240px;
  top: 480px;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: sticky;

  top: 0;

  z-index: 100;

  background:
    rgba(6, 16, 29, 0.82);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border-bottom:
    1px solid var(--line);
}

.nav {
  height: 76px;

  display: flex;

  align-items: center;

  justify-content: space-between;
}


/* =========================================================
   BRAND / LOGO
========================================================= */

.brand {
  display: inline-flex;

  align-items: center;

  gap: 11px;

  text-decoration: none;

  font-family: Manrope, sans-serif;

  font-weight: 800;

  font-size: 19px;

  letter-spacing: -0.03em;

  line-height: 1;
}


/*
   IMPORTANT:
   The logo is strictly constrained to the
   header. It cannot expand over the page.
*/

.brand-mark {
  width: 42px !important;
  height: 42px !important;

  min-width: 42px !important;
  max-width: 42px !important;

  min-height: 42px !important;
  max-height: 42px !important;

  flex: 0 0 42px !important;

  display: flex !important;

  align-items: center;
  justify-content: center;

  position: relative;

  overflow: hidden;

  border-radius: 10px;
}

.brand-mark img {
  width: 42px !important;
  height: 42px !important;

  min-width: 0 !important;
  min-height: 0 !important;

  max-width: 42px !important;
  max-height: 42px !important;

  display: block !important;

  position: static !important;

  object-fit: contain !important;
  object-position: center;

  margin: 0 !important;
  padding: 0 !important;
}

.brand-name {
  white-space: nowrap;
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav-actions {
  display: flex;

  gap: 10px;

  align-items: center;
}

.lang-btn,
.contact-btn {
  font: inherit;

  border:
    1px solid var(--line);

  border-radius: 12px;

  padding: 9px 14px;

  text-decoration: none;

  background:
    rgba(255, 255, 255, 0.045);

  color: var(--text);

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.lang-btn:hover,
.contact-btn:hover {
  transform: translateY(-1px);
}

.lang-btn {
  position: relative;

  z-index: 101;
}

.contact-btn {
  position: relative;

  z-index: 101;

  background: var(--text);

  color: #07111f;

  border-color: transparent;

  font-weight: 700;

  pointer-events: auto;
}

.contact-btn:active {
  transform: translateY(0);
}


/* =========================================================
   HERO
========================================================= */

.hero {
  padding: 105px 0 76px;

  max-width: 920px;
}

.eyebrow {
  display: flex;

  align-items: center;

  gap: 9px;

  text-transform: uppercase;

  letter-spacing: 0.14em;

  font-size: 12px;

  color: var(--accent);

  font-weight: 800;
}

.eyebrow span {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--accent);

  box-shadow:
    0 0 20px var(--accent);
}

h1,
h2,
h3 {
  font-family: Manrope, sans-serif;

  letter-spacing: -0.045em;

  line-height: 1.12;
}

h1 {
  font-size:
    clamp(50px, 8vw, 88px);

  margin: 18px 0 20px;
}

.hero-copy {
  font-size: 20px;

  color: var(--muted);

  max-width: 760px;

  margin: 0 0 22px;
}

.updated {
  display: inline-flex;

  padding: 7px 12px;

  border-radius: 999px;

  background:
    rgba(110, 231, 216, 0.08);

  color: #bceee8;

  font-size: 13px;

  font-weight: 600;
}


/* =========================================================
   POLICY LAYOUT
========================================================= */

.policy {
  display: grid;

  grid-template-columns:
    245px 1fr;

  gap: 34px;

  align-items: start;

  padding-bottom: 90px;
}


/* =========================================================
   TABLE OF CONTENTS
========================================================= */

.toc {
  position: sticky;

  top: 100px;
}

.toc-card {
  padding: 20px;

  border:
    1px solid var(--line);

  background:
    rgba(10, 23, 40, 0.72);

  border-radius: 20px;
}

.toc-title {
  font-weight: 800;

  font-family: Manrope, sans-serif;

  margin-bottom: 12px;
}

.toc a {
  display: block;

  text-decoration: none;

  color: var(--muted);

  font-size: 13px;

  padding: 7px 0;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.toc a:hover {
  color: var(--text);

  transform:
    translateX(3px);
}


/* =========================================================
   CONTENT CARDS
========================================================= */

.content {
  min-width: 0;
}

.card {
  background:
    linear-gradient(
      145deg,
      rgba(18, 36, 58, 0.88),
      rgba(9, 22, 38, 0.88)
    );

  border:
    1px solid var(--line);

  border-radius:
    var(--radius);

  padding: 34px;

  margin-bottom: 18px;

  box-shadow:
    var(--shadow);

  scroll-margin-top: 100px;
}

.card h2 {
  font-size: 30px;

  margin:
    6px 0 18px;
}

.card p {
  color: #b7c4d4;

  margin:
    0 0 18px;
}

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


/* =========================================================
   OVERVIEW
========================================================= */

.intro-card {
  display: grid;

  grid-template-columns:
    52px 1fr;

  gap: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(41, 74, 99, 0.5),
      rgba(10, 25, 43, 0.9)
    );
}

.icon {
  width: 52px;
  height: 52px;

  border-radius: 16px;

  display: grid;

  place-items: center;

  background:
    rgba(110, 231, 216, 0.1);

  color: var(--accent);

  font-size: 23px;
}


/* =========================================================
   SECTION NUMBERS
========================================================= */

.section-kicker {
  font-size: 11px;

  color: var(--accent);

  font-weight: 900;

  letter-spacing: 0.16em;
}


/* =========================================================
   DATA PANELS
========================================================= */

.data-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 16px;

  margin-top: 26px;
}

.data-panel {
  padding: 24px;

  border-radius: 20px;

  background:
    rgba(255, 255, 255, 0.035);
}

.data-panel.local {
  box-shadow:
    inset 3px 0 0 #6ee7d8;
}

.data-panel.remote {
  box-shadow:
    inset 3px 0 0 #7aa7ff;
}

.panel-label {
  font-weight: 800;

  font-family: Manrope, sans-serif;
}

.dot {
  display: inline-block;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background:
    var(--accent);

  margin-right: 8px;
}

.remote .dot {
  background:
    var(--accent2);
}

.panel-sub {
  font-size: 13px !important;

  color: #8092a9 !important;

  margin-top: 3px !important;
}

ul {
  padding-left: 20px;

  color: #b7c4d4;
}

.data-panel li {
  margin: 9px 0;

  font-size: 14px;
}

.clean-list li {
  margin: 11px 0;
}


/* =========================================================
   FEATURES
========================================================= */

.feature-list {
  display: grid;

  gap: 10px;
}

.feature {
  padding: 18px 20px;

  background:
    rgba(255, 255, 255, 0.035);

  border-radius: 17px;

  display: grid;

  gap: 4px;
}

.feature b {
  font-family: Manrope, sans-serif;
}

.feature span {
  color: #9eafc3;

  font-size: 14px;
}


/* =========================================================
   INFORMATION CALLOUT
========================================================= */

.info-callout {
  margin-top: 18px;

  padding: 20px;

  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(110, 231, 216, 0.08),
      rgba(122, 167, 255, 0.06)
    );
}

.info-callout strong {
  display: block;

  font-family: Manrope, sans-serif;

  margin-bottom: 5px;
}

.info-callout p {
  font-size: 14px;

  margin: 0;
}


/* =========================================================
   PERMISSIONS
========================================================= */

.permission-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 12px;
}

.permission-grid div {
  padding: 20px;

  background:
    rgba(255, 255, 255, 0.035);

  border-radius: 17px;
}

.permission-grid span {
  display: block;

  color: #9eafc3;

  font-size: 13px;

  margin-top: 5px;
}

.note {
  font-size: 13px !important;

  color: #91a3b9 !important;

  margin-top: 18px !important;
}


/* =========================================================
   THIRD PARTY SDK DISCLOSURE
========================================================= */

.sdk-disclosure {
  padding: 24px;

  margin:
    24px 0 16px;

  border-radius: 20px;

  background:
    linear-gradient(
      135deg,
      rgba(122, 167, 255, 0.09),
      rgba(110, 231, 216, 0.06)
    );
}

.sdk-heading {
  font-family: Manrope, sans-serif;

  font-weight: 800;

  font-size: 18px;

  margin-bottom: 12px;
}

.sdk-disclosure p {
  font-size: 14px;

  color: #aebdce;
}


/* =========================================================
   SERVICE DETAILS
========================================================= */

.service-detail {
  display: grid;

  grid-template-columns:
    54px 1fr;

  gap: 18px;

  padding: 24px;

  margin-top: 12px;

  border-radius: 20px;

  background:
    rgba(255, 255, 255, 0.035);
}

.service-number {
  width: 44px;
  height: 44px;

  display: grid;

  place-items: center;

  border-radius: 14px;

  background:
    rgba(110, 231, 216, 0.08);

  color: var(--accent);

  font-size: 12px;

  font-weight: 900;

  font-family: Manrope, sans-serif;
}

.service-detail h3 {
  font-size: 20px;

  margin:
    0 0 10px;
}

.service-detail p {
  font-size: 14px;

  color: #aebdce;
}

.service-link {
  display: inline-block;

  color: var(--accent);

  font-size: 13px;

  font-weight: 700;

  text-decoration: none;

  margin-top: 3px;
}

.service-link:hover {
  text-decoration: underline;
}

.service-links {
  display: flex;

  flex-wrap: wrap;

  gap: 16px;
}


/* =========================================================
   RETENTION
========================================================= */

.retention {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 12px;
}

.retention > div {
  padding: 20px;

  background:
    rgba(255, 255, 255, 0.035);

  border-radius: 17px;
}

.retention b {
  font-family: Manrope, sans-serif;
}

.retention p {
  font-size: 14px;

  margin-top: 7px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-card {
  background:
    linear-gradient(
      135deg,
      rgba(37, 81, 100, 0.72),
      rgba(19, 40, 68, 0.82)
    );
}

.email {
  display: inline-block;

  font-weight: 800;

  font-family: Manrope, sans-serif;

  text-decoration: none;

  color: var(--accent);

  font-size: 18px;
}

.email:hover {
  text-decoration: underline;
}

.contact-note {
  margin-top: 18px;

  color: #91a3b9;

  font-size: 13px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  border-top:
    1px solid var(--line);

  padding: 30px 0;

  background:
    rgba(3, 10, 18, 0.5);
}

.footer-inner {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  color: #778aa1;

  font-size: 12px;
}

.footer-brand {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 5px;
}

.footer-brand strong {
  color: #dce6f2;

  margin-right: 5px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

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

  .toc {
    display: none;
  }

  .hero {
    padding-top: 75px;
  }

  .data-grid,
  .permission-grid,
  .retention {
    grid-template-columns:
      1fr 1fr;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

  .shell {
    width:
      min(
        calc(100% - 28px),
        1160px
      );
  }


  .nav {
    height: 68px;
  }


  .brand {
    font-size: 17px;
  }


  .brand-mark {
    width: 38px !important;
    height: 38px !important;

    min-width: 38px !important;
    max-width: 38px !important;

    min-height: 38px !important;
    max-height: 38px !important;

    flex-basis: 38px !important;
  }


  .brand-mark img {
    width: 38px !important;
    height: 38px !important;

    max-width: 38px !important;
    max-height: 38px !important;
  }


  .nav-actions {
    gap: 7px;
  }


  .lang-btn,
  .contact-btn {
    padding:
      8px 11px;

    font-size: 13px;
  }


  .hero {
    padding:
      65px 0 48px;
  }


  .hero-copy {
    font-size: 17px;
  }


  h1 {
    font-size: 48px;
  }


  .card {
    padding: 24px;

    border-radius: 21px;
  }


  .data-grid,
  .permission-grid,
  .retention {
    grid-template-columns: 1fr;
  }


  .service-detail {
    grid-template-columns: 1fr;

    gap: 12px;
  }


  .service-number {
    width: 40px;
    height: 40px;
  }


  .service-links {
    flex-direction: column;

    gap: 8px;
  }


  .footer-inner {
    flex-direction: column;
  }

}