/* Shared styles for Runnin legal pages (terms / privacy / cookies). */
:root {
  --bg: #0C0A09;
  --surface: #1C1917;
  --border: rgba(255, 255, 255, 0.1);
  --text: #FAFAF9;
  --text-2: #A8A29E;
  --primary: #F97316;
  --on-primary: #1C0A00;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', system-ui, sans-serif;
  line-height: 1.7;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
main.wrap { padding-bottom: 96px; }
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(12, 10, 9, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 64px; padding: 8px 0;
}
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo img { height: 40px; width: auto; display: block; }
.back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary); text-decoration: none; font-weight: 600; font-size: 15px;
  border: 1.5px solid var(--primary); border-radius: 999px;
  padding: 9px 16px; white-space: nowrap;
}
.back:hover { background: rgba(249, 115, 22, 0.16); }
a { color: var(--primary); }
h1 {
  font-family: 'Barlow Condensed', sans-serif; font-size: clamp(30px, 6vw, 40px);
  text-transform: uppercase; margin-bottom: 8px; line-height: 1.1;
}
h2 {
  font-family: 'Barlow Condensed', sans-serif; font-size: 26px;
  text-transform: uppercase; margin: 36px 0 10px;
}
p, li { color: var(--text-2); margin-bottom: 10px; }
ul, ol { padding-left: 22px; }
strong { color: var(--text); font-weight: 600; }
.meta { color: var(--text-2); font-size: 14px; margin-bottom: 32px; }

/* Cookie banner */
.cookie-note {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 720px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 16px 20px; display: flex; align-items: center; gap: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; font-size: 14px; flex: 1; }
.cookie-note a {
  color: var(--primary);
  font-weight: 600;
  text-underline-offset: 3px;
}
.cookie-note button {
  background: var(--primary); color: var(--on-primary); border: 0; cursor: pointer;
  font: inherit; font-weight: 600; border-radius: 10px; padding: 10px 22px;
  min-height: 44px;
}
@media (max-width: 560px) {
  .nav { min-height: 56px; }
  .logo img { height: 32px; }
  .back { font-size: 14px; padding: 8px 12px; }
  .cookie-note { flex-direction: column; align-items: stretch; text-align: center; }
}
