/* Unfight — Legal pages shared stylesheet */
:root {
  --coral: #FF7A6B;
  --coral-deep: #E8594A;
  --coral-mist: #FFD4CE;
  --honey-mist: #FCE5C7;
  --bg-top: #FFE8D6;
  --bg-bottom: #FFF7ED;
  --surface: #FFFDF9;
  --border: rgba(61, 42, 31, 0.10);
  --divider: rgba(61, 42, 31, 0.07);
  --text: #3D2A1F;
  --muted: #8B7568;
  --subtle: #B8A597;
  font-size: 16px;
}

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

body {
  min-height: 100vh;
  font-family: -apple-system, 'SF Pro Rounded', 'SF Pro', system-ui, Helvetica, Arial, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(600px 400px at 100% 0%, var(--coral-mist) 0%, transparent 60%),
    radial-gradient(500px 400px at 0% 100%, var(--honey-mist) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  padding: 32px 20px 64px;
}

.container {
  max-width: 720px;
  margin: 0 auto;
}

/* Header */
header.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}
header.brand .logo {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--coral), #FF9177);
  color: #fff;
  font-family: 'New York', Georgia, serif;
  font-weight: 700;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(255, 122, 107, 0.3);
}
header.brand .brand-text .name {
  font-family: 'New York', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
header.brand .brand-text .slogan {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.2px;
}

/* Typography */
h1 {
  font-family: 'New York', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  color: var(--text);
}
.meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.meta span::before { content: '·  '; color: var(--subtle); }
.meta span:first-child::before { content: ''; }

h2 {
  font-family: 'New York', Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.2px;
}
h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: 22px;
  margin-bottom: 6px;
  color: var(--text);
}

p, li {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 14px;
}
li { margin-bottom: 8px; }
ul, ol { padding-left: 22px; margin-bottom: 14px; }

a { color: var(--coral-deep); text-decoration: none; border-bottom: 1px solid rgba(232, 89, 74, 0.3); transition: border-color 0.2s; }
a:hover { border-bottom-color: var(--coral-deep); }

/* Intro blockquote */
.lede {
  padding: 18px 20px;
  background: var(--surface);
  border-left: 3px solid var(--coral);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(61,42,31,0.05), 0 6px 20px rgba(61,42,31,0.05);
  margin-bottom: 24px;
}
.lede p { margin-bottom: 0; font-size: 1.0625rem; color: var(--text); }

/* Callout */
.callout {
  padding: 16px 20px;
  background: rgba(157, 187, 163, 0.12);
  border-left: 3px solid #9DBBA3;
  border-radius: 10px;
  font-size: 0.9375rem;
  color: #4E6B55;
  margin: 18px 0;
}
.callout strong { color: #3A5543; }
.callout.warn {
  background: rgba(242, 168, 92, 0.14);
  border-left-color: #E89B4B;
  color: #7A4A18;
}
.callout.warn strong { color: #5A3612; }

/* Footer */
footer.legal-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
}
footer.legal-footer .links a {
  margin-right: 18px;
}

/* Subtle emphasis */
strong { font-weight: 600; color: var(--text); }
em { font-style: italic; color: var(--muted); }

/* Small print */
.small-print {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 24px;
  line-height: 1.55;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  body { padding: 20px 16px 48px; }
  header.brand { margin-bottom: 24px; }
  h2 { font-size: 1.35rem; margin-top: 32px; }
  p, li { font-size: 1rem; }
}
