/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
  --brand: #681116;
  --brand-dark: #4b0b0f;
  --brand-light: #8c2524;

  --gold: #c99a43;
  --gold-light: #e2bd72;

  --cream: #fbf6ee;
  --cream-2: #f4ecdf;

  --white: #ffffff;

  --ink: #2c211c;
  --muted: #76675d;
  --line: #e5d7c6;

  --shadow: 0 18px 55px rgba(62, 27, 18, 0.1);

  --radius: 14px;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}


/* =========================================================
   GLOBAL
========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
}

a {
  text-decoration: none;
}

::selection {
  background: var(--brand);
  color: var(--white);
}


/* =========================================================
   LEGAL HERO
========================================================= */

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 95px 0 20px;
  background:
    linear-gradient(
      135deg,
      var(--brand-dark),
      var(--brand)
    );
  color: var(--white);
}

.legal-hero::before,
.legal-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(226, 189, 114, 0.16);
  transform: rotate(45deg);
}

.legal-hero::before {
  top: -210px;
  left: -130px;
}

.legal-hero::after {
  right: -150px;
  bottom: -220px;
}

.legal-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;

  background-image:
    linear-gradient(
      45deg,
      transparent 48%,
      var(--gold-light) 49%,
      var(--gold-light) 51%,
      transparent 52%
    );

  background-size: 45px 45px;
}

.legal-hero-content {
  position: relative;
  z-index: 1;

  max-width: 850px;
  margin: auto;
}

.legal-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  margin-bottom: 18px;

  color: var(--gold-light);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}

.legal-eyebrow span {
  width: 38px;
  height: 1px;

  background: var(--gold);
}

.legal-hero h1 {
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(50px, 7vw, 82px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -1px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.legal-hero h1 em {
  display: block;

  color: var(--gold-light);

  font-style: italic;
}

.legal-hero-content > p {
  max-width: 600px;

  margin: 28px auto 22px;

  color: rgba(255, 255, 255, 0.75);

  font-size: 15px;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  /* margin: 25px 0; */
}

.hero-divider::before,
.hero-divider::after {
  content: "";

  width: 70px;
  height: 1px;

  background: rgba(226, 189, 114, 0.45);
}

.hero-divider i {
  color: var(--gold-light);

  font-size: 8px;

  transform: rotate(45deg);
}

.updated-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 7px 15px;

  border: 1px solid rgba(226, 189, 114, 0.25);

  color: rgba(255, 255, 255, 0.65);

  font-size: 11px;
  letter-spacing: 0.5px;
}


/* =========================================================
   MAIN
========================================================= */

.legal-main {
  padding: 30px 0;
}


/* =========================================================
   SIDEBAR
========================================================= */

.legal-sidebar {
  position: sticky;
  top: 30px;
}

.sidebar-title {
  padding-bottom: 13px;
  margin-bottom: 8px;

  border-bottom: 1px solid var(--line);

  color: var(--brand);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.legal-nav {
  display: flex;
  flex-direction: column;
}

.legal-nav a {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px 0;

  border-bottom: 1px solid rgba(229, 215, 198, 0.55);

  color: var(--muted);

  font-size: 12px;

  transition: 0.25s ease;
}

.legal-nav a span {
  width: 24px;

  color: var(--gold);

  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
}

.legal-nav a:hover {
  padding-left: 7px;

  color: var(--brand);
}

.sidebar-help {
  margin-top: 30px;
  padding: 25px;

  background: var(--white);

  border: 1px solid var(--line);

  box-shadow: var(--shadow);
}

.help-icon {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 14px;

  background: var(--cream-2);

  color: var(--brand);

  font-size: 17px;
}

.sidebar-help h5 {
  margin-bottom: 7px;

  color: var(--brand);

  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}

.sidebar-help p {
  margin-bottom: 15px;

  color: var(--muted);

  font-size: 12px;
  line-height: 1.7;
}

.sidebar-help a {
  color: var(--brand);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.sidebar-help a i {
  margin-left: 5px;
}


/* =========================================================
   LEGAL CONTENT
========================================================= */

.legal-content {
  max-width: 900px;
}

.legal-section {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;

  padding: 0 0 15px;
  margin-bottom: 22px;

  border-bottom: 1px solid var(--line);

  scroll-margin-top: 40px;
}

.section-number {
  color: var(--gold);

  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.section-body h2 {
  margin: -4px 0 17px;

  color: var(--brand);

  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
}

.section-body p {
  margin-bottom: 16px;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.9;
}

.section-body strong {
  color: var(--ink);
  font-weight: 600;
}


/* =========================================================
   LEGAL LIST
========================================================= */

.legal-list {
  margin: 25px 0;
  padding: 20px 22px;

  background: var(--cream-2);

  border-left: 3px solid var(--gold);
}

.legal-list > div {
  display: flex;
  gap: 12px;

  padding: 8px 0;

  color: var(--muted);

  font-size: 13px;
}

.legal-list i {
  flex-shrink: 0;

  color: var(--gold);

  font-size: 17px;
}


/* =========================================================
   NOTICE BOX
========================================================= */

.notice-box {
  display: flex;
  gap: 18px;

  margin: 25px 0;
  padding: 22px;

  background:
    linear-gradient(
      135deg,
      var(--cream-2),
      var(--white)
    );

  border: 1px solid var(--line);
}

.notice-icon {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  background: var(--brand);

  color: var(--gold-light);

  font-size: 18px;
}

.notice-box h5 {
  margin-bottom: 5px;

  color: var(--brand);

  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
}

.notice-box p {
  margin: 0;

  font-size: 12px;
  line-height: 1.7;
}


/* =========================================================
   INLINE LINK
========================================================= */

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding-bottom: 3px;

  border-bottom: 1px solid var(--gold);

  color: var(--brand);

  font-size: 12px;
  font-weight: 700;

  transition: 0.25s ease;
}

.inline-link:hover {
  color: var(--gold);
}


/* =========================================================
   CONTACT CARD
========================================================= */

.contact-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;

  margin-top: 25px;

  background: var(--line);

  border: 1px solid var(--line);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 20px;

  background: var(--white);
}

.contact-icon {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  background: var(--cream-2);

  color: var(--brand);
}

.contact-item small {
  display: block;

  margin-bottom: 3px;

  color: var(--gold);

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.contact-item a {
  color: var(--brand);

  font-size: 13px;
  font-weight: 600;
}


/* =========================================================
   FINAL NOTICE
========================================================= */

.final-notice {
  display: flex;
  align-items: flex-start;
  gap: 20px;

  padding: 28px;

  background:
    linear-gradient(
      135deg,
      var(--brand-dark),
      var(--brand)
    );

  color: var(--white);

  box-shadow: var(--shadow);
}

.final-notice-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border: 1px solid rgba(226, 189, 114, 0.35);

  color: var(--gold-light);

  font-size: 21px;
}

.final-notice h4 {
  margin-bottom: 6px;

  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
}

.final-notice p {
  max-width: 650px;

  margin: 0;

  color: rgba(255, 255, 255, 0.68);

  font-size: 12px;
  line-height: 1.8;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

  .legal-main {
    padding: 60px 0;
  }

  .legal-sidebar {
    position: static;

    margin-bottom: 10px;
  }

  .legal-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 25px;
  }

}


@media (max-width: 767.98px) {
  .legal-hero {
    padding: 83px 0 18px;
  }

  .legal-hero h1 {
    font-size: 55px;
    flex-direction: column;
  }

  .legal-hero-content > p {
    font-size: 13px;
  }

  .legal-main {
    padding: 20px 0;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 10px;

    padding-bottom: 0px;
    margin-bottom: 10px;
  }

  .section-number {
    font-size: 18px;
  }

  .section-body h2 {
    font-size: 29px;
  }

  .section-body p {
    font-size: 13px;
  }

  .notice-box {
    padding: 18px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .final-notice {
    padding: 22px;
  }

}


@media (max-width: 400px) {

  .legal-hero h1 {
    font-size: 47px;
  }

  .legal-eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .section-body h2 {
    font-size: 26px;
  }

}


