:root {
  --bg: #0a1220;
  --surface: #0f1b2e;
  --card: #122036;
  --line: #1d3354;
  --field-border: #4f6b96;
  --text: #e8f0fa;
  --muted: #94a9c6;
  --accent: #4c8dff;
  --accent-2: #7eb0ff;
  --gold: #f5c16c;
  --ok: #8ed0a4;
  --danger: #ff8d8d;
  --wrap: 1040px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
html, body { margin: 0; }
body {
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h2 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 18, 32, 0.94);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 28px; height: 28px; border-radius: 6px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a:not(.keep) { display: none; }
.site-nav a, .lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.site-nav a:hover, .lang a:hover { color: var(--text); background: var(--card); }
.lang { display: flex; gap: 4px; }
/* Brand, Sign in and EN/PT need tighter spacing to fit a 320 px phone without sideways scroll. */
@media (max-width: 379px) {
  .site-head .wrap { gap: 8px; }
  .site-nav a { padding: 0 8px; }
}
.lang a { padding: 0 8px; font-size: 13px; font-weight: 700; }
.lang a.on { color: var(--text); background: var(--card); }
@media (min-width: 860px) {
  .site-nav a:not(.keep) { display: inline-flex; }
  .lang { margin-left: 8px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #071018;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--accent-2); }
.btn.big { min-height: 56px; padding: 0 32px; font-size: 18px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--field-border); }
.btn.ghost:hover { background: var(--card); }
.btn.full { width: 100%; }
.btn[disabled] { background: #1a2d4a; color: var(--muted); cursor: default; }

#hero { padding: 48px 0 64px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) {
  #hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
}
.eyebrow { color: var(--accent-2); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; }
#hero h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 16px; }
@media (min-width: 860px) { #hero h1 { font-size: 48px; } }
.hero-body { font-size: 18px; color: #c9d6e8; margin-bottom: 24px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.trial-note { color: var(--ok); font-weight: 600; font-size: 15px; margin-bottom: 16px; }
.honest { font-size: 14px; color: var(--muted); max-width: 34em; }
.hero-grid > *, .real-grid > * { min-width: 0; }
.hero-art { margin: 0; }
.hero-art img { display: block; width: 100%; height: auto; }

.real-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 760px) { .real-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.real-shot { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #071018; }
.real-shot img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: center 40%; }
.real-shot figcaption { padding: 8px 12px; color: var(--muted); font-size: 13px; }

.band { padding: 64px 0; border-top: 1px solid var(--line); }
.band.alt { background: var(--surface); }
.section-lead { color: var(--muted); font-size: 18px; max-width: 40em; margin-bottom: 32px; }
.cols { display: grid; gap: 24px; }
@media (min-width: 760px) { .cols.three { grid-template-columns: repeat(3, 1fr); } .cols.two { grid-template-columns: 1fr 1fr; } }
.point { border-left: 3px solid var(--accent); padding-left: 16px; }
.point p { color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 48px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--field-border);
  color: var(--accent-2);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps p { color: var(--muted); }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px 32px; }
@media (min-width: 760px) { .features { grid-template-columns: 1fr 1fr; } }
.features li { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.features strong { display: block; margin-bottom: 4px; }
.features span { color: var(--muted); font-size: 15px; }
.compare { margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.compare p { color: var(--muted); }

.prices { display: grid; gap: 16px; margin-bottom: 24px; }
@media (min-width: 760px) { .prices { grid-template-columns: repeat(4, 1fr); } }
.price { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 24px 16px 16px; background: var(--card); }
.price.featured { border-color: var(--ok); }
.price.best { border-color: var(--gold); }
.price h3 { font-size: 15px; color: var(--muted); font-weight: 600; }
.price .amount { margin: 4px 0; font-size: 30px; font-weight: 800; color: var(--text); }
.price.featured .amount { color: var(--ok); }
.price .was { margin: 0; color: var(--muted); font-size: 14px; text-decoration: line-through; }
.price .off { margin: 0 0 4px; color: var(--gold); font-size: 13px; font-weight: 700; }
.price .muted, .price .save { font-size: 13px; }
.price .save { color: var(--ok); }
.badge { position: absolute; top: -12px; left: 16px; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: #071018; font-size: 12px; font-weight: 700; }
.price .per-month { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.compare .btn { margin-top: 8px; }
.site-nav a.head-cta { margin-left: 8px; min-height: 40px; padding: 0 16px; background: var(--accent); color: #071018; font-weight: 700; }
.site-nav a.head-cta:hover { background: var(--accent-2); color: #071018; }
.pc-only-note { display: none; }
.pc-only-note p { color: var(--muted); }
/* Phones cannot run a Windows .exe, so they get a way to send the link to the PC instead. */
@media (max-width: 759px), (pointer: coarse) and (hover: none) {
  .btn.dl, .site-nav a.dl { display: none; }
  .pc-only-note { display: block; margin-bottom: 16px; }
}
.pay-line { color: var(--muted); font-size: 15px; margin-bottom: 16px; }

.faq { margin: 0; max-width: 46em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style-position: outside; }
.faq details p { color: var(--muted); padding-bottom: 16px; }
.rules { max-width: 46em; border-left: 3px solid var(--gold); padding-left: 16px; }
.rules p { color: #c9d6e8; font-size: 15px; }

.download-box { max-width: 40em; padding: 32px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.download-box ol { padding-left: 20px; color: var(--muted); margin: 16px 0 0; }
.download-box li { margin-bottom: 8px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; margin: 0 0 16px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
.shot { margin: 0; background: #0b1626; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; background: #071018; }
.shot figcaption { padding: 8px 12px; color: var(--muted); font-size: 13px; }
.community details { margin-top: 16px; }
.community summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--accent-2); font-weight: 600; }
.stars { display: flex; gap: 4px; margin: 0 0 12px; }
.stars button { border: 0; background: none; color: #5a7399; font-size: 24px; line-height: 1; cursor: pointer; min-width: 44px; min-height: 44px; padding: 0; }
.stars button.on { color: var(--gold); }
.review { border-top: 1px solid var(--line); padding: 12px 0 0; margin: 12px 0 0; }
.review .who { color: var(--muted); font-size: 13px; }
.score { font-size: 24px; font-weight: 700; color: var(--gold); }

.field { display: block; margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.field input, .field textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  border: 1px solid var(--field-border);
  border-radius: 8px;
  background: #0b1626;
  color: var(--text);
  font: inherit;
  min-height: 44px;
  padding: 8px 12px;
}
.field textarea { min-height: 80px; resize: vertical; }
.stone, .danger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: 8px 0 0;
  border: 0;
  border-radius: 10px;
  background: #1a2d4a;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.danger { background: #3a1a22; color: #ffb4b4; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.row .stone, .row .danger { flex: 1; min-width: 90px; }
.admin-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin: 0 0 12px; }
.admin-item img { width: 100%; border-radius: 8px; margin: 8px 0; }
.presence { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5a7399; flex-shrink: 0; }
.dot.on { background: var(--ok); }
.plan-list { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 12px; }
.plan-list .btn, .plan-list .stone { margin: 0; width: 100%; }
.error { color: var(--danger); font-size: 14px; min-height: 1.2em; }
.ok { color: var(--ok); font-size: 14px; }
#account .wrap { max-width: 560px; }

footer.site { padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer.site small { display: block; margin-top: 8px; }
footer.site .credit a { color: var(--muted); }
footer.site .credit a:hover { color: var(--text); }
/* A comfortable tap target on phones without making the footer taller on desktop. */
@media (pointer: coarse), (max-width: 759px) {
  footer.site .credit a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
}

/* Visible to screen readers and search engines only, so a section can have its heading without changing the design. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.features span a, .faq a { display: inline-block; min-height: 24px; }

/* Article pages (Bakragore timer, 404). */
.prose > * { max-width: 46em; }
.prose p, .prose li { color: var(--muted); }
.prose ol { padding-left: 20px; margin: 0; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent-2); font-weight: 700; }
.prose h3 { margin-top: 24px; }
.page-top { padding: 48px 0 56px; }
.page-top h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 16px; }
@media (min-width: 860px) { .page-top h1 { font-size: 44px; } }
.page-top .hero-body { max-width: 40em; }
.nav-back { display: inline-flex; align-items: center; min-height: 44px; }
