/* Shared styling for RedForge legal pages — matches the site's dark language. */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600&family=Inter:wght@400;500&family=JetBrains+Mono:wght@500&display=swap');

:root { color-scheme: dark; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #050506;
  color: #edece8;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(229, 72, 77, 0.3); }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

header.nav {
  border-bottom: 1px solid #1f1f24;
  position: sticky; top: 0;
  background: rgba(5, 5, 6, 0.8);
  backdrop-filter: blur(12px);
}
header.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 24px; height: 24px; border-radius: 6px; }
.brand span { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; color: #edece8; letter-spacing: -0.02em; }
.brand .fx { color: #e5484d; }
.back { color: #a6a6af; text-decoration: none; font-size: 13px; }
.back:hover { color: #edece8; }

main.wrap { padding-top: 72px; padding-bottom: 96px; }
h1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(34px, 6vw, 52px); letter-spacing: -0.035em; line-height: 1.05;
  margin: 0 0 8px;
}
.updated { color: #55555f; font-family: 'JetBrains Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; margin: 0 0 40px; }
h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 22px; color: #edece8; margin: 40px 0 12px; letter-spacing: -0.02em; }
p, li { color: #a6a6af; font-size: 15px; }
strong { color: #edece8; font-weight: 500; }
a { color: #e5484d; }
a:hover { color: #ff5a57; }
ul { padding-left: 20px; }
li { margin: 6px 0; }
hr { border: none; border-top: 1px solid #1f1f24; margin: 40px 0; }
pre { background: #0b0b0d; border: 1px solid #1f1f24; border-radius: 10px; padding: 18px; overflow-x: auto; color: #a6a6af; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; line-height: 1.6; }
footer.legal { border-top: 1px solid #1f1f24; }
footer.legal .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 28px 24px; color: #55555f; font-size: 13px; }
a:focus-visible, .back:focus-visible, .brand:focus-visible { outline: 2px solid rgba(229,72,77,0.7); outline-offset: 3px; border-radius: 4px; }
