
/* ==========================================================
   CLARITENOTE LEGAL V2
   Privacy Policy + Terms of Service
   Matches current ClariteNote public/auth design.
   ========================================================== */

:root {
  --cn-legal-navy: #073047;
  --cn-legal-ink: #172026;
  --cn-legal-text: #53656d;
  --cn-legal-muted: #7c8b90;

  --cn-legal-bg: #f6f8f7;
  --cn-legal-card: #ffffff;
  --cn-legal-soft: #eef3f1;

  --cn-legal-border: #d9e2df;
  --cn-legal-border-soft: #e7ecea;

  --cn-legal-black: #171b1d;

  --cn-legal-shadow:
    0 24px 60px rgba(28, 44, 48, 0.07);
}


/* ==========================================================
   FOUNDATION
   ========================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  margin: 0;

  background: var(--cn-legal-bg);

  color: var(--cn-legal-ink);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.7;

  -webkit-font-smoothing: antialiased;
}


/* ==========================================================
   NAV
   ========================================================== */

.nav {
  position: sticky;

  top: 0;

  z-index: 100;

  width: 100%;

  min-height: 72px;

  padding: 0 28px;

  display: flex;

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

  gap: 24px;

  border-bottom:
    1px solid var(--cn-legal-border-soft);

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

  backdrop-filter:
    blur(14px);

  -webkit-backdrop-filter:
    blur(14px);
}


.nav-logo {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: var(--cn-legal-navy);

  text-decoration: none;

  font-size: 20px;

  font-weight: 760;

  letter-spacing: -0.6px;
}


.nav-logo img {
  display: block;

  width: 34px !important;

  height: 38px !important;

  border-radius: 0 !important;

  object-fit: contain;

  filter: none !important;
}


.nav-back {
  min-height: 39px;

  padding: 0 13px;

  display: inline-flex;

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

  gap: 7px;

  border:
    1px solid var(--cn-legal-border);

  border-radius: 10px;

  background: #ffffff;

  color: #344f57;

  text-decoration: none;

  font-size: 11px;

  font-weight: 680;

  transition:
    border-color .15s ease,
    background .15s ease,
    transform .15s ease;
}


.nav-back:hover {
  border-color: #bdcbc7;

  background: #fafcfc;

  color: var(--cn-legal-navy);

  transform: translateX(-1px);
}


/* ==========================================================
   DOCUMENT
   ========================================================== */

.wrap {
  width: calc(100% - 40px);

  max-width: 920px;

  margin: 46px auto 80px;

  padding: 52px 60px 58px;

  border:
    1px solid var(--cn-legal-border);

  border-radius: 18px;

  background: var(--cn-legal-card);

  box-shadow: var(--cn-legal-shadow);
}


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

.page-badge {
  width: fit-content;

  margin: 0 0 17px;

  padding: 6px 10px;

  display: inline-flex;

  align-items: center;

  border:
    1px solid #d7e2de;

  border-radius: 999px;

  background: var(--cn-legal-soft);

  color: #526d66;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: .09em;

  text-transform: uppercase;
}


h1 {
  max-width: 760px;

  margin: 0 0 10px;

  color: var(--cn-legal-navy);

  font-size: clamp(34px, 4.5vw, 46px);

  line-height: 1.06;

  font-weight: 770;

  letter-spacing: -2px;
}


.updated {
  margin: 0 0 34px;

  color: var(--cn-legal-muted);

  font-size: 11px;

  line-height: 1.5;
}


/* ==========================================================
   NOTICE BOX
   ========================================================== */

.notice-box {
  margin: 0 0 38px;

  padding: 18px 20px;

  border:
    1px solid #d6e3de;

  border-radius: 12px;

  background: #eef4f1;

  color: #415b54;

  font-size: 12px;

  line-height: 1.65;
}


.notice-box strong {
  color: #294f45;

  font-weight: 750;
}


/* ==========================================================
   TYPOGRAPHY
   ========================================================== */

h2 {
  margin: 42px 0 10px;

  color: var(--cn-legal-navy);

  font-size: 20px;

  line-height: 1.3;

  font-weight: 750;

  letter-spacing: -.45px;
}


h3 {
  margin: 25px 0 7px;

  color: #29444d;

  font-size: 14px;

  line-height: 1.4;

  font-weight: 720;
}


p {
  margin: 0 0 12px;

  color: var(--cn-legal-text);

  font-size: 13px;

  line-height: 1.72;
}


ul {
  margin: 0 0 18px;

  padding-left: 21px;
}


ul li {
  margin: 0 0 7px;

  padding-left: 3px;

  color: var(--cn-legal-text);

  font-size: 13px;

  line-height: 1.67;
}


strong {
  font-weight: 720;

  color: #344d55;
}


/* ==========================================================
   LINKS
   ========================================================== */

a {
  color: #294f59;

  text-decoration-thickness: 1px;

  text-underline-offset: 3px;
}


a:hover {
  color: var(--cn-legal-navy);
}


/* ==========================================================
   DIVIDER
   ========================================================== */

.divider {
  margin: 46px 0;

  border: 0;

  border-top:
    1px solid var(--cn-legal-border-soft);
}


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

.contact-card {
  margin-top: 42px;

  padding: 21px 22px;

  border:
    1px solid var(--cn-legal-border);

  border-radius: 12px;

  background: #f8faf9;
}


.contact-card h3 {
  margin-top: 0 !important;

  margin-bottom: 8px;
}


.contact-card p {
  margin-bottom: 4px;

  font-size: 12px;
}


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

@media (max-width: 700px) {

  .nav {
    min-height: 65px;

    padding:
      0 16px;
  }


  .nav-logo {
    font-size:
      18px;
  }


  .nav-logo img {
    width:
      30px !important;

    height:
      34px !important;
  }


  .nav-back {
    min-height:
      36px;

    padding:
      0 10px;

    font-size:
      10px;
  }


  .wrap {
    width:
      calc(100% - 24px);

    margin:
      24px auto 42px;

    padding:
      32px 23px 36px;

    border-radius:
      15px;
  }


  h1 {
    font-size:
      34px;

    letter-spacing:
      -1.5px;
  }


  h2 {
    margin-top:
      34px;
  }


  .notice-box {
    padding:
      15px 16px;
  }

}


/* END CLARITENOTE LEGAL V2 */
