/* =========================================================
   LEGAL PREMIUM SHELL 3A-2B-C1
   ========================================================= */

.lk-legal-page {
  --legal-ink: #2c1b16;
  --legal-muted: #705f58;
  --legal-paper: #fbf7ef;
  --legal-card: #fffdf8;
  --legal-line: rgba(76, 48, 39, .14);
  --legal-red: #812d36;
  --legal-red-dark: #5d2028;
  --legal-gold: #c79a4c;
  --legal-gold-soft: #ead7ad;

  width: min(1080px, calc(100% - 32px));
  margin:
    clamp(28px, 4vw, 46px)
    auto
    clamp(72px, 8vw, 104px);

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

.lk-legal-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  align-items: center;
  gap: clamp(24px, 5vw, 62px);

  min-height: 0;
  padding:
    clamp(28px, 4.5vw, 48px)
    clamp(24px, 5vw, 58px);

  border:
    1px solid
    rgba(231, 198, 134, .32);
  border-radius: 24px;

  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(214, 168, 82, .18),
      transparent 29%
    ),
    linear-gradient(
      135deg,
      #211512 0%,
      #3b211b 55%,
      #642720 100%
    );

  box-shadow:
    0 24px 62px
    rgba(46, 25, 19, .16);

  color: #fff8ec;
}

.lk-legal-hero::before {
  position: absolute;
  top: 0;
  right: 8%;
  left: 8%;

  height: 1px;

  content: "";

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(234, 202, 139, .84),
      transparent
    );
}

.lk-legal-hero-copy {
  position: relative;
  z-index: 1;

  min-width: 0;
}

.lk-legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: #e8c47c;

  font-family:
    var(--font-mono),
    monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lk-legal-eyebrow::before {
  width: 26px;
  height: 1px;

  content: "";

  background: currentColor;
}

.lk-legal-hero h1 {
  max-width: 780px;

  margin:
    13px
    0
    13px;

  color: #fff9ed;

  font-family:
    "Newsreader",
    Georgia,
    serif;
  font-size:
    clamp(36px, 5.8vw, 58px);
  font-weight: 620;
  line-height: .98;
  letter-spacing: -.035em;

  text-wrap: balance;
}

.lk-legal-hero p {
  max-width: 720px;

  margin: 0;

  color:
    rgba(255, 248, 235, .73);

  font-size:
    clamp(14px, 1.6vw, 17px);
  line-height: 1.62;
}

.lk-legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;

  margin-top: 18px;

  color:
    rgba(255, 244, 225, .55);

  font-family:
    var(--font-mono),
    monospace;
  font-size: 8px;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.lk-legal-meta time {
  color: #e6bd70;
}

.lk-legal-emblem {
  position: relative;

  display: grid;
  place-items: center;

  width:
    clamp(96px, 12vw, 132px);
  aspect-ratio: 1;

  border:
    1px solid
    rgba(232, 197, 127, .25);
  border-radius: 50%;

  background:
    rgba(255, 248, 232, .045);

  box-shadow:
    inset 0 0 38px
    rgba(227, 181, 92, .08);
}

.lk-legal-emblem span {
  color:
    rgba(255, 244, 220, .9);

  font-family:
    Georgia,
    serif;
  font-size:
    clamp(52px, 7vw, 76px);
  line-height: 1;
}

.lk-legal-emblem small {
  position: absolute;
  right: 13%;
  bottom: 13%;

  display: grid;
  place-items: center;

  width: 29px;
  height: 29px;

  color: #241510;

  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      #efd18f,
      #c99642
    );

  font-family:
    Georgia,
    serif;
  font-size: 14px;
  font-weight: 800;
}

.lk-legal-language-note {
  display: grid;
  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;
  align-items: center;
  gap: 14px;

  margin-top: 16px;
  padding:
    15px
    17px;

  border:
    1px solid
    var(--legal-line);
  border-radius: 15px;

  background:
    linear-gradient(
      135deg,
      rgba(199, 154, 76, .09),
      rgba(129, 45, 54, .045)
    );
}

.lk-legal-language-icon {
  display: grid;
  place-items: center;

  width: 36px;
  height: 36px;

  color: #fff8ea;

  border-radius: 10px;

  background:
    linear-gradient(
      145deg,
      var(--legal-red),
      var(--legal-red-dark)
    );

  font-family:
    Georgia,
    serif;
  font-size: 18px;
}

.lk-legal-language-note strong {
  display: block;

  margin-bottom: 3px;

  color: var(--legal-ink);

  font-family:
    var(--font-mono),
    monospace;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lk-legal-language-note p {
  margin: 0;

  color: var(--legal-muted);

  font-size: 12px;
  line-height: 1.55;
}

.lk-legal-language-code {
  min-width: 40px;
  padding:
    7px
    9px;

  color: var(--legal-red);

  border:
    1px solid
    rgba(129, 45, 54, .2);
  border-radius: 999px;

  background:
    rgba(255, 253, 248, .72);

  font-family:
    var(--font-mono),
    monospace;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .08em;
  text-align: center;
}

.lk-legal-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(220px, 260px);
  gap:
    clamp(28px, 5vw, 52px);

  align-items: start;

  margin-top:
    clamp(28px, 4vw, 42px);
}

.lk-legal-content {
  min-width: 0;
}

.lk-legal-section {
  padding:
    clamp(24px, 3vw, 34px)
    0;

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

.lk-legal-section:first-child {
  padding-top: 0;
}

.lk-legal-section:last-child {
  border-bottom: 0;
}

.lk-legal-section h2 {
  margin:
    0
    0
    13px;

  color: var(--legal-ink);

  font-family:
    "Newsreader",
    Georgia,
    serif;
  font-size:
    clamp(25px, 3vw, 33px);
  font-weight: 630;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.lk-legal-section h3 {
  margin:
    25px
    0
    10px;

  color: var(--legal-ink);

  font-size: 17px;
  line-height: 1.3;
}

.lk-legal-section p,
.lk-legal-section li {
  color: var(--legal-muted);

  font-size:
    clamp(14px, 1.5vw, 16px);
  line-height: 1.78;
}

.lk-legal-section p {
  margin:
    0
    0
    13px;
}

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

.lk-legal-section ul,
.lk-legal-section ol {
  padding-left: 21px;
}

.lk-legal-section li + li {
  margin-top: 8px;
}

.lk-legal-section a {
  color: var(--legal-red);

  text-decoration-color:
    rgba(129, 45, 54, .35);
  text-underline-offset: 3px;
}

.lk-legal-callout {
  margin-top: 18px;
  padding:
    17px
    19px;

  border:
    1px solid
    rgba(129, 45, 54, .15);
  border-left:
    4px solid
    var(--legal-red);
  border-radius: 12px;

  background:
    rgba(129, 45, 54, .055);
}

.lk-legal-nav {
  position: sticky;
  top: 22px;

  overflow: hidden;

  border:
    1px solid
    var(--legal-line);
  border-radius: 18px;

  background:
    rgba(255, 253, 248, .88);

  box-shadow:
    0 18px 42px
    rgba(60, 35, 26, .08);

  backdrop-filter: blur(12px);
}

.lk-legal-nav-head {
  display: flex;
  align-items: center;
  gap: 10px;

  padding:
    17px
    18px;

  color: #fff9ed;

  background:
    linear-gradient(
      135deg,
      #2c1a15,
      #5e2722
    );
}

.lk-legal-nav-head span {
  display: grid;
  place-items: center;

  width: 25px;
  height: 25px;

  color: #2a1812;

  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      #efd18f,
      #c99642
    );

  font-family:
    Georgia,
    serif;
  font-size: 12px;
  font-weight: 800;
}

.lk-legal-nav-head strong {
  min-width: 0;

  font-family:
    var(--font-mono),
    monospace;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.lk-legal-nav nav {
  display: grid;

  padding:
    9px
    11px;
}

.lk-legal-nav nav a {
  display: grid;
  grid-template-columns:
    24px
    minmax(0, 1fr);
  align-items: center;
  gap: 8px;

  padding:
    11px
    9px;

  color: var(--legal-muted);

  border-radius: 10px;

  font-size: 11px;
  line-height: 1.4;
  text-decoration: none;

  transition:
    color .16s ease,
    background .16s ease,
    transform .16s ease;
}

.lk-legal-nav nav a > span {
  color:
    rgba(112, 95, 88, .55);

  font-family:
    var(--font-mono),
    monospace;
  font-size: 7px;
  font-weight: 700;
}

.lk-legal-nav nav a:hover {
  color: var(--legal-red);

  background:
    rgba(129, 45, 54, .055);

  transform: translateX(2px);
}

.lk-legal-nav nav a.aktif {
  color: #fff9ed;

  background:
    linear-gradient(
      135deg,
      var(--legal-red),
      var(--legal-red-dark)
    );

  box-shadow:
    0 10px 24px
    rgba(129, 45, 54, .18);
}

.lk-legal-nav nav a.aktif > span {
  color:
    rgba(255, 244, 225, .65);
}

.lk-legal-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  margin:
    0
    11px
    11px;
  padding:
    11px
    12px;

  color: var(--legal-ink);

  border:
    1px solid
    rgba(199, 154, 76, .32);
  border-radius: 11px;

  background:
    rgba(199, 154, 76, .09);

  font-family:
    var(--font-mono),
    monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}

.lk-legal-contact span {
  color: var(--legal-red);

  font-size: 15px;
}


/* MODE MALAM */

html[data-theme="malam"]
.lk-legal-page {
  --legal-ink: #fff8ec;
  --legal-muted: rgba(255, 245, 231, .68);
  --legal-paper: #160e0c;
  --legal-card: #211512;
  --legal-line: rgba(255, 244, 225, .12);
  --legal-red: #d96570;
  --legal-red-dark: #9e3f49;
  --legal-gold: #e1b96c;
  --legal-gold-soft: #604c2d;
}

html[data-theme="malam"]
.lk-legal-language-note {
  background:
    linear-gradient(
      135deg,
      rgba(225, 185, 108, .09),
      rgba(217, 101, 112, .055)
    );
}

html[data-theme="malam"]
.lk-legal-language-code {
  color: #efc879;

  border-color:
    rgba(225, 185, 108, .22);

  background:
    rgba(255, 248, 232, .045);
}

html[data-theme="malam"]
.lk-legal-nav {
  background:
    rgba(31, 20, 17, .9);

  box-shadow:
    0 18px 42px
    rgba(0, 0, 0, .24);
}

html[data-theme="malam"]
.lk-legal-contact {
  color: #fff8ec;

  background:
    rgba(225, 185, 108, .075);
}


/* RESPONSIVE */

@media (max-width: 860px) {
  .lk-legal-layout {
    grid-template-columns: 1fr;
  }

  .lk-legal-nav {
    position: static;
    order: -1;
  }

  .lk-legal-nav nav {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .lk-legal-contact {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .lk-legal-page {
    width:
      min(100%, calc(100% - 20px));

    margin-top: 18px;
  }

  .lk-legal-hero {
    grid-template-columns: 1fr;

    gap: 18px;

    padding:
      26px
      20px;

    border-radius: 19px;
  }

  .lk-legal-hero h1 {
    font-size:
      clamp(34px, 10vw, 45px);
  }

  .lk-legal-emblem {
    display: none;
  }

  .lk-legal-language-note {
    grid-template-columns:
      auto
      minmax(0, 1fr);

    align-items: start;

    padding:
      13px
      14px;
  }

  .lk-legal-language-code {
    grid-column: 2;

    justify-self: start;
  }

  .lk-legal-nav nav {
    grid-template-columns: 1fr;
  }

  .lk-legal-section p,
  .lk-legal-section li {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lk-legal-nav nav a {
    transition: none;
  }
}

/* LEGAL PREMIUM POLISH 3A-2B-C2A START */

.lk-legal-page {
  width: min(1240px, calc(100% - 32px));
}

.lk-legal-layout {
  grid-template-columns:
    minmax(0, 1fr)
    minmax(260px, 292px);
  gap: clamp(30px, 4vw, 52px);
}

.lk-legal-content {
  display: grid;
  gap: 16px;
}

.lk-legal-section {
  position: relative;
  overflow: hidden;

  padding:
    clamp(24px, 3vw, 34px)
    clamp(22px, 3.2vw, 38px);

  border:
    1px solid
    rgba(76, 48, 39, .12);
  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 253, 248, .96),
      rgba(249, 243, 232, .78)
    );

  box-shadow:
    0 14px 36px
    rgba(58, 34, 26, .055);
}

.lk-legal-section::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;

  width: 3px;

  content: "";

  background:
    linear-gradient(
      180deg,
      var(--legal-gold),
      var(--legal-red)
    );
}

.lk-legal-section:first-child,
.lk-legal-section:last-child {
  padding:
    clamp(24px, 3vw, 34px)
    clamp(22px, 3.2vw, 38px);
}

.lk-legal-section h2 {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  margin-bottom: 17px;
}

.lk-legal-section h2::after {
  flex: 0 0 34px;

  width: 34px;
  height: 2px;
  margin-top: .55em;

  content: "";

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      var(--legal-gold),
      transparent
    );
}

.lk-legal-section p,
.lk-legal-section li {
  max-width: 78ch;
}

.lk-legal-section a {
  font-weight: 650;
}

.lk-legal-nav {
  top: 18px;

  border-color:
    rgba(85, 49, 37, .15);

  box-shadow:
    0 22px 54px
    rgba(55, 31, 24, .11);
}

.lk-legal-nav nav {
  gap: 3px;
}

.lk-legal-nav nav a {
  min-height: 45px;
}

.lk-legal-nav nav a.aktif {
  transform: none;
}

.lk-legal-contact {
  min-height: 45px;
}

html[data-theme="malam"]
.lk-legal-section {
  border-color:
    rgba(255, 238, 209, .11);

  background:
    linear-gradient(
      145deg,
      rgba(50, 32, 27, .93),
      rgba(35, 24, 21, .86)
    );

  box-shadow:
    0 16px 42px
    rgba(0, 0, 0, .18);
}

@media (max-width: 920px) {
  .lk-legal-page {
    width: min(100% - 24px, 820px);
  }

  .lk-legal-layout {
    display: flex;
    flex-direction: column;
  }

  .lk-legal-nav {
    position: static;
    order: -1;

    width: 100%;
  }

  .lk-legal-nav nav {
    display: grid;
    grid-template-columns:
      repeat(4, minmax(178px, 1fr));

    overflow-x: auto;
    overscroll-behavior-inline: contain;

    padding-bottom: 12px;

    scrollbar-width: thin;
  }

  .lk-legal-nav nav a {
    min-height: 54px;
  }
}

@media (max-width: 580px) {
  .lk-legal-page {
    width: min(100% - 18px, 760px);
  }

  .lk-legal-content {
    gap: 12px;
  }

  .lk-legal-section,
  .lk-legal-section:first-child,
  .lk-legal-section:last-child {
    padding:
      22px
      19px
      23px;
  }

  .lk-legal-section {
    border-radius: 15px;
  }

  .lk-legal-section h2 {
    display: block;

    font-size:
      clamp(24px, 8vw, 30px);
  }

  .lk-legal-section h2::after {
    display: block;

    margin-top: 11px;
  }

  .lk-legal-section p,
  .lk-legal-section li {
    font-size: 15px;
    line-height: 1.72;
  }

  .lk-legal-nav nav {
    grid-template-columns:
      repeat(4, minmax(164px, 1fr));
  }
}

/* LEGAL PREMIUM POLISH 3A-2B-C2A END */

/* LEGAL CARD MOTION PREMIUM 3A-2B-C3A START */

.lk-legal-section {
  isolation: isolate;

  transition:
    transform 420ms cubic-bezier(.22, 1, .36, 1),
    border-color 320ms ease,
    box-shadow 420ms cubic-bezier(.22, 1, .36, 1),
    background 320ms ease;
}

.lk-legal-section::before {
  z-index: 2;

  transition:
    width 320ms cubic-bezier(.22, 1, .36, 1),
    opacity 320ms ease,
    filter 320ms ease;
}

.lk-legal-section::after {
  position: absolute;
  z-index: -1;
  top: -44%;
  right: -18%;

  width: 230px;
  height: 230px;

  content: "";
  pointer-events: none;

  opacity: 0;
  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(184, 133, 63, .14) 0%,
      rgba(184, 133, 63, .055) 38%,
      transparent 72%
    );

  transform:
    translate3d(18px, -14px, 0)
    scale(.78);

  transition:
    opacity 420ms ease,
    transform 520ms cubic-bezier(.22, 1, .36, 1);
}

.lk-legal-section h2 {
  transition:
    transform 360ms cubic-bezier(.22, 1, .36, 1),
    color 260ms ease;
}

.lk-legal-section h2::after {
  transform-origin: left center;

  transition:
    width 360ms cubic-bezier(.22, 1, .36, 1),
    transform 360ms cubic-bezier(.22, 1, .36, 1),
    opacity 280ms ease;
}

.lk-legal-section p,
.lk-legal-section li {
  transition:
    color 260ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .lk-legal-section:hover {
    z-index: 3;

    border-color:
      rgba(128, 73, 52, .28);

    background:
      linear-gradient(
        145deg,
        rgba(255, 254, 250, .99),
        rgba(250, 242, 228, .92)
      );

    box-shadow:
      0 26px 64px
      rgba(58, 34, 26, .12),
      0 8px 18px
      rgba(58, 34, 26, .055);

    transform:
      translate3d(0, -7px, 0)
      scale(1.006);
  }

  .lk-legal-section:hover::before {
    width: 5px;
    opacity: 1;

    filter:
      saturate(1.12)
      brightness(1.04);
  }

  .lk-legal-section:hover::after {
    opacity: 1;

    transform:
      translate3d(0, 0, 0)
      scale(1);
  }

  .lk-legal-section:hover h2 {
    transform:
      translate3d(3px, 0, 0);
  }

  .lk-legal-section:hover h2::after {
    width: 50px;
    opacity: 1;

    transform:
      scaleX(1.08);
  }
}

.lk-legal-section:focus-within {
  border-color:
    rgba(128, 73, 52, .32);

  box-shadow:
    0 22px 54px
    rgba(58, 34, 26, .105);

  transform:
    translate3d(0, -4px, 0);
}

.lk-legal-section:focus-within::after {
  opacity: .78;

  transform:
    translate3d(0, 0, 0)
    scale(.94);
}

html[data-theme="malam"]
.lk-legal-section:hover,
html[data-theme="malam"]
.lk-legal-section:focus-within {
  border-color:
    rgba(222, 177, 104, .28);

  background:
    linear-gradient(
      145deg,
      rgba(57, 36, 30, .98),
      rgba(38, 25, 22, .94)
    );

  box-shadow:
    0 28px 68px
    rgba(0, 0, 0, .28),
    0 8px 22px
    rgba(0, 0, 0, .16);
}

html[data-theme="malam"]
.lk-legal-section::after {
  background:
    radial-gradient(
      circle,
      rgba(224, 183, 110, .13) 0%,
      rgba(224, 183, 110, .05) 40%,
      transparent 72%
    );
}

@media (max-width: 580px) {
  .lk-legal-section {
    transition:
      border-color 240ms ease,
      box-shadow 280ms ease,
      background 240ms ease;
  }

  .lk-legal-section:focus-within {
    transform: none;
  }
}

@media (hover: none) {
  .lk-legal-section:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lk-legal-section,
  .lk-legal-section::before,
  .lk-legal-section::after,
  .lk-legal-section h2,
  .lk-legal-section h2::after,
  .lk-legal-section p,
  .lk-legal-section li {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .lk-legal-section:hover,
  .lk-legal-section:focus-within,
  .lk-legal-section:hover h2,
  .lk-legal-section:hover::after,
  .lk-legal-section:focus-within::after {
    transform: none !important;
  }
}

/* LEGAL CARD MOTION PREMIUM 3A-2B-C3A END */
