/* Imago Player — the same graphite look as the app. */
:root {
  --bg: #141414;
  --bg2: #1a1a1a;
  --card: #222222;
  --raise: #2c2c2c;
  --line: #2f2f2f;
  --text: #f4f4f4;
  --soft: #c8c8c8;
  --dim: #a3a3a3;
  --faint: #7d7d7d;
  --live: #e5484d;
  --ok: #46c37b;
  --radius: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(20, 20, 20, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; }
.logo { width: 32px; height: 32px; border-radius: 9px; background: var(--text); color: #141414; display: grid; place-items: center; flex: none; }
.logo svg { width: 19px; height: 19px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 600; color: var(--dim); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--text); }
@media (max-width: 760px) { .nav .hide-sm { display: none; } .nav { gap: 14px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 12px;
  font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none; border: 2px solid transparent; cursor: pointer; background: var(--card); color: var(--text); }
.btn:hover { background: var(--raise); border-color: var(--text); }
.btn.primary { background: var(--text); color: #141414; }
.btn.primary:hover { background: #fff; border-color: #fff; }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .5; cursor: wait; }

/* Hero */
.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 18px; font-weight: 800; }
.hero p.lead { font-size: 19px; color: var(--soft); margin: 0 0 28px; max-width: 520px; }
.hero > * { min-width: 0; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin-top: 16px; font-size: 13px; color: var(--faint); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 44px; } }

/* App mock-up (drawn, no channel logos) */
.screen { background: #0e0e0e; border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.screen .bar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.screen .bar b { font-size: 13px; }
.screen .bar .pill { margin-left: auto; font-size: 10px; color: var(--dim); background: var(--card); border-radius: 8px; padding: 4px 9px; }
.screen .cards { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 8px; }
.screen .cards > *, .screen .row > * { min-width: 0; }
.screen .c { min-width: 0; overflow: hidden; aspect-ratio: 3 / 3.3; border-radius: 11px; background: var(--card); padding: 10px; display: flex; flex-direction: column; justify-content: space-between; }
.screen .c.on { background: var(--text); color: #141414; }
.screen .c i { width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.screen .c.on i { background: #141414; }
.screen .c b { font-size: 12px; }
.screen .c small { display: block; font-size: 9px; opacity: .6; }
.screen .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.screen .row div { aspect-ratio: 16 / 10; border-radius: 9px; background: linear-gradient(135deg, #2a2a2a, #1d1d1d); position: relative; }
.screen .row div::after { content: ""; position: absolute; left: 7px; top: 7px; width: 26px; height: 8px; border-radius: 4px; background: var(--live); }
.screen .row div:nth-child(1)::after { display: none; }
.screen .row div:nth-child(1) { background: linear-gradient(135deg, #3b4a5a, #23262b); }

/* Sections */
section { padding: 56px 0; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px; }
h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em; }
.sub { color: var(--dim); max-width: 640px; margin: 0 0 32px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 14px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--dim); font-size: 15px; }
.icon { width: 40px; height: 40px; border-radius: 11px; background: var(--card); display: grid; place-items: center; }
.icon svg { width: 21px; height: 21px; }

/* Platforms */
.platform { display: flex; flex-direction: column; gap: 14px; }
.platform .btn { align-self: flex-start; }
.platform ul { margin: 0; padding-left: 18px; color: var(--dim); font-size: 14px; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; } }
.price { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.price.best { border: 2px solid var(--text); position: relative; }
.price.best::before { content: "Mais escolhido"; position: absolute; top: -13px; left: 24px; background: var(--text); color: #141414; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 8px; }
.price h3 { margin: 0; font-size: 17px; color: var(--soft); }
.price .v { font-size: 44px; font-weight: 800; margin: 10px 0 2px; letter-spacing: -.02em; }
.price .v small { font-size: 16px; font-weight: 600; color: var(--dim); }
.price ul { list-style: none; padding: 0; margin: 18px 0 24px; color: var(--soft); font-size: 15px; flex: 1; }
.price li { padding: 5px 0 5px 26px; position: relative; }
.price li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

/* FAQ */
details { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--dim); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--dim); margin: 12px 0 0; }

/* Notice */
.notice { border: 1px solid var(--line); background: var(--bg2); border-radius: var(--radius); padding: 22px 24px; color: var(--soft); font-size: 15px; display: flex; gap: 16px; }
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }

/* Forms */
.panel { max-width: 560px; margin: 48px auto; background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
@media (max-width: 620px) { .panel { padding: 22px; margin: 24px auto; } }
.panel h1 { margin: 0 0 6px; font-size: 30px; }
.panel > p { color: var(--dim); margin: 0 0 24px; }
label { display: block; font-size: 13px; font-weight: 700; color: var(--soft); margin: 18px 0 7px; }
input[type=text], input[type=email] { width: 100%; height: 48px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg); color: var(--text);
  font-family: inherit; font-weight: 600; font-size: 16px; padding: 0 14px; outline: none; }
input:focus { border-color: var(--text); }
input.mac { font-family: ui-monospace, Consolas, monospace; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; }
.hint { font-size: 13px; color: var(--faint); margin-top: 6px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan { position: relative; }
.plan input { position: absolute; opacity: 0; }
.plan > span { display: block; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; }
.plan > span b { display: block; font-size: 15px; }
.plan > span em { font-style: normal; font-size: 24px; font-weight: 800; }
.plan > span small { color: var(--dim); font-size: 12px; }
.plan input:checked + span { border-color: var(--text); background: var(--raise); }
.plan input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
.status { margin-top: 16px; font-size: 14px; min-height: 22px; }
.status.err { color: #f09595; }
.status.ok { color: var(--ok); }
.check { border-radius: 12px; background: var(--bg); border: 1px solid var(--line); padding: 12px 14px; font-size: 14px; color: var(--soft); margin-top: 10px; display: none; }
.check.show { display: block; }
.fine { font-size: 12px; color: var(--faint); margin-top: 18px; }

/* Text pages */
.doc { max-width: 760px; margin: 48px auto; }
.doc h1 { font-size: 36px; margin: 0 0 6px; }
.doc .date { color: var(--faint); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--soft); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 10px; background: var(--card); display: grid; place-items: center; font-weight: 800; }
.steps b { color: var(--text); }
code, .code { font-family: ui-monospace, Consolas, monospace; background: var(--card); padding: 2px 7px; border-radius: 6px; color: var(--text); }

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

/* ---------- Page pieces shared since the Instalar redesign: big centered hero, platform tabs, illustrated step
   cards (.stepc .art with small TV/Windows drawings), highlight bar (.dl), copy box (.code), after-cards. ---------- */
.ihero { text-align: center; padding: 64px 0 28px; }
.ihero h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 14px; }
.ihero p { color: var(--soft); font-size: 18px; margin: 0 auto 30px; max-width: 560px; }

/* Platform switch */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 16px; background: var(--bg2); border: 1px solid var(--line); }
.tabs button { display: inline-flex; align-items: center; gap: 9px; border: 0; background: none; color: var(--dim); cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 12px; }
.tabs button svg { width: 19px; height: 19px; }
.tabs button[aria-selected=true] { background: var(--text); color: #141414; }
.tabs button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.panel-os[hidden] { display: none; }

/* Steps as a row of cards */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; counter-reset: st; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } }
.stepc { background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; }
.stepc .art { height: 168px; border-radius: 14px; background: #0f0f0f; border: 1px solid var(--line); position: relative; overflow: hidden;
  display: grid; place-items: center; margin-bottom: 18px; }
.stepc h3 { margin: 0 0 6px; font-size: 18px; display: flex; gap: 10px; align-items: center; }
.stepc h3::before { counter-increment: st; content: counter(st); width: 28px; height: 28px; border-radius: 9px; background: var(--text);
  color: #141414; font-size: 14px; display: grid; place-items: center; flex: none; }
.stepc p { margin: 0; color: var(--dim); font-size: 15px; }
.stepc p b { color: var(--text); }

/* Little drawings inside the step cards */
.tvf { width: 78%; aspect-ratio: 16 / 9; border-radius: 10px; border: 3px solid #2e2e2e; background: #161616; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px; }
.tvf::after { content: ""; position: absolute; bottom: -12px; left: 50%; width: 30%; height: 6px; transform: translateX(-50%);
  background: #2e2e2e; border-radius: 0 0 6px 6px; }
.chip { font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--dim); }
.field { width: 92%; border-radius: 7px; background: #f4f4f4; color: #141414; font: 700 11px/1 ui-monospace, Consolas, monospace;
  padding: 8px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gobtn { font-size: 11px; font-weight: 800; background: #f97316; color: #fff; border-radius: 6px; padding: 5px 12px; }
.appico { width: 58px; height: 58px; border-radius: 15px; }
.progress { width: 70%; height: 6px; border-radius: 3px; background: #2a2a2a; overflow: hidden; }
.progress i { display: block; height: 100%; width: 72%; background: var(--text); border-radius: 3px; }
.win { width: 82%; border-radius: 10px; background: #1d1d1d; border: 1px solid #333; padding: 12px; font-size: 11px; color: var(--soft); }
.win.blue { background: #0b3d91; border-color: #1754b8; color: #e8eefc; }
.win b { display: block; font-size: 13px; margin-bottom: 6px; color: #fff; }
.win .row { display: flex; justify-content: flex-end; gap: 6px; margin-top: 10px; }
.win .row span { border: 1px solid rgba(255, 255, 255, .5); border-radius: 4px; padding: 3px 8px; font-size: 10px; }
.win .row span.hi { background: #fff; color: #0b3d91; font-weight: 800; border-color: #fff; }
.start { width: 82%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: #1b1b1b; border: 1px solid #333;
  border-radius: 12px; padding: 12px; }
.start div { aspect-ratio: 1; border-radius: 8px; background: #2a2a2a; }
.start img { width: 100%; border-radius: 8px; }

/* Big download card */
.dl { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; background: linear-gradient(135deg, #222, #181818);
  border: 1px solid var(--line); border-radius: 22px; padding: 24px 26px; margin-top: 28px; }
.dl img { width: 64px; height: 64px; border-radius: 16px; }
.dl .t { flex: 1; min-width: 220px; }
.dl .t b { font-size: 20px; display: block; }
.dl .t span { color: var(--dim); font-size: 14px; }
.code { display: inline-flex; align-items: center; gap: 10px; background: var(--bg); border: 1px dashed #444; border-radius: 12px;
  padding: 10px 14px; font: 700 15px/1.2 ui-monospace, Consolas, monospace; color: var(--text); word-break: break-all; }
.copy { border: 0; background: var(--card); color: var(--soft); font: inherit; font-family: Manrope, sans-serif; font-weight: 700;
  font-size: 12px; border-radius: 8px; padding: 6px 10px; cursor: pointer; flex: none; }
.copy:hover { background: var(--raise); color: var(--text); }

.alt { margin-top: 18px; background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: 6px 22px; }
.alt summary { padding: 14px 0; }
.alt ol { color: var(--soft); margin: 0 0 16px; padding-left: 20px; }
.alt li { margin: 6px 0; }

/* After installing */
.after { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
@media (max-width: 760px) { .after { grid-template-columns: 1fr; } }
.after .card { border-radius: 20px; padding: 26px; }
.after .card .btn { margin-top: 18px; }
.mini { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.mini span { font: 700 13px/1 ui-monospace, Consolas, monospace; background: var(--bg); border: 1px solid var(--line);
  border-radius: 9px; padding: 9px 11px; color: var(--soft); }
.mini span em { font-style: normal; color: var(--faint); font-family: Manrope, sans-serif; font-weight: 700; margin-right: 6px; }
.help { text-align: center; color: var(--dim); margin-top: 48px; }

/* ---------- Form pages (Comprar, Minha lista): explanation and drawing beside the form; on a phone the form first. ---------- */
.split { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 56px; align-items: center; padding: 36px 0 20px; }
.split .panel { margin: 0; max-width: none; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 28px; } .split .side { order: 2; } }
.side h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; letter-spacing: -.02em; margin: 10px 0 14px; }
.side > p { color: var(--soft); font-size: 17px; margin: 0 0 26px; max-width: 480px; }
.side .art { height: 230px; border-radius: 20px; background: #0f0f0f; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--soft); font-size: 15px; }
.ticks li b { color: var(--text); }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--card)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346c37b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.pay span { font-size: 12px; font-weight: 800; color: var(--soft); background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 7px 11px; }

/* A little device screen: the first-run or Ativação screen in miniature. */
.mini-screen { width: 82%; aspect-ratio: 16 / 9; border-radius: 12px; border: 4px solid #2e2e2e; background: #161616; padding: 12px;
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.mini-screen img { width: 92px; height: 92px; border-radius: 8px; }
.mini-screen .k { font-size: 9px; font-weight: 800; letter-spacing: .1em; color: var(--faint); }
.mini-screen .v { font: 800 15px/1.2 ui-monospace, Consolas, monospace; color: var(--text); margin: 2px 0 8px; }
.mini-screen .h { font-size: 13px; font-weight: 800; margin-bottom: 8px; }

/* Plan choice: bigger cards with what each one gives. */
.plan > span { padding: 16px 16px 14px; }
.plan > span ul { list-style: none; padding: 0; margin: 8px 0 0; font-size: 12px; color: var(--dim); }
.plan > span ul li { padding: 2px 0; }
.plan .tag { display: inline-block; font-size: 10px; font-weight: 800; background: var(--text); color: #141414; border-radius: 6px; padding: 2px 7px; margin-left: 6px; vertical-align: 2px; }
.side .art .mini-screen { width: auto; height: 78%; max-width: 92%; }
