@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@400;500;600;700&display=swap");
:root {
  --primary: #c00000;
  --primary-dark: #8d0000;
  --primary-soft: #fff0f0;
  --black: #111111;
  --white: #ffffff;
  --cream: #f5f3ef;
  --cream-dark: #ebe7e0;
  --text: #252525;
  --muted: #77736d;
  --border: #ddd9d2;
  --shadow: 0 24px 70px rgba(32, 24, 20, 0.1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 5%, rgba(192, 0, 0, 0.07), transparent 23%),
    var(--cream);
  color: var(--text);
  font-family: "Poppins", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}

.legal-header {
  width: min(1320px, calc(100% - 48px));
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 20px auto 0;
  padding: 10px 18px;
  position: sticky;
  top: 16px;
  z-index: 100;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 13px 35px rgba(30, 20, 16, 0.08);
  backdrop-filter: blur(18px);
}
.legal-brand {
  width: 92px;
}
.legal-brand img {
  width: 100%;
  max-height: 58px;
  object-fit: contain;
}
.legal-back {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 600;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.legal-back:hover {
  transform: translateY(-2px);
  border-color: rgba(192, 0, 0, 0.35);
  color: var(--primary);
}

.legal-page {
  width: min(1240px, calc(100% - 48px));
  margin: 36px auto 80px;
}
.legal-hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: clamp(38px, 6vw, 74px);
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(255, 255, 255, 0.13),
      transparent 25%
    ),
    linear-gradient(135deg, #111111, #280505 55%, #9d0000);
  color: var(--white);
  box-shadow: var(--shadow);
}
.legal-hero::after {
  content: "CHULOSS";
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(100px, 16vw, 210px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
}
.legal-hero__content {
  position: relative;
  z-index: 2;
}
.legal-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.legal-hero h1 {
  margin-bottom: 18px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(58px, 8vw, 100px);
  font-weight: 400;
  line-height: 0.9;
}
.legal-hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.8;
}
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
}
.legal-hero__icon {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 42% 58% 54% 46% / 48% 42% 58% 52%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 52px;
  backdrop-filter: blur(16px);
}

.legal-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
}
.legal-index {
  height: max-content;
  position: sticky;
  top: 115px;
  padding: 24px;
  border: 1px solid rgba(221, 217, 210, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 35px rgba(30, 20, 16, 0.06);
  backdrop-filter: blur(14px);
}
.legal-index > span {
  display: block;
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.legal-index nav {
  display: grid;
  gap: 4px;
}
.legal-index a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.legal-index a:hover,
.legal-index a.is-active {
  transform: translateX(3px);
  background: var(--primary-soft);
  color: var(--primary);
}

.legal-document {
  padding: clamp(30px, 5vw, 68px);
  border: 1px solid rgba(221, 217, 210, 0.8);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(30, 20, 16, 0.06);
}
.legal-document section {
  padding: 8px 0 46px;
  border-bottom: 1px solid var(--cream-dark);
}
.legal-document section + section {
  padding-top: 46px;
}
.legal-document section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.legal-number {
  display: block;
  margin-bottom: 13px;
  color: var(--primary);
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
}
.legal-document h2 {
  margin-bottom: 17px;
  font-family: "Bebas Neue", sans-serif;
  color: var(--black);
  font-size: clamp(31px, 4vw, 45px);
  font-weight: 400;
  line-height: 1;
}
.legal-document h3 {
  margin: 28px 0 12px;
  color: var(--black);
  font-size: 14px;
}
.legal-document p {
  margin-bottom: 14px;
  color: #65615c;
  font-size: 12px;
  line-height: 1.9;
}
.legal-document p:last-child {
  margin-bottom: 0;
}
.legal-document a {
  color: var(--primary);
  font-weight: 600;
}
.legal-document ul {
  display: grid;
  gap: 11px;
  margin: 17px 0 22px;
  padding-left: 0;
  list-style: none;
}
.legal-document li {
  position: relative;
  padding-left: 24px;
  color: #65615c;
  font-size: 12px;
  line-height: 1.8;
}
.legal-document li::before {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  top: 8px;
  left: 2px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(192, 0, 0, 0.08);
}
.legal-notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 20px 0;
  padding: 17px;
  border: 1px solid rgba(192, 0, 0, 0.12);
  border-radius: 15px;
  background: var(--primary-soft);
  color: var(--primary);
}
.legal-notice i {
  margin-top: 4px;
}
.legal-notice p {
  margin: 0;
  color: #735557;
}
.legal-notice--important {
  background: #fff7e8;
  border-color: #eed39b;
  color: #b26d00;
}

.legal-rights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 28px;
}
.legal-rights article {
  min-height: 174px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #faf9f7);
}
.legal-rights strong {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 11px;
  background: var(--primary);
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: 21px;
  font-weight: 400;
}
.legal-rights span {
  display: block;
  margin-bottom: 7px;
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
}
.legal-rights p {
  margin: 0;
  font-size: 9px;
  line-height: 1.65;
}

.legal-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 22px;
}
.legal-contact > div {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 88px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #faf9f7;
}
.legal-contact > div > i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}
.legal-contact span {
  min-width: 0;
}
.legal-contact small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 8px;
}
.legal-contact strong,
.legal-contact a {
  display: block;
  overflow-wrap: anywhere;
  color: var(--black);
  font-size: 10px;
  font-weight: 600;
}

.legal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 110px;
  padding: 24px;
  border-top: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  font-size: 9px;
}
.legal-footer img {
  width: 68px;
  max-height: 50px;
  object-fit: contain;
}

@media (max-width: 920px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-index {
    position: static;
  }
  .legal-index nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .legal-rights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .legal-header,
  .legal-page {
    width: calc(100% - 28px);
  }
  .legal-header {
    top: 8px;
    margin-top: 8px;
    border-radius: 16px;
  }
  .legal-page {
    margin-top: 20px;
  }
  .legal-hero {
    min-height: 300px;
    padding: 34px 24px;
  }
  .legal-hero__icon {
    display: none;
  }
  .legal-hero h1 {
    font-size: 58px;
  }
  .legal-document {
    padding: 30px 22px;
  }
  .legal-index nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .legal-contact {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 460px) {
  .legal-back span {
    display: none;
  }
  .legal-back {
    width: 42px;
    justify-content: center;
    padding: 0;
  }
  .legal-hero h1 {
    font-size: 49px;
  }
  .legal-index nav,
  .legal-rights {
    grid-template-columns: 1fr;
  }
  .legal-rights article {
    min-height: auto;
  }
  .legal-footer {
    flex-direction: column;
    text-align: center;
  }
}
