/* OST Saver — site (página inicial e guias).
   Mesma paleta do programa: grafite azulado, papel frio e o acento petróleo.
   A areia (cor dos "dados" no mapa do arquivo) marca só o resultado: o PST pronto. */

@font-face { font-family: "Bricolage"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Plex"; src: url("fonts/plex-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url("fonts/plex-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex"; src: url("fonts/plex-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex"; src: url("fonts/plex-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light dark;
  --paper: #F3F5F7;
  --surface: #FFFFFF;
  --sunken: #E8ECF0;
  --ink: #18222D;
  --ink-2: #4F5B69;
  --ink-3: #7D8896;
  --line: #D3D9E0;
  --accent: #0E6B74;
  --accent-ink: #FFFFFF;
  --accent-soft: #DCEDEF;
  --sand: #C9A227;
  --sand-soft: #F6EED2;
  --ok: #2E7D4F;

  --display: "Bricolage", "Segoe UI", system-ui, sans-serif;
  --text: "Plex", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #10161C;
    --surface: #171F27;
    --sunken: #0C1116;
    --ink: #E6EAEF;
    --ink-2: #A7B1BD;
    --ink-3: #75818F;
    --line: #29333E;
    --accent: #4DB3BB;
    --accent-ink: #0A1216;
    --accent-soft: #15303A;
    --sand: #D9B64A;
    --sand-soft: #2C2512;
    --ok: #6CC38F;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 var(--text); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; font-optical-sizing: auto; }
h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 650; letter-spacing: -0.02em; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 620; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; }

/* ------------------------------------------------------------ botões */
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 10px; font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--line); color: var(--ink); background: var(--surface);
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { border-color: var(--ink-3); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 8px; }

/* ------------------------------------------------------------ topo */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font: 700 19px/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo img { width: 26px; height: 26px; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 820px) { .top nav { display: none; } .top .btn { margin-left: auto; } }

/* ------------------------------------------------------------ hero */
.hero { padding: clamp(32px, 5vw, 64px) 0 clamp(36px, 5vw, 60px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 30px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .assure { margin-top: 22px; font-size: 15px; color: var(--ink-3); max-width: 30em; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Demonstração animada: uma janela do navegador convertendo um OST. */
.demo {
  --t: 1;
  position: relative; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgb(16 30 44 / .35), 0 2px 0 rgb(16 30 44 / .03);
  overflow: hidden; font-size: 13px; line-height: 1.35; user-select: none;
}
.demo-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--sunken); }
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.demo-url { flex: 1; min-width: 0; padding: 5px 10px; border-radius: 6px; background: var(--surface); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-net { display: flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; white-space: nowrap; transition: box-shadow .4s; }
.demo-net svg { width: 13px; height: 13px; }
.demo[data-stage="3"] .demo-net { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.demo-body { position: relative; height: 330px; }

/* etapa 1: soltar o arquivo */
.demo-drop {
  position: absolute; inset: 18px; border: 2px dashed var(--line); border-radius: 10px;
  display: grid; place-items: center; color: var(--ink-3); transition: opacity .45s, transform .45s, border-color .3s, background .3s;
}
.demo[data-stage="1"] .demo-drop { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.demo:not([data-stage="0"]):not([data-stage="1"]) .demo-drop { opacity: 0; transform: scale(.97); }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  border-radius: 10px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 24px -14px rgb(16 30 44 / .4);
  white-space: nowrap; font-weight: 500; color: var(--ink);
}
.chip svg { width: 30px; height: 30px; flex: none; }
.chip small { display: block; color: var(--ink-3); font-weight: 400; }
.chip-in { left: 50%; top: 50%; transform: translate(60%, 70%) rotate(4deg); opacity: 0; transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .4s; }
.demo[data-stage="1"] .chip-in { transform: translate(-50%, -50%) rotate(0); opacity: 1; }
.chip-in svg { color: var(--accent); }

/* etapa 2 e 3: leitor */
.demo-app {
  position: absolute; inset: 0; display: grid; grid-template-columns: 38% 1fr;
  opacity: 0; transition: opacity .5s;
}
.demo:is([data-stage="2"], [data-stage="3"], [data-stage="4"]) .demo-app { opacity: 1; }
.demo-tree { border-right: 1px solid var(--line); padding: 12px 8px; background: color-mix(in srgb, var(--sunken) 50%, var(--surface)); }
.demo-tree li, .demo-list li { list-style: none; opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s; transition-delay: calc(var(--i) * 90ms); }
.demo:is([data-stage="2"], [data-stage="3"], [data-stage="4"]) :is(.demo-tree, .demo-list) li { opacity: 1; transform: none; }
.demo-tree ul, .demo-list ul { margin: 0; padding: 0; }
.demo-tree li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; border-radius: 6px; color: var(--ink-2); }
.demo-tree li.on { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.demo-tree li span:last-child { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.demo-tree li.sub { padding-left: 20px; }
.demo-list { padding: 12px 14px; }
.demo-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.demo-list li b { font-weight: 600; color: var(--ink); }
.demo-list li span { grid-column: 1; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-list li time { grid-row: 1; grid-column: 2; color: var(--ink-3); }
.demo-list .bar-line { height: 7px; border-radius: 4px; background: var(--sunken); grid-column: 1 / -1; }

/* etapa 3: conversão */
.demo-conv {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgb(16 30 44 / .45);
  transform: translateY(130%); transition: transform .55s cubic-bezier(.2, .8, .2, 1);
}
.demo:is([data-stage="3"], [data-stage="4"]) .demo-conv { transform: none; }
.demo-conv-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin-bottom: 9px; font-weight: 600; }
.demo-conv-top span { color: var(--ink-3); font-weight: 400; font-variant-numeric: tabular-nums; }
.demo-progress { height: 8px; border-radius: 4px; background: var(--sunken); overflow: hidden; }
.demo-progress i { display: block; height: 100%; width: calc(var(--p, 0) * 1%); background: var(--accent); border-radius: 4px; }

/* etapa 4: PST pronto */
.chip-out { left: 50%; top: 50%; transform: translate(-50%, -30%) scale(.9); opacity: 0; transition: transform .6s cubic-bezier(.2, .8, .2, 1.2), opacity .4s; border-color: var(--sand); }
.chip-out svg { color: var(--sand); }
.chip-out .ok { color: var(--ok); font-weight: 600; }
.demo[data-stage="4"] .chip-out { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
.demo[data-stage="4"] :is(.demo-app, .demo-conv) { opacity: .28; transition: opacity .5s; }
.demo-caption { margin-top: 14px; font-size: 14px; color: var(--ink-3); display: flex; gap: 18px; flex-wrap: wrap; }
.demo-caption span { display: flex; align-items: center; gap: 8px; transition: color .3s; }
.demo-caption span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .3s; }
.demo-caption span.on { color: var(--ink); }
.demo-caption span.on::before { background: var(--accent); }
@media (max-width: 560px) {
  .demo-body { height: 300px; }
  .demo-app { grid-template-columns: 1fr; }
  .demo-tree { display: none; }
}

/* ------------------------------------------------------------ seções */
section.block { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.block-head { max-width: 40em; margin-bottom: clamp(32px, 4vw, 52px); }
.block-head h2 { margin-bottom: 14px; }
.block-head p { color: var(--ink-2); }

/* Como funciona: é uma sequência de verdade, então tem números. */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); counter-reset: step; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step); display: block; font: 700 46px/1 var(--display); color: var(--accent); margin-bottom: 14px; letter-spacing: -0.03em; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Recursos: duas colunas texto + ilustração animada. */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: 28px 0; }
.feature + .feature { border-top: 1px dashed var(--line); }
.feature h3 { font-size: 26px; margin-bottom: 10px; }
.feature p { color: var(--ink-2); max-width: 30em; }
.feature.flip .feature-art { order: -1; }
@media (max-width: 820px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature.flip .feature-art { order: 0; } }
.feature-art { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; min-height: 220px; font-size: 14px; }

/* mesclar */
.merge-art { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; position: relative; }
.mini-tree { padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); transition: transform .9s cubic-bezier(.3, .7, .2, 1), opacity .6s; }
.mini-tree b { display: block; font-weight: 600; margin-bottom: 6px; }
.mini-tree div { display: flex; justify-content: space-between; color: var(--ink-2); padding: 2px 0; }
.mini-tree div span:last-child { font-variant-numeric: tabular-nums; color: var(--ink-3); }
.merge-result { grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--sand); background: var(--sand-soft); opacity: 0; transform: translateY(-16px); transition: opacity .6s .55s, transform .6s .55s; }
.merge-result b { font-weight: 600; }
.merge-result div { display: flex; justify-content: space-between; padding: 2px 0; color: var(--ink-2); }
.merge-result div span:last-child { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.merge-result .note { color: var(--ink-3); font-size: 13px; margin-top: 6px; display: block; }
.played .mini-tree { transform: scale(.96); opacity: .55; }
.played .merge-result { opacity: 1; transform: none; }

/* dividir */
.split-art { display: grid; gap: 18px; }
.split-src, .split-parts { display: flex; gap: 8px; height: 58px; }
.split-src div { flex: 1; border-radius: 10px; background: var(--accent-soft); border: 1.5px solid var(--accent); display: flex; align-items: center; padding: 0 14px; justify-content: space-between; font-weight: 600; }
.split-src span { color: var(--ink-3); font-weight: 400; }
.split-parts div { border-radius: 10px; border: 1.5px solid var(--sand); background: var(--sand-soft); display: grid; place-items: center; font-weight: 600; opacity: 0; transform: scaleX(.3); transform-origin: left; transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 180ms + 200ms); }
.split-parts div small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; text-align: center; }
.played .split-parts div { opacity: 1; transform: none; }
.split-arrow { height: 22px; border-left: 2px dashed var(--line); margin-left: 50%; }

/* ler */
.read-art { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; padding: 0; overflow: hidden; }
.read-art .l { border-right: 1px solid var(--line); }
.read-art .l div { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); transition: background .3s; }
.read-art .l div b { display: block; color: var(--ink); font-weight: 600; }
.read-art .l div.sel { background: var(--accent-soft); }
.read-art .r { padding: 16px 18px; }
.read-art .r b { display: block; font: 600 17px/1.3 var(--display); margin-bottom: 4px; }
.read-art .r .meta { color: var(--ink-3); font-size: 13px; margin-bottom: 12px; }
.read-art .r .att { display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; margin-bottom: 12px; }
.read-art .r i { display: block; height: 8px; border-radius: 4px; background: var(--sunken); margin-bottom: 8px; }

/* privacidade */
.privacy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-weight: 600; color: var(--ink-3); font-size: 14px; }
.compare td:first-child { color: var(--ink-2); }
.compare .us { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .privacy { grid-template-columns: minmax(0, 1fr); } .compare { font-size: 14px; } }

/* preços: tabela de colunas separadas por linhas, não cartões */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.plan { padding: 24px 22px 26px 0; display: flex; flex-direction: column; gap: 12px; }
.plan + .plan { padding-left: 22px; border-left: 1px solid var(--line); }
.plan h3 { font-size: 20px; }
.price { font: 700 36px/1 var(--display); letter-spacing: -0.02em; }
.price small { font: 400 15px/1.3 var(--text); color: var(--ink-3); letter-spacing: 0; display: block; margin-top: 6px; }
.plan ul { margin: 0; padding: 0 0 0 18px; color: var(--ink-2); font-size: 15px; display: grid; gap: 6px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan.featured .price { color: var(--accent); }
.plans-note { margin-top: 22px; font-size: 14px; color: var(--ink-3); max-width: 46em; }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .plan:nth-child(3) { padding-left: 0; border-left: 0; }
  .plan:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* guias */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.guides a { display: block; padding: 22px 22px 24px 0; text-decoration: none; color: var(--ink); }
.guides a + a { padding-left: 22px; border-left: 1px solid var(--line); }
.guides a h3 { margin-bottom: 8px; transition: color .15s; }
.guides a:hover h3 { color: var(--accent); }
.guides a p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 820px) { .guides { grid-template-columns: 1fr; } .guides a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* perguntas */
.faq { max-width: 48em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font: 600 18px/1.35 var(--display); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 40em; }

/* chamada final */
.cta { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
.cta .wrap { display: flex; align-items: end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { max-width: 16em; }

footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--ink-2); }

/* ------------------------------------------------------------ guias (artigo) */
.article { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.article .wrap { max-width: 760px; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.article h1 { font-size: clamp(32px, 4.6vw, 50px); margin-bottom: 18px; }
.article h2 { font-size: 27px; margin: 44px 0 12px; }
.article p, .article li { color: var(--ink-2); }
.article p + p { margin-top: 14px; }
.article ol, .article ul { padding-left: 22px; display: grid; gap: 8px; margin: 14px 0; }
.article code { font-size: .92em; background: var(--sunken); padding: 2px 6px; border-radius: 5px; overflow-wrap: anywhere; }
.article strong { color: var(--ink); }
.callout { margin: 28px 0; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; color: var(--ink); }
.callout p { color: var(--ink); }
.callout .btn { margin-top: 14px; }
.warn { border-left-color: var(--sand); background: var(--sand-soft); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
}

.foot-text { display: grid; gap: 6px; max-width: 46em; }
.seller { color: var(--ink-2); }

/* compra */
.buy { display: grid; gap: 10px; max-width: 460px; margin-top: 26px; }
.buy label { font-weight: 600; font-size: 15px; }
.buy input[type=email] { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.buy input[type=email]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.buy .buy-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-2); }
.buy .buy-check input { margin-top: 5px; accent-color: var(--accent); }
.buy .btn { justify-self: start; margin-top: 6px; }
.buy-sum { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.buy-sum strong { font: 700 24px/1 var(--display); color: var(--accent); }
.buy-note { font-size: 14px; color: var(--ink-3); }
.buy-err { color: #B83A2E; background: #F9E5E2; padding: 10px 12px; border-radius: 8px; font-size: 15px; }
.buy-lic { margin-top: 24px; display: grid; gap: 14px; }
.buy-lic pre { white-space: pre-wrap; word-break: break-all; background: var(--sunken); padding: 14px; border-radius: 10px; font-size: 13px; margin: 0; }
.buy-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* o que dá para fazer: quatro tarefas logo abaixo do topo */
.tasks { padding: 0 0 clamp(48px, 7vw, 88px); }
.tasks .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 32px); }
.task { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--ink); }
.task svg { width: 30px; height: 30px; color: var(--accent); }
.task h3 { font-size: 20px; }
.task p { color: var(--ink-2); font-size: 15.5px; }
.task a { margin-top: auto; font-size: 15px; font-weight: 500; }
.chips { list-style: none; margin: 2px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: chip; }
.chips li { counter-increment: chip; font-size: 13px; padding: 3px 9px 3px 6px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); display: flex; gap: 5px; align-items: center; }
.chips li::before { content: counter(chip); font: 700 11px/1 var(--display); width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
@media (max-width: 960px) { .tasks .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tasks .wrap { grid-template-columns: minmax(0, 1fr); } }

/* salvar .eml */
.save-art { display: grid; gap: 12px; }
.save-folder { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 10px; background: var(--accent-soft); border: 1.5px solid var(--accent); }
.save-folder span { color: var(--ink-3); }
.save-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.save-files li { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .4s; transition-delay: calc(var(--i) * 140ms); }
.save-zip { justify-self: end; padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--sand); background: var(--sand-soft); font-weight: 600;
  opacity: 0; transform: translateY(8px); transition: opacity .5s .7s, transform .5s .7s; }
.played .save-files li, .played .save-zip { opacity: 1; transform: none; }

/* recuperar */
.fix-art { display: grid; gap: 16px; }
.fix-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; }
.fix-grid i { aspect-ratio: 1; border-radius: 4px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); transition: background .4s, border-color .4s, opacity .4s; transition-delay: calc(var(--i) * 25ms); }
.fix-grid i.x { background: #F3D9D4; border-color: #D9A39A; }
.played .fix-grid i { background: var(--accent); border-color: var(--accent); }
.played .fix-grid i.x { background: var(--sunken); border-color: var(--line); opacity: .55; }
.fix-out { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--sand); background: var(--sand-soft);
  opacity: 0; transform: translateY(8px); transition: opacity .5s 1.1s, transform .5s 1.1s; }
.fix-out span { color: var(--ink-3); }
.played .fix-out { opacity: 1; transform: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fix-grid i.x { background: #3A1E1A; border-color: #6B3A33; } }

/* guias: linhas em grade, sem bordas laterais */
.guides { border-top: 0; gap: 0 28px; }
.guides a, .guides a + a { padding: 20px 0 22px; border-left: 0; border-top: 1px solid var(--line); }
