/* ============================================================================
   Clover Media — legal / support document pages (Tap)
   Clean readable layout matching the clovermedia.io homepage aesthetic.
   ============================================================================ */

:root {
  --clover-green: #0f7a3d;
  --clover-green-deep: #084a25;
  --clover-green-light: #e8f3ec;
  --cream: #f7f5ef;
  --ink: #14201a;
  --muted: #5a6b62;
}

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

html, body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.doc {
  width: min(760px, 92vw);
  margin: 0 auto;
  padding: 48px 0 96px;
}

.doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(20, 32, 26, 0.12);
}
.doc-head .home {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--clover-green-deep);
}
.doc-head .home img { width: 36px; height: 36px; border-radius: 50%; }
.doc-head .home .mark {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--clover-green-deep);
}
.doc-head .back {
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--muted);
  text-decoration: none;
}
.doc-head .back:hover { color: var(--clover-green-deep); }

.doc h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(34px, 6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.doc .updated {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}

.doc h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(22px, 4vw, 27px);
  color: var(--clover-green-deep);
  margin: 44px 0 14px;
}
.doc h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 26px 0 8px;
}
.doc p { color: #3a4a42; margin-bottom: 16px; }
.doc ul { margin: 0 0 16px 22px; color: #3a4a42; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--clover-green); text-decoration: none; }
.doc a:hover { text-decoration: underline; }

.doc .panel {
  background: var(--clover-green-light);
  border: 1px solid rgba(15, 122, 61, 0.18);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 8px 0 32px;
}
.doc .panel p:last-child { margin-bottom: 0; }

.doc .entity {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(20, 32, 26, 0.1);
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .doc { padding: 32px 0 72px; }
  .doc-head { margin-bottom: 30px; }
}
