/* KeyController site. Escuro neutro, sem brilho nem degradê; a cor de destaque só nos botões
   e em poucos detalhes. As imagens reais do app fazem o trabalho visual. */
:root {
  color-scheme: dark;
  --ground: #0f1012; --surface: #17181b; --surface-2: #1e2024;
  --ink: #ececec; --muted: #a3a6ad; --faint: #80848c;
  --line: #2a2c31; --line-strong: #3a3d44;
  --accent: #37D5F2; --accent-ink: #062029; --ok: #4cc38a;
  /* usados pelas outras páginas (pc, parceiro, admin) */
  --accent-2: #2E8BFF; --accent-soft: rgba(55,213,242,.12); --surface-3: #131417;
  --r: 10px; --r-sm: 8px;
  --maxw: 1120px; --gutter: clamp(16px, 5vw, 48px);
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--font); background: var(--ground); color: var(--ink); line-height: 1.6; font-size: 16px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* Header */
header.top { position: sticky; top: 0; z-index: 50; background: var(--ground); border-bottom: 1px solid transparent; }
header.top.scrolled { border-bottom-color: var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { font-weight: 700; font-size: 17px; text-decoration: none; letter-spacing: -.01em; }
nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
nav a { color: var(--muted); font-size: 14.5px; text-decoration: none; padding: 6px 10px; }
nav a:hover { color: var(--ink); }
nav a.nav-cta { color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r-sm); margin-left: 6px; }
nav a.nav-cta:hover { border-color: var(--muted); }

/* Botões: chapados */
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; padding: 12px 22px; border-radius: var(--r-sm); border: 1px solid var(--accent);
  color: var(--accent-ink); background: var(--accent); text-decoration: none; }
.btn:hover { background: #5fdff6; border-color: #5fdff6; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--muted); }
.btn.big { padding: 14px 28px; font-size: 16px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Tipografia de seção */
section { padding-block: clamp(56px, 9vw, 96px); }
h2, h2.section { font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; margin: 0 0 12px; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 60ch; margin: 0 0 32px; }
.note { color: var(--muted); font-size: 14px; margin-top: 16px; }
.note a, .faq a, .mh a { text-decoration: underline; text-underline-offset: 2px; }
kbd { font-family: var(--mono); font-size: .82em; padding: 1px 6px; margin: 0 1px; border: 1px solid var(--line-strong);
  border-bottom-width: 2px; border-radius: 5px; background: var(--surface-2); color: var(--ink); white-space: nowrap; }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 88px) 0; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 700; max-width: 16ch; margin: 0 0 28px; }
.hero-row { display: grid; grid-template-columns: 1fr auto; gap: 24px 56px; align-items: end; margin-bottom: 40px; }
.hero .lead { color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.2rem); max-width: 52ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { max-width: 40ch; margin-top: 12px; }

/* Prints reais */
.screen { margin: 0; }
.screen img, .screen video { display: block; width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--surface); }
.screen figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 75ch; }

/* Fatos */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 48px 0; }
.facts > div { border-top: 1px solid var(--line-strong); padding-top: 14px; }
.facts b { font-weight: 600; }
.facts p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* Passos */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(20px, 4vw, 48px); align-items: start;
  padding-block: 28px; border-top: 1px solid var(--line); }
.how:first-of-type { margin-top: 20px; }
.how .n { font-family: var(--mono); color: var(--accent); font-size: 14px; }
.how h3 { font-size: 20px; font-weight: 600; line-height: 1.3; margin: 6px 0 8px; }
.how p { color: var(--muted); }

/* Listas de definição */
.list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.list > div { border-top: 1px solid var(--line); padding: 16px 0; }
.list dt { font-weight: 600; }
.list dd { color: var(--muted); margin: 4px 0 0; font-size: 15px; }
.list.games { grid-template-columns: 1fr; }
.list.games > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 8px 40px; }
.list.games dd { margin: 0; }
.list.mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Monster Hunter */
.mh { margin-top: 40px; padding: 24px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); }
.mh-date { color: var(--accent); font-size: 14px; }
.mh h3 { font-size: 20px; font-weight: 600; margin: 4px 0 10px; }
.mh > p:not(.note):not(.mh-date) { color: var(--muted); }
.mh strong { color: var(--ink); }
.mh .note { margin-top: 10px; }

/* Comparação */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.compare thead th { color: var(--muted); font-weight: 600; font-size: 13px; }
.compare tbody th { font-weight: 500; }
.compare td { color: var(--muted); }
.compare .me { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.compare thead .me { color: var(--ink); }
.compare .yes { color: var(--ok); }
.compare .no { color: var(--faint); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Download */
.reqs { list-style: none; padding: 0; margin: 0 0 24px; color: var(--muted); }
.reqs li { padding: 6px 0; }
.reqs b { color: var(--ink); font-weight: 600; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; color: var(--faint); font-size: 14px; }
footer a { color: var(--faint); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer span { margin-left: auto; }

/* Legado: /assinar, /conta, /parceiro, /pc, /termos, /privacidade */
.kicker, .eyebrow { display: block; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.card p { color: var(--muted); font-size: 15px; }
.card.plan { display: flex; flex-direction: column; gap: 6px; }
.plan .days { font-size: 20px; font-weight: 600; }
.plan .price { font-size: 30px; font-weight: 700; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 400; }
.plan .promo { color: var(--ok); font-size: 13px; font-weight: 600; }
.plan .full { color: var(--muted); text-decoration: line-through; font-size: 14px; }
.plan .btn { margin-top: 10px; }
.msg { padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); margin: 16px 0; }
.msg.bad { border-color: #FF4D5E; color: #ffd7db; }
.msg.ok { border-color: var(--ok); }
.prose { color: #d0d2d6; }
.prose h2 { margin-top: 32px; font-size: 20px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.badge { font-size: 13px; color: var(--muted); border: 1px solid var(--line); padding: 4px 10px; border-radius: 6px; }
.reveal { opacity: 1; transform: none; }

@media (max-width: 860px) {
  nav a:not(.nav-cta) { display: none; }
  .hero-row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .how { grid-template-columns: 1fr; }
  .list, .list.mods { grid-template-columns: 1fr; }
  .list.games > div { grid-template-columns: 1fr; }
  .cta .btn { flex: 1; }
}
