/* Ryker's Realm public site. Same tokens as the launcher (src/renderer/styles.css), trimmed. */

@font-face { font-family: 'Cinzel'; src: url('fonts/cinzel-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('fonts/cinzel-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --bg: #0d0e12;
  --panel: #121319;
  --surface: #1a1c23;
  --surface-2: #22252e;
  --line: #23262f;
  --line-2: #323642;
  --text: #f1f1f3;
  --text-2: #b9bcc6;
  --muted: #7e818c;
  --gold: #e9b44c;
  --gold-hi: #ffd98a;
  --gold-lo: #b9781c;
  --radius: 10px;
  --display: 'Cinzel', Georgia, serif;
  --ui: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--ui);
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #14151c, var(--bg));
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand img { height: 44px; width: auto; display: block; }
.brand b { font: 700 19px/1 var(--display); letter-spacing: 0.3px; }
nav { display: flex; gap: 18px; font-size: 14.5px; }
nav a { color: var(--text-2); }
nav a:hover, nav a[aria-current='page'] { color: var(--gold); }

/* Hero */
.hero { padding: 56px 0 40px; text-align: center; }
.hero h1 { font: 700 clamp(30px, 5vw, 46px)/1.15 var(--display); margin: 0 0 14px; }
.hero p { color: var(--text-2); font-size: 18px; margin: 0 auto; max-width: 620px; }
.tag { display: inline-block; margin-bottom: 18px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--gold); font-size: 12.5px; letter-spacing: 0.6px; text-transform: uppercase; }

/* Content */
main { padding-bottom: 56px; }
section { padding: 34px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }
h2 { font: 700 26px/1.25 var(--display); margin: 0 0 14px; }
h3 { font: 600 17px/1.3 var(--ui); margin: 26px 0 8px; }
p, li { color: var(--text-2); }
ul { padding-left: 22px; }
li { margin: 6px 0; }
strong { color: var(--text); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 18px 0; }
.note { border-left: 3px solid var(--gold-lo); }

/* Price table */
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
td:last-child, th:last-child { text-align: right; }
tbody tr:last-child td { border-bottom: 0; }
.pts { color: var(--gold); font-weight: 600; }

/* Steps */
ol.steps { counter-reset: s; list-style: none; padding: 0; }
ol.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0; }
ol.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line-2);
  color: var(--gold); font-weight: 600; font-size: 14px;
  display: grid; place-items: center;
}

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: #2a1904; font-weight: 600; font-size: 15px;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn.ghost { background: transparent; border: 1px solid var(--line-2); color: var(--text); }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13.5px;
}
footer .links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
footer a { color: var(--text-2); }
footer p { color: var(--muted); font-size: 13px; margin: 8px 0 0; }

@media (max-width: 560px) {
  .bar { justify-content: center; }
  .hero { padding: 38px 0 28px; }
}
