/* =========================================================
   ATHAY DESIGN — PRIVACY
   ========================================================= */


/* =========================================================
   SHARED
   ========================================================= */

.privacy-wrap {
  width: 100%;
  max-width: var(--site-width);

  margin: 0 auto;

  padding:
    var(--section-space)
    var(--page-padding);
}


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

.privacy-hero {
  position: relative;

  overflow: hidden;

  background: var(--page);
}

.privacy-hero::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(49, 85, 231, 0.10),
      transparent 35%
    ),
    radial-gradient(
      circle at 88% 90%,
      rgba(233, 238, 255, 0.9),
      transparent 38%
    );
}

.privacy-hero .privacy-wrap {
  position: relative;

  z-index: 1;

  padding-top:
    clamp(4rem, 7vw, 6rem);

  padding-bottom:
    clamp(4rem, 7vw, 6rem);
}

.privacy-hero-content {
  max-width: 760px;
}

.privacy-hero h1 {
  margin-bottom: 1.25rem;
}

.privacy-intro {
  max-width: 680px;

  font-size:
    clamp(1.05rem, 1.7vw, 1.2rem);
}

.privacy-updated {
  margin:
    2rem
    0
    0;

  color: var(--text-muted);

  font-size: 0.8rem;
  font-weight: 500;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.privacy-summary {
  background: var(--white);
}

.privacy-summary-heading {
  max-width: 760px;

  margin-bottom: 3rem;
}

.privacy-summary-heading > p:not(.eyebrow) {
  max-width: 650px;

  margin-bottom: 0;
}

.privacy-summary-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 1rem;
}

.privacy-summary-card {
  padding: 1.75rem;

  background: var(--page);

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

  border-radius: var(--radius);

  box-shadow:
    0 8px 24px
    rgba(11, 11, 50, 0.025);
}

.privacy-summary-card > span {
  display: block;

  margin-bottom: 1.5rem;

  color: var(--cobalt);

  font-size: 0.7rem;
  font-weight: 700;

  letter-spacing: 0.1em;
}

.privacy-summary-card h3 {
  margin-bottom: 0.65rem;

  font-size: 1.15rem;
}

.privacy-summary-card p {
  margin: 0;

  font-size: 0.92rem;
  line-height: 1.6;
}


/* =========================================================
   PRIVACY CONTENT
   ========================================================= */

.privacy-content {
  background: var(--page);

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

.privacy-layout {
  display: grid;

  grid-template-columns:
    230px
    minmax(0, 700px);

  justify-content: space-between;

  gap: 5rem;

  align-items: start;
}


/* =========================================================
   CONTENTS
   ========================================================= */

.privacy-contents {
  position: sticky;

  top:
    calc(var(--header-height) + 2rem);
}

.privacy-contents-title {
  margin:
    0
    0
    1rem;

  color: var(--ink);

  font-size: 0.75rem;
  font-weight: 700;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-contents nav {
  display: flex;
  flex-direction: column;

  gap: 0;
}

.privacy-contents a {
  position: relative;

  display: block;

  padding:
    0.5rem
    0
    0.5rem
    0.85rem;

  color: var(--text-muted);

  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;

  transition:
    color 160ms ease,
    font-weight 160ms ease;
}

.privacy-contents a::before {
  content: "";

  position: absolute;

  top: 0.45rem;
  bottom: 0.45rem;
  left: 0;

  width: 2px;

  border-radius: 999px;

  background: var(--cobalt);

  opacity: 0;

  transform:
    scaleY(0.35);

  transform-origin: center;

  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

.privacy-contents a:hover {
  color: var(--cobalt);
}

.privacy-contents a.active {
  color: var(--cobalt);

  font-weight: 700;
}

.privacy-contents a.active::before {
  opacity: 1;

  transform:
    scaleY(1);
}


/* =========================================================
   PRIVACY BODY
   ========================================================= */

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

.privacy-section {
  scroll-margin-top:
    calc(var(--header-height) + 2rem);

  padding:
    0
    0
    3.5rem;

  margin:
    0
    0
    3.5rem;

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

.privacy-section:last-child {
  padding-bottom: 0;

  margin-bottom: 0;

  border-bottom: 0;
}

.privacy-number {
  display: block;

  margin-bottom: 0.8rem;

  color: var(--cobalt);

  font-size: 0.7rem;
  font-weight: 700;

  letter-spacing: 0.1em;
}

.privacy-section h2 {
  margin-bottom: 1.5rem;

  font-size:
    clamp(1.65rem, 2.5vw, 2.15rem);
}

.privacy-section p {
  margin-bottom: 1.15rem;

  font-size: 0.98rem;
  line-height: 1.75;
}

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

.privacy-section a {
  color: var(--cobalt);

  font-weight: 500;

  text-decoration: underline;

  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}


/* =========================================================
   LISTS
   ========================================================= */

.privacy-section ul {
  margin:
    1.5rem
    0;

  padding: 0;

  list-style: none;
}

.privacy-section li {
  position: relative;

  margin-bottom: 0.75rem;

  padding-left: 1.5rem;

  color: var(--text);

  font-size: 0.98rem;
  line-height: 1.65;
}

.privacy-section li::before {
  content: "✓";

  position: absolute;

  top: 0;
  left: 0;

  color: var(--cobalt);

  font-weight: 700;
}


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

.privacy-contact {
  display: flex;
  flex-direction: column;

  gap: 0.3rem;

  margin-top: 1.5rem;

  padding: 1.5rem;

  background: var(--white);

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

  border-radius: var(--radius);
}

.privacy-contact strong {
  color: var(--ink);
}

.privacy-contact a {
  width: fit-content;
}


/* =========================================================
   CTA
   ========================================================= */

.privacy-cta {
  position: relative;

  overflow: hidden;

  background: var(--ink);
}

.privacy-cta::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(49, 85, 231, 0.25),
      transparent 35%
    ),
    radial-gradient(
      circle at 90% 90%,
      rgba(175, 192, 255, 0.09),
      transparent 40%
    );
}

.privacy-cta .privacy-wrap {
  position: relative;

  z-index: 1;
}

.privacy-cta-content {
  max-width: 720px;

  margin: 0 auto;

  text-align: center;
}

.privacy-cta .eyebrow {
  color: #afc0ff;
}

.privacy-cta h2 {
  color: var(--white);
}

.privacy-cta p:not(.eyebrow) {
  max-width: 620px;

  margin:
    0
    auto;

  color:
    rgba(255, 255, 255, 0.72);
}

.privacy-cta .btn {
  margin-top: 1.5rem;
}


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

@media (max-width: 900px) {

  .privacy-layout {
    grid-template-columns:
      190px
      minmax(0, 1fr);

    gap: 3rem;
  }

}


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

@media (max-width: 767px) {

  .privacy-hero .privacy-wrap {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }


  /* Summary */

  .privacy-summary-heading {
    margin-bottom: 2rem;
  }

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

  .privacy-summary-card {
    padding: 1.5rem;
  }


  /* Content */

  .privacy-layout {
    grid-template-columns: 1fr;

    gap: 2.5rem;
  }

  .privacy-contents {
    position: static;

    padding: 1.5rem;

    background: var(--white);

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

    border-radius: var(--radius);
  }

  .privacy-contents nav {
    display: grid;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap:
      0.25rem
      1rem;
  }

  .privacy-contents a {
    padding:
      0.5rem
      0
      0.5rem
      0.75rem;
  }

  .privacy-section {
    padding-bottom: 2.5rem;

    margin-bottom: 2.5rem;
  }


  /* CTA */

  .privacy-cta-content {
    margin: 0;

    text-align: left;
  }

  .privacy-cta p:not(.eyebrow) {
    margin-left: 0;
  }

}


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

@media (max-width: 420px) {

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

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .privacy-contents a,
  .privacy-contents a::before {
    transition: none;
  }

}