:root {
  --brand: #bb053e;
  --brand-dark: #43091f;
  --brand-soft: #ffdff9;
  --paper: #fff8fb;
  --ink: #17131a;
  --muted: #665c66;
  --line: rgba(187, 5, 62, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 223, 249, 0.85), transparent 34rem),
    linear-gradient(180deg, #fff, var(--paper));
}

.legal-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 56px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), #e60055);
}

.back-link {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.legal-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 60px rgba(67, 9, 31, 0.12);
}

.legal-hero {
  padding: 38px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 177, 138, 0.45), transparent 18rem),
    linear-gradient(145deg, var(--brand-dark), var(--brand));
}

.legal-hero p {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 10px;
  color: #ffd88f;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.03;
}

h2 {
  margin: 34px 0 12px;
  color: var(--brand-dark);
  font-size: 1.35rem;
}

h3 {
  margin: 22px 0 8px;
  color: var(--brand-dark);
  font-size: 1.06rem;
}

p,
li {
  color: var(--muted);
  line-height: 1.72;
}

.legal-content {
  padding: 34px 38px 42px;
}

.notice {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: var(--brand-soft);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.info-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: #fff;
}

.info-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-dark);
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
  text-decoration: none;
}

.button.secondary {
  color: var(--brand);
  background: #fff;
  border: 1px solid var(--line);
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  padding: 30px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-footer a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 640px) {
  .legal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-hero,
  .legal-content {
    padding: 28px 22px;
  }
}
