/* DanaLaju legal pages — shared styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  --peach: #ED8B3A;
  --peach-deep: #C76A1F;
  --peach-darker: #8C4912;
  --peach-soft: #FBE5CC;
  --peach-tint: #FCEFDC;
  --cream: #FAF7F2;
  --cream-deep: #F2ECDE;
  --cream-line: #E7DFCB;
  --ink: #1B1F1C;
  --ink-soft: #4A524C;
  --ink-mute: #7C8580;
  --info-bg: #E4ECFA;
  --info: #2C56A8;
  --white: #fff;
  --radius-pill: 999px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.6 0 0 0 0 0.5 0 0 0 0 0.4 0 0 0 0.32 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
a { color: var(--peach-deep); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--peach-darker); }

/* Header */
.legal-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250,247,242,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-line);
}
.legal-header-inner {
  max-width: 880px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--ink); font-size: 17px;
  text-decoration: none;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--peach), var(--peach-deep));
  color: #fff; font-weight: 800;
  display: grid; place-items: center; font-size: 17px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.1);
}
.legal-header .spacer { flex: 1; }
.legal-header a.back {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.legal-header a.back:hover { color: var(--ink); }

/* Main */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--peach-tint);
  color: var(--peach-darker);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
h1 {
  font-size: clamp(34px, 5.5vw, 50px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 16px;
  text-wrap: balance;
}
.lede {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 8px;
  max-width: 620px;
}
.updated {
  font-size: 13px;
  color: var(--ink-mute);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 36px;
}
h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  letter-spacing: -.015em;
  font-weight: 700;
}
h3 {
  font-size: 17px;
  margin: 24px 0 8px;
  font-weight: 700;
}
p, li { color: var(--ink-soft); }
p { margin: 0 0 14px; }
ul, ol { padding-left: 22px; margin: 0 0 18px; }
li { margin-bottom: 6px; }
strong { color: var(--ink); font-weight: 600; }

.callout {
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}
.callout .ico {
  width: 30px; height: 30px;
  border-radius: 10px;
  background: var(--peach-tint);
  color: var(--peach-darker);
  display: grid; place-items: center;
  flex: 0 0 30px;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { display: block; color: var(--ink); margin-bottom: 4px; }

.data-table {
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: 14px;
  overflow: hidden;
  margin: 18px 0 26px;
}
.data-table .row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid var(--cream-line);
  font-size: 15px;
}
.data-table .row:first-child {
  border-top: 0;
  background: var(--cream-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.data-table .row strong { font-weight: 600; }

.toc {
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 0 0 36px;
}
.toc strong { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 10px; }
.toc ol { columns: 1; padding-left: 18px; margin: 0; }
.toc ol li { margin-bottom: 4px; font-size: 14.5px; color: var(--ink); }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--peach-deep); text-decoration: underline; }
@media (min-width: 720px) { .toc ol { columns: 2; column-gap: 32px; } }

footer.legal-footer {
  border-top: 1px solid var(--cream-line);
  padding: 32px 24px;
  background: var(--white);
  position: relative;
  z-index: 2;
}
footer.legal-footer .inner {
  max-width: 880px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: var(--ink-mute);
  font-family: 'JetBrains Mono', monospace;
}
footer.legal-footer a { color: var(--ink-soft); text-decoration: none; }
footer.legal-footer a:hover { color: var(--ink); }
