/* Titlehunt website v0. Palette from the app's DESIGN.md. No external fonts, scripts, cookies or trackers. */
:root {
  --void: #010A13;
  --navy: #0A1428;
  --navy-2: #0F1E36;
  --line: #1E2D45;
  --gold: #C8AA6E;
  --gold-bright: #F0D79B;
  --text: #F0E6D2;
  --muted: #B8B2A4;
  --teal: #0AC8B9;
  --purple: #9B7BEA;
  --radius: 14px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 70% -10%, #1B1440 0%, transparent 60%), var(--void);
  color: var(--text);
  font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--gold-bright); }
a:hover { color: var(--text); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
header.top { border-bottom: 1px solid var(--line); background: rgba(1,10,19,.7); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 5; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .5px; font-size: 19px; }
.mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--gold), #8A6A2F); display: grid; place-items: center; color: var(--void); font-weight: 800; font-size: 16px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 22px; font-size: 15px; }
nav a:hover { color: var(--text); }

.hero { padding-top: 96px; padding-bottom: 72px; }
.eyebrow { color: var(--teal); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; margin: 14px 0 20px; letter-spacing: -.5px; }
h1 .gold { color: var(--gold); }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-bright); font-weight: 600; background: rgba(200,170,110,.08); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(10,200,185,.6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(10,200,185,.5); } 70% { box-shadow: 0 0 0 10px rgba(10,200,185,0); } 100% { box-shadow: 0 0 0 0 rgba(10,200,185,0); } }
.note { color: var(--muted); font-size: 15px; margin-top: 14px; }

/* A small illustrative progress card made of HTML, not a screenshot of the game. */
.demo { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: linear-gradient(180deg, var(--navy-2), var(--navy)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card .t { font-weight: 600; }
.card .s { color: var(--muted); font-size: 14px; }
.bar { height: 8px; border-radius: 99px; background: #13233D; margin: 14px 0 8px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--purple), var(--gold)); }
.pct { font-size: 28px; font-weight: 700; color: var(--gold-bright); }
.chip { display: inline-block; font-size: 12px; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); margin: 8px 6px 0 0; }

section { padding: 64px 0; border-top: 1px solid var(--line); }
h2 { font-size: 32px; margin: 0 0 12px; }
.sub { color: var(--muted); max-width: 680px; margin: 0 0 36px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feat h3 { margin: 8px 0 6px; font-size: 19px; }
.feat p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(155,123,234,.15); color: var(--purple); font-size: 20px; }

.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.trust div { padding-left: 16px; border-left: 2px solid var(--gold); }
.trust b { display: block; margin-bottom: 4px; }
.trust span { color: var(--muted); font-size: 16px; }

.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; background: var(--navy); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 10px 0 0; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .links a { color: var(--muted); margin-right: 18px; }
footer .riot { margin-top: 18px; max-width: 760px; }

/* Text pages (privacy) */
.doc { padding-top: 56px; padding-bottom: 24px; max-width: 760px; }
.doc h1 { font-size: 40px; }
.doc h2 { font-size: 22px; margin-top: 36px; }
.doc p, .doc li { color: #DCD3C0; }
.doc .updated { color: var(--muted); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 600px) { nav a { margin-left: 14px; } .hero { padding-top: 64px; padding-bottom: 48px; } }
.w86 { width: 86%; } .w62 { width: 62%; } .w41 { width: 41%; }
.w87 { width: 87%; } .w80 { width: 80%; }
.cname { font-size: 20px; font-weight: 700; color: var(--text); margin-top: 6px; }
.card .t { color: var(--teal); font-size: 13px; letter-spacing: .5px; text-transform: uppercase; }
.gm { color: #E0504A; font-weight: 600; }
.rare { margin-top: 22px; }
