/* Shared by every page of the site: fonts, colours, the top bar and the footer. */
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/site/BarlowCondensed-Bold.ttf") format("truetype"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("/site/Barlow-Regular.ttf") format("truetype"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("/site/Barlow-SemiBold.ttf") format("truetype"); }

:root { --bg: #000; --card: #121212; --line: #262626; --text: #f4f4f4; --muted: #a9a9a9; --accent: #e9b949; --danger: #ff5a52; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
h1, h2, h3 { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; margin: 0; line-height: 1.05; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* Top bar: floats over the home page's hero; solid and sticky on the other pages */
header.site { position: fixed; inset: 0 0 auto 0; z-index: 10; background: linear-gradient(#000c, #0000); }
header.site.solid { position: sticky; background: #000e; backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.site .bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { color: var(--text); display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 28px/1 "Barlow Condensed", sans-serif; letter-spacing: .5px; }
.brand img { height: 26px; }
header.site nav a { margin-left: 22px; text-decoration: none; color: #ddd; font-weight: 600; font-size: 15px; }
header.site nav a:hover { color: var(--accent); }
@media (max-width: 640px) { header.site nav a.opt { display: none; } }

/* Footer */
footer.site { padding: 44px 0 60px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 40px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
footer.site p { margin: 0 0 8px; max-width: 520px; }
footer.site a { color: #ddd; }
footer.site .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Text pages (privacy, terms, import guide, 404) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 22px 40px; }
.doc h1 { font-size: clamp(38px, 7vw, 56px); margin-bottom: 8px; }
.doc h2 { font-size: 28px; margin: 38px 0 8px; color: var(--accent); }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--text); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--accent); }
.doc .small { font-size: 14px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
