/* Awakened Rift — site styles. Dark night city, gold of the Head's armour, violet of the Rift, cyan of the Gift. */
:root {
  --ink: #07080f;
  --ink-2: #0d1020;
  --panel: #12152a;
  --line: rgba(214, 178, 94, .28);
  --gold: #d9b56a;
  --gold-hi: #f1d79a;
  --violet: #8b5cf6;
  --cyan: #5ee6f2;
  --text: #e9e6f2;
  --muted: #a7a3bd;
  --danger: #ff8a7a;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 17px/1.65 "Exo 2", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 16px; justify-content: space-between;
  padding: 12px 20px; background: rgba(7, 8, 15, .82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold-hi); text-decoration: none;
  font: 600 15px/1 "Cinzel", Georgia, serif; letter-spacing: .18em; text-transform: uppercase; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--gold-hi); }
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.langs a, .langs span { padding: 3px 10px; font-size: 13px; letter-spacing: .06em; text-decoration: none; color: var(--muted); }
.langs span { background: rgba(217, 181, 106, .16); color: var(--gold-hi); }

/* hero */
.hero { position: relative; background: var(--ink); }
.hero-art { position: relative; max-width: 1600px; margin: 0 auto; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 28%;
  background: linear-gradient(180deg, rgba(7,8,15,0), var(--ink)); pointer-events: none; }
.hero-in { position: relative; z-index: 1; width: 100%; max-width: 1080px; margin: -36px auto 0; padding: 0 20px 24px; }
.hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* the logo on the art carries the name */
.tagline { margin: 0 0 10px; max-width: 34ch; font: 600 clamp(24px, 4vw, 38px)/1.2 "Cinzel", Georgia, serif; color: var(--gold-hi);
  text-wrap: balance; text-shadow: 0 2px 18px rgba(0,0,0,.7); }
.lead { margin: 0 0 22px; max-width: 58ch; color: var(--text); text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--gold); color: var(--gold-hi); background: rgba(7,8,15,.6); font-weight: 600; letter-spacing: .04em; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

/* sections */
main { display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 56px 20px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(139,92,246,.10), rgba(18,21,42,.6) 55%); }
.feature h3 { margin: 0 0 8px; font: 600 18px/1.3 "Cinzel", Georgia, serif; color: var(--gold-hi); letter-spacing: .04em; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.links { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 8px; }

/* documents */
.doc { max-width: 780px; margin: 0 auto; padding: 48px 20px 64px; }
.doc h1 { margin: 0 0 6px; font: 600 clamp(28px, 5vw, 40px)/1.15 "Cinzel", Georgia, serif; color: var(--gold-hi); text-wrap: balance; }
.doc .meta { margin: 0 0 32px; color: var(--muted); font-size: 15px; }
.doc h2 { margin: 36px 0 10px; font: 600 21px/1.3 "Cinzel", Georgia, serif; color: var(--gold-hi); letter-spacing: .02em; }
.doc h3 { margin: 22px 0 6px; font-size: 17px; color: var(--text); }
.doc p, .doc li { color: #d7d4e4; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.card { margin: 20px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.card.accent { border-color: rgba(94, 230, 242, .45); background: linear-gradient(160deg, rgba(94,230,242,.08), var(--panel) 60%); }
.card h3 { margin-top: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 38px; margin: 10px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; font-weight: 700; color: var(--ink); background: var(--gold); }
code, .mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .92em; color: var(--gold-hi); }
.email { font-weight: 600; word-break: break-all; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table { overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--gold-hi); font-weight: 600; }

/* footer */
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot .wrap { padding: 28px 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.foot a { color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .top { padding: 10px 16px; }
  .nav { gap: 12px; font-size: 14px; }
  .brand span { display: none; }
  .hero-in, .wrap, .doc { padding-left: 16px; padding-right: 16px; }
}
