/* UR Pro website - dark purple, no outside fonts, no trackers */
:root {
  --bg: #0b0912;
  --surface: #14101f;
  --surface-2: #1a1429;
  --border: #2a2142;
  --text: #ece8f8;
  --muted: #b3abcf;
  --accent: #8b5cf6;
  --accent-soft: #a78bfa;
  --accent-strong: #7c3aed;
  --good: #4ade80;
  --warn: #fbbf24;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(124, 58, 237, 0.22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-soft); text-underline-offset: 3px; }
a:hover { color: #c4b5fd; }
:focus-visible { outline: 3px solid #c4b5fd; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
[hidden] { display: none !important; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 9, 18, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; flex-wrap: wrap; padding: 6px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; }
.brand img { height: 30px; width: auto; filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.55)); }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 0.95rem; }
.nav a:hover, .nav a.on { color: var(--text); background: var(--surface-2); }
.nav a.cta { background: linear-gradient(135deg, var(--accent-strong), #9333ea); color: #fff; font-weight: 600; }
.nav a.cta:hover { filter: brightness(1.12); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 14px; font-weight: 700; font-size: 1.02rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn.primary { background: linear-gradient(135deg, var(--accent-strong), #9333ea); color: #fff; box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4); }
.btn.primary:hover { filter: brightness(1.12); color: #fff; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
.btn[aria-disabled="true"] { opacity: 0.75; cursor: default; box-shadow: none; filter: none; }

/* hero */
.hero { padding: 64px 0 40px; background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(124, 58, 237, 0.28), transparent 70%); text-align: center; }
.eyebrow { display: inline-block; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--accent-soft); font-size: 0.85rem; background: var(--surface); margin-bottom: 22px; }
h1 { font-size: clamp(2.2rem, 6vw, 3.9rem); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
h1 .glow { background: linear-gradient(120deg, #c4b5fd, #a855f7 55%, #e879f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 720px; margin: 0 auto 28px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.small { font-size: 0.9rem; color: var(--muted); }
.hero .small { margin-top: 14px; }
.shot { margin: 40px auto 0; max-width: 960px; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.shot img { display: block; width: 100%; }
figcaption, .caption { font-size: 0.85rem; color: var(--muted); padding: 10px 14px; text-align: center; border-top: 1px solid var(--border); background: var(--surface); }

/* sections */
section { padding: 64px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--border); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 0 0 12px; letter-spacing: -0.01em; line-height: 1.2; }
h3 { margin: 0 0 6px; font-size: 1.15rem; }
.sub { color: var(--muted); max-width: 720px; margin: 0 0 32px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
section.alt .card { background: var(--bg); }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(139, 92, 246, 0.16); color: var(--accent-soft); margin-bottom: 14px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

dl.define { display: grid; gap: 0; margin: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
dl.define > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--border); }
dl.define > div:first-child { border-top: 0; }
dl.define dt { font-weight: 700; color: var(--accent-soft); }
dl.define dd { margin: 0; color: var(--text); }

.split { display: grid; gap: 36px; grid-template-columns: 1fr 1.1fr; align-items: center; }
.split.flip { grid-template-columns: 1.1fr 1fr; }
.split.flip .copy { order: 2; }
.split .copy p { color: var(--muted); }
ul.ticks { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
ul.ticks li { padding-left: 30px; position: relative; color: var(--text); }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 18px; height: 18px; border-radius: 50%; background: rgba(74, 222, 128, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
ul.ticks.no li::before { background: rgba(251, 191, 36, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E") center/12px no-repeat; }

.modes { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.mode h3 { display: flex; align-items: center; gap: 10px; }
.tag { font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(139, 92, 246, 0.2); color: #ddd6fe; }
.tag.game { background: rgba(217, 70, 239, 0.2); color: #f5d0fe; }

.steps { counter-reset: s; display: grid; gap: 14px; list-style: none; padding: 0; margin: 20px 0; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
section.alt .steps li { background: var(--bg); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--accent-strong); color: #fff; }
.steps li > b:first-child { display: block; }

.notice { border: 1px solid #5b4a1b; background: rgba(251, 191, 36, 0.08); border-radius: 14px; padding: 16px 18px; color: #fde68a; font-size: 0.96rem; }
.notice b { color: #fef3c7; }
.facts { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; padding: 0; list-style: none; }
.facts li { padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: 0.92rem; color: var(--muted); }
.facts b { color: var(--text); }

details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin: 0 0 10px; }
details[open] { border-color: #4c3a86; }
summary { cursor: pointer; padding: 16px 20px; font-weight: 650; list-style: none; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--accent-soft); line-height: 1; flex: none; }
details[open] > summary::after { content: "\2013"; }
details .ans { padding: 0 20px 18px; color: var(--muted); }
details .ans p { margin: 0 0 10px; }
details .ans ol, details .ans ul { margin: 6px 0 10px; padding-left: 22px; }
details .ans li { margin: 4px 0; }
details .ans b, details .ans strong { color: var(--text); }
code, kbd { font-family: Consolas, "Cascadia Mono", monospace; font-size: 0.92em; background: #221a38; border: 1px solid var(--border); padding: 1px 7px; border-radius: 6px; color: #ddd6fe; word-break: break-all; }

.group-title { margin: 36px 0 12px; font-size: 1.05rem; color: var(--accent-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.search { width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 1.05rem; font-family: inherit; }
.search::placeholder { color: #8a82a8; }
.search:focus { outline: 3px solid #c4b5fd; outline-offset: 2px; }
.empty { padding: 18px; border: 1px dashed var(--border); border-radius: 14px; color: var(--muted); }

.contact { border: 1px solid #4c3a86; border-radius: 20px; padding: 32px; background: linear-gradient(160deg, rgba(124, 58, 237, 0.22), rgba(20, 16, 31, 0.9)); text-align: center; }
.contact .num { display: block; font-size: clamp(1.8rem, 6vw, 2.8rem); font-weight: 800; letter-spacing: 0.04em; color: #fff; margin: 8px 0 18px; direction: ltr; }
.contact .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact p { margin: 0; color: var(--muted); }
.contact ul { text-align: left; max-width: 520px; margin: 18px auto 0; color: var(--muted); font-size: 0.97rem; }

.doc { max-width: 780px; }
.doc h2 { margin-top: 40px; font-size: 1.45rem; }
.doc p, .doc li { color: #d6d0ea; }
.doc ul { padding-left: 22px; }
.page-head { padding: 56px 0 8px; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(124, 58, 237, 0.2), transparent 70%); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); text-align: left; }
.page-head .lead { margin: 0 0 24px; max-width: 720px; text-align: left; }

footer { border-top: 1px solid var(--border); padding: 36px 0 48px; color: var(--muted); font-size: 0.93rem; }
footer .wrap { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer .ltr, .ltr { direction: ltr; unicode-bidi: embed; }
.byline { color: var(--text); font-weight: 600; }
.help-intro { display: grid; gap: 14px; margin: 18px 0 0; }
.help-fix { margin: 14px 0 0; }

@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.flip, .modes { grid-template-columns: 1fr; }
  .split.flip .copy { order: 0; }
  dl.define > div { grid-template-columns: 1fr; gap: 4px; }
  section { padding: 48px 0; }
  .hero { padding-top: 40px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .nav { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .nav a { white-space: nowrap; padding: 8px 9px; font-size: 0.92rem; }
  .nav a.hide-sm { display: none; }
  .top .wrap { gap: 6px; }
  .btn { width: 100%; }
  .contact { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
