/* QuitWeed AI — Legal Pages — Sunrise Glow theme */
:root {
  --primary: #FF7A59;
  --primary-dark: #C44A2C;
  --primary-soft: #FFE0D4;
  --secondary: #FFB174;
  --bg: #FFFAF5;
  --surface: #FFFFFF;
  --text: #2D1F1A;
  --text-muted: #6B5847;
  --border: #F0E3D5;
  --gradient: linear-gradient(135deg, #FF7A59 0%, #FFB174 100%);
  --gradient-bg: linear-gradient(170deg, #FFF6E8 0%, #FFE8DC 60%, #FFDAE8 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--gradient-bg);
  min-height: 100vh;
  line-height: 1.6;
  padding: 32px 20px 64px;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(255, 122, 89, 0.08), 0 4px 12px rgba(255, 122, 89, 0.04);
}

header.hero { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}
.brand::before {
  content: "🌿"; font-size: 20px;
  -webkit-text-fill-color: initial;
}

h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.subtitle {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 32px 0 12px;
  color: var(--text);
}
h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 20px 0 8px;
  color: var(--text);
}
p, li { font-size: 16px; line-height: 1.65; color: var(--text); margin-bottom: 10px; }
ul { padding-left: 24px; margin-bottom: 16px; }
li::marker { color: var(--primary); }
strong { color: var(--primary-dark); font-weight: 700; }
a { color: var(--primary); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
a:hover { border-bottom-color: var(--primary); }

.warning {
  background: #FFF3EC;
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15px;
}

.footer-meta {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.lang-switch {
  position: absolute; top: 32px; right: 32px;
  display: flex; gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(255, 122, 89, 0.10);
}
.lang-switch a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 999px;
  text-transform: uppercase;
  border-bottom: none;
}
.lang-switch a.active { background: var(--gradient); color: white; }
.lang-switch a:not(.active) { color: var(--text-muted); }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.back-link::before { content: "←"; }
.back-link:hover { color: var(--primary); border-bottom: none; }

@media (max-width: 600px) {
  body { padding: 16px 12px 48px; }
  .container { padding: 28px 22px; border-radius: 20px; }
  .lang-switch { position: static; margin-bottom: 20px; display: inline-flex; }
}
