:root {
  --ink: #070706;
  --text: #11100d;
  --paper: #f3eee6;
  --card: #fcf6ec;
  --muted: #70695f;
  --cream: #fdf7ed;
  --line: #ddd2c2;
  --accent: #f15252;
  --poka: #f15252;
  --shadow: 0 100px 80px rgba(205, 196, 179, 0.07),
    0 41.778px 33.422px rgba(205, 196, 179, 0.05),
    0 22.336px 17.869px rgba(205, 196, 179, 0.04),
    0 12.522px 10.017px rgba(205, 196, 179, 0.04),
    0 6.65px 5.32px rgba(205, 196, 179, 0.03),
    0 2.767px 2.214px rgba(205, 196, 179, 0.02);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--text);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  margin: 0;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

.legal-product-poka {
  --accent: #f15252;
}

.legal-product-lofi {
  --accent: #5fc878;
}

.legal-product-bebo {
  --accent: #3f75d6;
}

.legal-product-capymood {
  --accent: #62bf78;
}

.legal-product-poview {
  --accent: #7b63d8;
}

.legal-product-litefast {
  --accent: #f0a33b;
}

.legal-product-livelog {
  --accent: #2eb7a3;
}

.legal-product-minus {
  --accent: #3f75d6;
}

.legal-product-luvs {
  --accent: #e35f92;
}

.legal-product-pixelpunk {
  --accent: #f15252;
}

.legal-header {
  align-items: center;
  background: rgba(243, 238, 230, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(112, 105, 95, 0.12);
  display: flex;
  height: 104px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(24px, 5.55vw, 80px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.legal-brand {
  display: block;
  width: 159px;
}

.legal-brand img {
  display: block;
  width: 100%;
}

.legal-home {
  align-items: center;
  border: 1px solid rgba(7, 7, 6, 0.12);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  min-height: 44px;
  padding: 12px 22px;
  text-decoration: none;
}

.legal-shell {
  padding: 160px clamp(24px, 5.55vw, 80px) 76px;
}

.legal-hero {
  margin: 0 auto 58px;
  max-width: 1040px;
  position: relative;
}

.legal-hero::before {
  color: rgba(7, 7, 6, 0.07);
  content: attr(data-mark);
  font-family: "Abril Fatface", Georgia, serif;
  font-size: clamp(90px, 14vw, 190px);
  left: -8px;
  line-height: 0.82;
  position: absolute;
  top: 2px;
  z-index: -1;
}

.legal-kicker {
  color: var(--accent);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.legal-hero h1 {
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 1.08;
  margin: 0;
  max-width: 760px;
}

.legal-meta {
  align-items: center;
  background: rgba(252, 246, 236, 0.62);
  border: 1px solid rgba(112, 105, 95, 0.16);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  gap: 10px;
  line-height: 1.4;
  margin: 24px 0 0;
  max-width: 520px;
  padding: 10px 16px;
  width: fit-content;
}

.legal-meta:empty {
  display: none;
}

.legal-meta:not(:empty)::before {
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent);
  content: "";
  flex: 0 0 auto;
  height: 7px;
  width: 7px;
}

.legal-card {
  background: var(--card);
  border: 0.5px solid #fff;
  border-radius: 44px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 1040px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 72px);
  position: relative;
}

.legal-card::before {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 50%;
  content: "";
  height: 300px;
  position: absolute;
  right: -128px;
  top: -148px;
  width: 300px;
}

.legal-content {
  color: #333;
  font-size: 17px;
  line-height: 1.86;
  position: relative;
  z-index: 1;
}

.legal-content p,
.legal-content li {
  margin: 0 0 16px;
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
  margin: 34px 0 14px;
}

.legal-content strong {
  color: var(--text);
  font-weight: 900;
}

.legal-content ol,
.legal-content ul {
  margin: 0 0 20px;
  padding-left: 1.3em;
}

.legal-content a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  word-break: break-word;
}

.legal-content details {
  border-top: 1px solid rgba(112, 105, 95, 0.18);
  padding: 20px 0;
}

.legal-content details:last-child {
  border-bottom: 1px solid rgba(112, 105, 95, 0.18);
}

.legal-content summary {
  color: var(--text);
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
  list-style: none;
}

.legal-content summary::-webkit-details-marker {
  display: none;
}

.legal-content summary::after {
  color: var(--accent);
  content: "+";
  float: right;
  font-size: 24px;
  line-height: 1;
  margin-left: 18px;
}

.legal-content details[open] summary::after {
  content: "-";
}

.legal-content .legal-answer {
  color: #4f493f;
  padding-top: 14px;
}

.legal-content .legal-answer p:last-child,
.legal-content .legal-answer ul:last-child {
  margin-bottom: 0;
}

.legal-content .legal-answer-pending {
  color: var(--muted);
  font-weight: 700;
}

.legal-link-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-link-group {
  border-top: 1px solid rgba(112, 105, 95, 0.18);
  padding-top: 18px;
}

.legal-link-group h3 {
  margin-top: 0;
}

.legal-link-group ul {
  margin-bottom: 0;
}

.legal-table-wrap {
  background: rgba(252, 246, 236, 0.58);
  border: 1px solid var(--line);
  border-radius: 24px;
  margin: 28px 0;
  max-width: 100%;
  overflow-x: auto;
}

.legal-content table {
  border-collapse: collapse;
  display: table;
  margin: 0;
  min-width: 780px;
  width: 100%;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--line);
  line-height: 1.6;
  min-width: 160px;
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--text);
  font-weight: 900;
}

.legal-content th[colspan],
.legal-content td[colspan] {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--text);
  font-weight: 900;
  text-align: center;
}

.legal-content td[rowspan] {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  color: var(--text);
  font-weight: 900;
}

.legal-content tbody tr:first-child td {
  background: rgba(7, 7, 6, 0.035);
  color: var(--text);
  font-weight: 800;
}

.legal-footer {
  color: rgba(112, 105, 95, 0.62);
  font-size: 14px;
  line-height: 1.8;
  padding: 48px 24px 64px;
  text-align: center;
}

.legal-footer p {
  margin: 0;
}

.legal-footer a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 820px) {
  .legal-header {
    height: 78px;
    padding: 0 24px;
  }

  .legal-brand {
    width: 132px;
  }

  .legal-home {
    font-size: 14px;
    min-height: 40px;
    padding: 10px 16px;
  }

  .legal-shell {
    padding: 116px 18px 48px;
  }

  .legal-hero {
    margin-bottom: 44px;
  }

  .legal-hero h1 {
    font-size: 40px;
  }

  .legal-meta {
    align-self: auto;
    font-size: 14px;
    padding: 9px 13px;
  }

  .legal-card {
    border-radius: 28px;
    padding: 28px;
  }

  .legal-content {
    font-size: 16px;
    line-height: 1.78;
  }

  .legal-content h2,
  .legal-content h3,
  .legal-content h4 {
    font-size: 20px;
  }

  .legal-content th[colspan],
  .legal-content td[colspan] {
    text-align: left;
  }

  .legal-content summary {
    font-size: 18px;
  }

  .legal-link-grid {
    grid-template-columns: 1fr;
  }
}
