/* =====================================================================
   legal.css — privacy policy and terms of service.

   Content lifted from the live beeylo.com pages (beeylo-landing), set in
   this site's own type so the whole thing reads as one place. A long
   read, so: one column, generous measure, quiet headings.
   ===================================================================== */

.legal-body {
  overflow: auto;
  background: var(--cream);
}
.legal-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 88% -8%, #fbe3a6 0%, rgba(251, 227, 166, 0) 62%),
    var(--cream);
}

.legal {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(38px, 8vh, 76px)) var(--edge)
    clamp(60px, 10vh, 96px);
  font-family: var(--f-ui);
  color: var(--ink-2);
}

.legal h1 {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(34px, 5.4vw, 54px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.legal .updated {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #a09a86;
}
.legal h2 {
  margin-top: clamp(34px, 5vh, 52px);
  font-family: var(--f-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -0.024em;
  line-height: 1.2;
  color: var(--ink);
}
.legal h3 {
  margin-top: 26px;
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.legal p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: -0.006em;
}
.legal ul,
.legal ol {
  margin-top: 14px;
  padding-left: 0;
  list-style: none;
}
.legal li {
  position: relative;
  margin-top: 9px;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.006em;
}
.legal li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.66em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}
.legal strong {
  color: var(--ink);
  font-weight: 600;
}
.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(245, 180, 0, 0.6);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.legal a:hover {
  text-decoration-color: var(--amber);
}
.legal code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: rgba(16, 17, 20, 0.05);
  border-radius: 5px;
  padding: 2px 6px;
}

/* the pulled-out notes in the source pages */
.legal .callout {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(16, 17, 20, 0.07);
  box-shadow: 0 2px 12px -6px rgba(70, 55, 15, 0.2);
  font-size: 15px;
  line-height: 1.62;
}
.legal .callout strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-foot {
  margin-top: clamp(46px, 8vh, 78px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #a09a86;
}
.legal-foot nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.legal-foot a {
  color: inherit;
  text-decoration: none;
}
.legal-foot a:hover {
  color: var(--ink);
}
