@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/DMSans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --ink: #15121f;
  --surface: #211c30;
  --text: #f4f1fa;
  --muted: #a8a2ba;
  --accent: #ff5c8a;
}

* { box-sizing: border-box; }

html { background: var(--ink); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 50% 0%, #2a2140 0%, var(--ink) 60%);
  color: var(--text);
  font: 17px/1.6 "DM Sans", system-ui, sans-serif;
}

a { color: var(--accent); }

main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 16px;
}

.hero { text-align: center; padding-top: 6vh; }
.hero img { width: 128px; height: 128px; border-radius: 28px; }

h1, h2 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(40px, 9vw, 64px); margin: 24px 0 8px; }
h1 .a { color: var(--accent); }
.tagline { font-size: 20px; color: var(--muted); margin: 0 auto 40px; max-width: 32ch; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  text-align: left;
}
.step { background: var(--surface); border-radius: 18px; padding: 18px 20px; }
.step b { display: block; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 19px; margin-bottom: 4px; }
.step span { color: var(--muted); font-size: 15px; }

.soon {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #3a3350;
  color: var(--muted);
  font-size: 15px;
}

footer {
  padding: 24px 16px 32px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 8px; }
footer a { color: var(--muted); }

/* Legal pages */
.doc { max-width: 760px; }
.doc header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.doc header a.home { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 700; font-size: 20px; }
.doc header a.home img { width: 36px; height: 36px; border-radius: 9px; }
.doc header .lang { font-size: 14px; color: var(--muted); }
.doc h1 { font-size: clamp(32px, 7vw, 44px); margin: 32px 0 4px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: #ddd8e8; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc .box { background: var(--surface); border-radius: 16px; padding: 16px 20px; margin: 16px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #332c47; }
.doc th { color: var(--muted); font-weight: 600; }
