:root {
  --bg: #16181b;
  --bg-2: #1e2125;
  --panel: linear-gradient(160deg, #2c3036 0%, #23262b 45%, #1b1d21 100%);
  --edge: rgba(255, 255, 255, 0.08);
  --edge-hi: rgba(255, 255, 255, 0.18);
  --text: #e6e8eb;
  --muted: #9aa1aa;
  --steel: #c3c9d1;
  --accent: #9cc3d5;      /* soft ice blue */
  --accent-2: #b9b3d6;    /* soft lavender */
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Rajdhani", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background:
    radial-gradient(1200px 600px at 50% -200px, #2a2e34 0%, transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px),
    var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 720px; margin: 0 auto; padding: 56px 16px 40px; }

/* Header */
.brand { text-align: center; margin-bottom: 40px; }

.badge {
  width: 96px; height: 96px; margin: 0 auto 20px;
  border-radius: 24px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #e9edf1 0%, #a9b0b9 35%, #6c737c 60%, #c9ced5 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.6);
  position: relative;
}
.badge::after {
  content: ""; position: absolute; inset: 4px; border-radius: 20px;
  background: linear-gradient(160deg, #31363d, #1d2024);
}
.badge span {
  position: relative; z-index: 1;
  font: 700 34px/1 var(--display); letter-spacing: 1px;
  background: linear-gradient(180deg, #f4f6f8 0%, #b8c0c9 55%, #8e97a1 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

h1 {
  margin: 0;
  font: 700 clamp(34px, 8vw, 52px)/1.05 var(--display);
  letter-spacing: 0.06em; text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #c7cdd4 50%, #8f98a2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.tagline {
  margin: 10px 0 0; color: var(--muted);
  font: 600 15px/1.4 var(--font); letter-spacing: 0.22em; text-transform: uppercase;
}
.tagline b { color: var(--accent); font-weight: 600; }
.tagline i { color: var(--accent-2); font-style: normal; }

/* Links */
.links { display: grid; gap: 12px; }

.link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 6px 18px rgba(0,0,0,0.25);
  color: var(--text);
  transition: transform .15s ease, border-color .15s ease;
}
.link:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--edge-hi); }

.icon {
  flex: 0 0 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #3a3f46, #262a2f);
  border: 1px solid var(--edge);
}
.icon svg { width: 20px; height: 20px; fill: var(--steel); }

.link .name { font-weight: 600; }
.link .handle { color: var(--muted); font-size: 14px; }
.link .text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.link .go { color: var(--muted); font-size: 18px; }

.link.soon { opacity: 0.55; pointer-events: none; }
.pill {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  border: 1px solid var(--edge-hi); color: var(--accent-2);
}

.contact {
  margin-top: 28px; text-align: center; color: var(--muted);
}

/* Footer */
footer {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid var(--edge);
  text-align: center; color: var(--muted); font-size: 14px;
}
footer nav { display: flex; justify-content: center; gap: 18px; margin-bottom: 8px; flex-wrap: wrap; }
footer a { color: var(--steel); }

/* Legal pages */
.doc { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius); padding: 28px 24px; }
.doc h1 { font-size: clamp(28px, 6vw, 38px); margin-bottom: 4px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.doc h2 { font: 700 20px/1.3 var(--display); letter-spacing: .04em; color: var(--steel); margin: 28px 0 8px; text-transform: uppercase; }
.doc p, .doc li { color: #d3d7dc; }
.doc ul { padding-left: 20px; }
.back { display: inline-block; margin-bottom: 18px; color: var(--muted); }

@media (max-width: 480px) {
  .wrap { padding-top: 40px; }
  .doc { padding: 22px 16px; }
}
