
/* ==========================================
   WEBBY — PRIVACY POLICY
   Premium Editorial Design
========================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --forest: #173d32;
  --deep: #102d26;
  --sage: #c3d5bd;
  --cream: #f7f6ef;
  --ink: #203a30;
  --muted: #66766d;
  --line: #dce4d8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, p {
  margin-top: 0;
}

a:focus-visible {
  outline: 3px solid #a4c98f;
  outline-offset: 4px;
}

/* HEADER */

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  padding: 28px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: white;
}

.brand {
  font-family: 'Manrope', sans-serif;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -2px;
}

.brand span {
  color: var(--sage);
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.site-header nav a {
  font-size: 14px;
  font-weight: 600;
  transition: color .25s;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--sage);
}

/* HERO */

.privacy-hero {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 24px 105px;
  overflow: hidden;
  isolation: isolate;
  color: white;
  text-align: center;
  background:
    radial-gradient(
      ellipse at 75% 30%,
      rgba(119,164,123,.25),
      transparent 48%
    ),
    linear-gradient(
      135deg,
      #102d26,
      #245747 75%,
      #173d32
    );
}

.privacy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    radial-gradient(
      rgba(255,255,255,.45) .7px,
      transparent .7px
    );
  background-size: 25px 25px;
}

.privacy-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -230px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  animation: heroEnter .9s ease both;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sage);
}

.privacy-hero h1 {
  margin: 26px 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(46px, 7vw, 90px);
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 1.1;
}

.privacy-hero h1 em {
  display: block;
  font-style: normal;
  color: var(--sage);
}

.privacy-hero p {
  max-width: 570px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,.8);
  font-size: 17px;
  line-height: 1.8;
}

.updated {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px;
  color: rgba(255,255,255,.8);
  font-size: 12px;
}

/* PRIVACY CONTENT */

.privacy-section {
  padding: 100px 7% 120px;
}

.privacy-layout {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 85px;
  align-items: start;
}

/* STICKY SIDEBAR */

.privacy-sidebar {
  position: sticky;
  top: 35px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 35px rgba(23,61,50,.04);
}

.sidebar-label {
  display: block;
  margin-bottom: 22px;
  color: #62836c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.privacy-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.privacy-sidebar nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #53675b;
  font-size: 13px;
  line-height: 1.5;
  transition: background .2s, color .2s;
}

.privacy-sidebar nav a:hover,
.privacy-sidebar nav a:focus-visible {
  background: #e9f1e5;
  color: var(--forest);
}

/* POLICY SECTIONS */

.privacy-content {
  min-width: 0;
}

.policy-block {
  padding: 0 0 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 35px;
}

.policy-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section-number {
  display: inline-block;
  margin-bottom: 18px;
  color: #659477;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.policy-block h2 {
  margin-bottom: 25px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.2;
}

.policy-block h3 {
  margin: 28px 0 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 19px;
  letter-spacing: -.5px;
}

.policy-block p,
.policy-block li {
  color: #52665a;
  font-size: 16px;
  line-height: 1.95;
}

.policy-block p {
  margin-bottom: 20px;
}

.policy-block ul {
  padding-left: 25px;
  margin: 0 0 24px;
}

.policy-block li {
  padding-left: 5px;
  margin-bottom: 10px;
}

.policy-block li::marker {
  color: #6b9b76;
}

.email-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--forest);
  font-size: clamp(18px, 2.5vw, 25px);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.email-link:hover {
  color: #5c9070;
}

/* CLOSING SECTION */

.privacy-closing {
  padding: 105px 24px;
  background: var(--forest);
  color: white;
  text-align: center;
}

.privacy-closing h2 {
  margin: 22px 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing: -2px;
}

.privacy-closing p {
  max-width: 530px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,.75);
  font-size: 16px;
  line-height: 1.8;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 100px;
  background: var(--sage);
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
  transition: background .25s, transform .25s;
}

.button:hover {
  background: white;
  transform: translateY(-3px);
}

/* FOOTER */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 45px 7%;
  background: var(--deep);
  color: white;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: rgba(255,255,255,.75);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--sage);
}

.site-footer small {
  color: rgba(255,255,255,.6);
  font-size: 12px;
}

/* ANIMATIONS */

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TABLET */

@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .privacy-sidebar {
    position: static;
  }

  .privacy-sidebar nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-section {
    padding: 75px 6% 95px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .site-header {
    padding: 22px 5%;
    flex-direction: column;
    gap: 15px;
  }

  .site-header nav {
    justify-content: center;
    gap: 12px 18px;
  }

  .site-header nav a {
    font-size: 12px;
  }

  .privacy-hero {
    min-height: 550px;
    padding: 190px 20px 85px;
  }

  .privacy-hero h1 {
    font-size: clamp(40px, 10vw, 60px);
    letter-spacing: -2px;
  }

  .privacy-hero p {
    font-size: 15px;
  }

  .privacy-section {
    padding: 60px 5% 80px;
  }

  .privacy-sidebar {
    padding: 20px;
  }

  .privacy-sidebar nav {
    grid-template-columns: 1fr;
  }

  .policy-block {
    margin-bottom: 38px;
    padding-bottom: 38px;
  }

  .policy-block p,
  .policy-block li {
    font-size: 15px;
    line-height: 1.85;
  }

  .privacy-closing {
    padding: 85px 20px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
