
/* ===== microdeck · página de download (mesmos tokens do app) ===== */
:root, .pg[data-theme="dark"] {
  color-scheme: dark;
  --bg: #161618; --surface: #1e1e21; --field: #232327; --border: #35353c; --border-strong: #4b4b54;
  --text: #f2f2f3; --text-2: #a9a9b2; --text-3: #8d8d96;
  --accent: #ff8c42; --accent-text: #ff8c42; --accent-soft: rgba(255, 140, 66, 0.14); --on-accent: #1f1206;
  --success: #69db7c; --shadow: 0 16px 40px rgba(0, 0, 0, 0.45); --header: rgba(22, 22, 24, 0.86);
  --os-blue: #0a84ff; --os-win: #2a2a2d; --os-side: #222225;
}
:root[data-theme="light"], .pg[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f5f6; --surface: #ffffff; --field: #ffffff; --border: #d9d9de; --border-strong: #b8b8c0;
  --text: #18181b; --text-2: #55555e; --text-3: #67676f;
  --accent: #e8590c; --accent-text: #c2410c; --accent-soft: rgba(232, 89, 12, 0.10); --on-accent: #1f1206;
  --success: #2b8a3e; --shadow: 0 16px 40px rgba(24, 24, 27, 0.12); --header: rgba(245, 245, 246, 0.86);
  --os-blue: #007aff; --os-win: #ffffff; --os-side: #ececee;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f5f5f6; --surface: #ffffff; --field: #ffffff; --border: #d9d9de; --border-strong: #b8b8c0;
    --text: #18181b; --text-2: #55555e; --text-3: #67676f;
    --accent: #e8590c; --accent-text: #c2410c; --accent-soft: rgba(232, 89, 12, 0.10); --on-accent: #1f1206;
    --success: #2b8a3e; --shadow: 0 16px 40px rgba(24, 24, 27, 0.12); --header: rgba(245, 245, 246, 0.86);
    --os-blue: #007aff; --os-win: #ffffff; --os-side: #ececee;
  }
}
body { margin: 0; }
.pg { background: var(--bg); color: var(--text); font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; }
.pg *, .pg *::before, .pg *::after { box-sizing: border-box; }
.pg h1, .pg h2, .pg h3, .pg p, .pg ol, .pg ul { margin: 0; }
.pg a { color: var(--accent-text); }
.pg a:hover { text-decoration-thickness: 2px; }
.pg :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.88em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 30; background: var(--surface); padding: 8px 12px; }

/* Topo */
.top { position: sticky; top: 0; z-index: 20; background: var(--header); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); }
.top .wrap { height: 60px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--text) !important; text-decoration: none; }
.logo { width: 22px; height: 22px; flex: none; }
.logo-a { fill: var(--accent); } .logo-b { fill: var(--text-2); } .logo-c { fill: none; stroke: var(--text-2); stroke-width: 1.4; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--text); }
.tema { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.tema:hover { border-color: var(--border-strong); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 48px; align-items: center; padding: 64px 0 72px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent-text); margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 750; }
.lead { font-size: 18px; color: var(--text-2); margin-top: 18px; max-width: 34em; }
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.dl-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.dl-card.is-yours { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.dl-badge { display: none; position: absolute; top: -11px; right: 14px; font-size: 12px; font-weight: 700; background: var(--accent); color: var(--on-accent); padding: 2px 9px; border-radius: 999px; }
.dl-card.is-yours .dl-badge { display: inline-block; }
.dl-h { display: flex; align-items: center; gap: 10px; }
.dl-h b { font-size: 17px; }
.dl-h span { font-size: 13px; color: var(--text-2); }
.btn { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--field); color: var(--text) !important; text-decoration: none; font-weight: 650; line-height: 1.2; }
.btn:hover { border-color: var(--border-strong); }
.btn small { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); margin-top: 2px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent) !important; }
.btn-primary small { color: var(--on-accent); opacity: 0.85; }
.btn-primary:hover { border-color: var(--accent); filter: brightness(1.06); }
.meta { font-size: 13px; color: var(--text-2); }
.dl-card details { font-size: 13px; color: var(--text-2); }
.dl-card summary { cursor: pointer; color: var(--text); font-weight: 600; }
.dl-card details p { margin-top: 6px; }
.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 440px; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); }

/* Seções */
.sec { padding: 72px 0; border-top: 1px solid var(--border); }
.sec-h { max-width: 46em; margin-bottom: 32px; }
.sec-h h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.025em; line-height: 1.1; }
.sec-h p { color: var(--text-2); margin-top: 10px; font-size: 17px; }
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.feat .card { display: flex; flex-direction: column; gap: 8px; }
.feat h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feat p { color: var(--text-2); font-size: 15px; }
.badge { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.tag { font-size: 12px; font-weight: 700; color: var(--accent-text); border: 1px solid var(--accent); border-radius: 999px; padding: 1px 8px; }

/* Instalação */
.inst { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.inst h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.inst > .card > p { color: var(--text-2); font-size: 15px; margin-bottom: 18px; }
.steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 22px; counter-reset: passo; }
.steps > li { counter-increment: passo; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 12px; }
.steps > li::before { content: counter(passo); width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.steps p { font-size: 15px; }
.steps b { font-weight: 650; }
.shot { grid-column: 2; margin-top: 10px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); padding: 16px; overflow: hidden; }
.hl { outline: 2px solid var(--accent); outline-offset: 3px; }
.pin { display: inline-block; font-size: 11px; font-weight: 700; color: var(--on-accent); background: var(--accent); border-radius: 999px; padding: 1px 8px; margin-left: 8px; vertical-align: middle; white-space: nowrap; }
.aviso { margin-top: 20px; font-size: 14px; color: var(--text-2); border-left: 3px solid var(--accent); padding: 2px 0 2px 12px; }

/* Prints desenhados: Mac */
.m-win { border-radius: 10px; overflow: hidden; background: var(--os-win); box-shadow: 0 0 0 1px var(--border), 0 8px 20px rgba(0, 0, 0, 0.18); font-size: 12px; }
.m-tb { height: 22px; display: flex; gap: 6px; align-items: center; padding: 0 9px; background: var(--os-side); }
.m-tb i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.m-dmg { display: flex; align-items: center; justify-content: space-around; padding: 18px 10px; background: #161618; color: #f2f2f3; }
.m-dmg span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; }
.m-alert { width: 250px; margin: 0 auto; border-radius: 12px; background: var(--os-win); box-shadow: 0 0 0 1px var(--border), 0 12px 28px rgba(0, 0, 0, 0.25); padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12px; }
.m-alert b { font-size: 13px; }
.m-alert p { color: var(--text-2); }
.m-btn { width: 100%; height: 26px; border-radius: 6px; border: none; font: inherit; font-weight: 600; background: var(--field); color: var(--text); box-shadow: 0 0 0 1px var(--border); }
.m-btn.def { background: var(--os-blue); color: #fff; box-shadow: none; }
.m-set { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; font-size: 12px; }
.m-set b { font-size: 13px; }
.m-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); }
.m-row p { color: var(--text-2); }
.m-chip { height: 24px; padding: 0 10px; border-radius: 6px; border: none; font: inherit; font-weight: 600; background: var(--field); color: var(--text); box-shadow: 0 0 0 1px var(--border-strong); white-space: nowrap; }
.m-tg { width: 26px; height: 15px; border-radius: 999px; background: var(--border-strong); position: relative; flex: none; }
.m-tg::after { content: ""; position: absolute; top: 1.5px; left: 1.5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.m-tg.on { background: var(--os-blue); }
.m-tg.on::after { left: 12.5px; }

/* Prints desenhados: Windows */
.w-ss { background: #0f4c99; color: #fff; padding: 18px 18px 14px; font-family: "Segoe UI", -apple-system, sans-serif; font-size: 13px; display: flex; flex-direction: column; gap: 10px; border-radius: 4px; }
.w-ss h4 { font-size: 20px; font-weight: 300; margin: 0; }
.w-ss p { margin: 0; color: #e8eefb; }
.w-ss u { color: #fff; font-weight: 600; }
.w-ss dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; color: #e8eefb; }
.w-ss dd { margin: 0; }
.w-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.w-btn { height: 28px; padding: 0 14px; border: 1px solid #fff; background: transparent; color: #fff; font: inherit; }
.w-bar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 44px; padding: 0 12px; background: var(--os-side); border-radius: 8px; font-family: "Segoe UI", -apple-system, sans-serif; font-size: 12px; color: var(--text); }
.w-bar .w-ic { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; background: var(--field); }

/* Ligar */
.ligar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ligar ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.oleds { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.oled-box { width: 100%; max-width: 420px; aspect-ratio: 4 / 1; background: #000; border-radius: 8px; box-shadow: 0 0 0 8px #0b0b0c, 0 0 0 9px var(--border); padding: 0; }
.oled-box svg { display: block; width: 100%; height: 100%; }
.oleds small { color: var(--text-2); font-size: 13px; }
.dica { margin-top: 18px; background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 12px; padding: 12px 14px; font-size: 15px; }

/* Dúvidas e novidades */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 17px; padding: 16px 0; list-style-position: outside; }
.faq details[open] summary { color: var(--accent-text); }
.faq details > div { padding: 0 0 18px; color: var(--text-2); display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.faq b { color: var(--text); }
.log { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.log .card h3 { font-size: 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.log .card h3 span { font-size: 13px; font-weight: 500; color: var(--text-2); }
.log ul { margin-top: 10px; padding-left: 20px; color: var(--text-2); display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.foot { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--text-2); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }

/* Celular */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 56px; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 300px; }
  .inst, .ligar { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .tema { margin-left: auto; }
  .dl { grid-template-columns: 1fr; }
  .sec { padding: 52px 0; }
  .steps > li { grid-template-columns: 28px minmax(0, 1fr); }
  .shot { grid-column: 1 / -1; padding: 12px; }
}
