/* PINKSCRUNCHY — TERMS OF SERVICE AND PRIVACY POLICY */

:root {
  --pink: #c2186b;
  --pink-light: #fde7f1;
  --text: #1f2333;
  --muted: #5d6475;
  --line: #ece6ea;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: #fbf3f7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.lg-page {
  width: min(100% - 32px, 760px);
  margin: 24px auto 64px;
  padding: 28px clamp(18px, 5vw, 48px) 40px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(194, 24, 107, 0.08);
}

.lg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.lg-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  font-weight: 700;
  color: var(--pink);
  text-decoration: none;
}

.lg-back svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lg-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--pink);
  text-decoration: none;
}

.lg-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

h1 {
  margin: 8px 0 4px;
  font-size: clamp(28px, 6vw, 36px);
  line-height: 1.2;
  text-wrap: balance;
}

.lg-date {
  margin: 0 0 20px;
  color: var(--muted);
}

.lg-summary {
  margin: 0 0 28px;
  padding: 16px 18px;
  background: var(--pink-light);
  border-radius: 14px;
}

.lg-summary p {
  margin: 0;
}

.lg-contents {
  margin: 0 0 32px;
  padding: 0 0 0 20px;
  columns: 2 240px;
  font-size: 15px;
}

.lg-contents a {
  color: var(--text);
}

h2 {
  margin: 36px 0 8px;
  padding-top: 8px;
  font-size: 21px;
  line-height: 1.3;
  scroll-margin-top: 16px;
}

h3 {
  margin: 20px 0 6px;
  font-size: 17px;
}

p,
li {
  max-width: 68ch;
}

ul {
  padding-left: 22px;
}

li + li {
  margin-top: 4px;
}

a {
  color: var(--pink);
}

a:focus-visible {
  outline: 3px solid #f6b9d5;
  outline-offset: 2px;
}

/* Details the owner must fill in before the site goes live */
mark.fill {
  padding: 0 4px;
  color: #6b4500;
  background: #fff1cc;
  border-radius: 4px;
}

.lg-footer {
  margin-top: 40px;
  padding-top: 18px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* Shown when Pinkscrunchy is in Yorùbá, Hausa or Igbo */
.lg-english-only {
  margin: 0 0 16px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #7a2350;
  background: #fdf0f7;
  border-radius: 10px;
}
html[lang="en"] .lg-english-only {
  display: none;
}

.lg-contact {
  padding-left: 0;
  list-style: none;
}

/* Who a document is for: buyers or sellers */
.lg-audience {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--pink);
  background: var(--pink-light);
  border-radius: 999px;
}

/* terms.html and privacy.html: choose buyer or seller */
.lg-choose-lead {
  margin: 0 0 18px;
  color: var(--muted);
}

.lg-choose {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lg-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px;
  color: var(--text);
  text-decoration: none;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.15s, background 0.15s;
}

.lg-choice:hover,
.lg-choice:focus-visible {
  border-color: var(--pink);
  background: #fff8fb;
}

.lg-choice strong {
  font-size: 17px;
}

.lg-choice small {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 560px) {
  .lg-choose {
    grid-template-columns: 1fr;
  }
}
