/* ─── Bounce Path — Shared Legal Page Styles ────────────────── */
:root {
  --sand: #fff7ed;
  --sand-deep: #fdeedc;
  --sand-2: #fce7cf;
  --sand-line: #f2d9be;
  --card: #fffdfa;

  --ink: #4a3528;
  --ink-soft: #9a8576;
  --ink-faint: #bda994;

  --amber: #f59e0b;
  --amber-dark: #d97706;
  --mint: #34d399;
  --mint-dark: #059669;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;

  --clay: 0 14px 30px rgba(124, 79, 30, 0.14),
    0 4px 8px rgba(124, 79, 30, 0.08),
    inset 0 2px 0 rgba(255, 255, 255, 0.85),
    inset 0 -7px 14px rgba(201, 148, 88, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--amber-dark);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--amber);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Warm paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 190px 190px;
}

/* ─── Nav ──────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 247, 237, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--sand-line);
}
.nav-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 6px 14px rgba(124, 79, 30, 0.22);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.nav-back:hover {
  color: var(--ink);
}
.nav-back svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Document shell ───────────────────────────────────────── */
.doc {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 128px 28px 88px;
}

.doc-header {
  margin-bottom: 20px;
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-dark);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--amber);
}
.doc-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.03;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.doc-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.doc-meta span {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--card);
  border-radius: var(--r-pill);
  padding: 7px 16px;
  box-shadow: var(--clay);
}

.rule {
  height: 3px;
  border: none;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--sand-line), var(--amber), var(--sand-line), transparent);
  margin: 32px 0 40px;
}

/* ─── Document body ────────────────────────────────────────── */
.doc-body {
  position: relative;
  z-index: 1;
}
.doc-body section {
  margin-bottom: 40px;
}
.doc-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 13px;
}
.doc-body h2 .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(180deg, #fbb03b, #e07c05);
  border-radius: var(--r-pill);
  min-width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 5px 12px rgba(224, 124, 5, 0.3);
  transform: translateY(-1px);
}
.doc-body h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15.5px;
  color: var(--ink);
  margin: 24px 0 10px;
}
.doc-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 14px;
}
.doc-body ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.doc-body li {
  position: relative;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 500;
  padding-left: 26px;
  margin-bottom: 11px;
}
.doc-body li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}
.doc-body li strong,
.doc-body p strong {
  color: var(--ink);
  font-weight: 800;
}
.doc-body .fine {
  font-size: 13.5px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-faint);
}

/* ─── Contact card ─────────────────────────────────────────── */
.contact-card {
  margin-top: 6px;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  box-shadow: var(--clay);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-card .row {
  display: flex;
  gap: 14px;
  font-size: 15.5px;
  line-height: 1.5;
}
.contact-card .row .k {
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  min-width: 92px;
  padding-top: 3px;
}
.contact-card .row .v {
  color: var(--ink);
  font-weight: 600;
}

/* ─── Footer ───────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  background: var(--sand-deep);
  border-top: 1px solid var(--sand-line);
  padding: 44px 28px 40px;
}
.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-links a:hover {
  color: var(--amber-dark);
}
.footer-copy {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-faint);
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 620px) {
  .doc {
    padding: 108px 20px 68px;
  }
  .doc-body h2 {
    gap: 10px;
  }
  .contact-card {
    padding: 22px 20px;
  }
  .contact-card .row {
    flex-direction: column;
    gap: 2px;
  }
  .nav-inner {
    padding: 0 20px;
  }
}
