/* Muse Studio V — site design system (PUBLIC READY redesign)
   Brand: graphite/carbon surfaces, brand blue #6899ED, platinum text.
   Motion language: 600ms cubic-bezier(.22,.61,.21,1) reveals, 12px rise;
   everything disabled under prefers-reduced-motion. */
:root {
  --graphite: #181818;
  --ink: #101012;
  --carbon: #252526;
  --panel: #1e1e20;
  --blue: #6899ED;
  --blue-dim: #3d5a8a;
  --platinum: #F0F0F2;
  --muted: #B9BDC7;
  --faint: #9aa0ab;
  --line: #333336;
  --line-soft: #262628;
  --good: #3fb96b;
  --warn: #d8a13c;
  --ease: cubic-bezier(.22,.61,.21,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--graphite);
  color: var(--platinum);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
::selection { background: var(--blue-dim); color: #fff; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(16,16,18,0.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
header.site .wrap { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
header.site img.mark { width: 30px; height: 30px; }
header.site .name { font-weight: 600; font-size: 18px; color: var(--platinum); }
header.site nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; flex-wrap: wrap; }
header.site nav a { color: var(--muted); }
header.site nav a:hover { color: var(--platinum); text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 92px 0 30px; text-align: center;
  background:
    radial-gradient(720px 340px at 50% -80px, rgba(104,153,237,0.13), transparent 70%),
    var(--graphite);
}
.hero .spot {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px 420px at var(--mx,50%) var(--my,0%), rgba(104,153,237,0.07), transparent 65%);
  transition: opacity .5s var(--ease);
}
.hero:hover .spot { opacity: 1; }
.hero img.mark {
  width: 104px; height: 104px; margin-bottom: 22px;
  filter: drop-shadow(0 10px 30px rgba(104,153,237,0.25));
}
.hero h1 {
  font-size: 58px; font-weight: 650; letter-spacing: -1.2px; line-height: 1.08;
  max-width: 15em; margin: 0 auto;
}
.hero h1 .accent { color: var(--blue); }
.hero .slogan { font-size: 21px; color: var(--muted); margin: 22px auto 0; max-width: 44em; }
.hero .positioning { font-size: 19px; color: var(--faint); margin-top: 10px; }
.hero .status {
  margin-top: 26px; font-size: 12.5px; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--blue);
}
.hero .meta {
  margin-top: 14px; font-size: 14.5px; color: var(--faint);
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.hero .meta span::after { content: "·"; margin-left: 10px; color: var(--line); }
.hero .meta span:last-child::after { content: ""; }
.cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px; font-size: 16px; font-weight: 600;
  border: 1px solid var(--line); color: var(--platinum); background: var(--carbon);
  transition: transform .25s var(--ease), border-color .25s var(--ease), filter .25s var(--ease);
}
.btn:hover { text-decoration: none; border-color: var(--faint); transform: translateY(-1px); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #10131A; }
.btn.primary:hover { filter: brightness(1.09); }
.btn.ghost { background: transparent; }

/* hero product composition: real screenshots, presented in a window frame */
.hero-stage { position: relative; max-width: 1020px; margin: 58px auto 0; padding: 0 24px 74px; }
.frame {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  text-align: left;
}
.frame .bar {
  display: flex; align-items: center; gap: 7px; padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft); background: var(--panel);
}
.frame .bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3e; display: block; }
.frame .bar i:first-child { background: #4a4a50; }
.frame .bar em {
  font-style: normal; margin-left: 10px; font-size: 12.5px; color: var(--faint);
  letter-spacing: .4px;
}
.frame img { width: 100%; display: block; }
.float-shot {
  position: absolute; width: 31%; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; box-shadow: 0 22px 55px rgba(0,0,0,0.55); background: var(--ink);
}
.float-shot img { width: 100%; display: block; }
.float-shot.left { left: -6px; bottom: 6px; transform: rotate(-1.6deg); }
.float-shot.right { right: -6px; bottom: 34px; transform: rotate(1.4deg); width: 27%; }
.hero-shot { margin: 56px auto 0; max-width: 1020px; }
.hero-shot img, .shot img { width: 100%; border-radius: 10px; border: 1px solid var(--line); display: block; }

/* ---------- sections ---------- */
section { padding: 74px 0 10px; }
section h2 { font-size: 33px; font-weight: 620; letter-spacing: -0.4px; margin-bottom: 16px; line-height: 1.2; }
section h3 { font-size: 21px; font-weight: 600; margin: 26px 0 8px; }
section p { color: var(--muted); max-width: 46em; margin-bottom: 14px; }
section p strong, section li strong { color: var(--platinum); }
.kicker { font-size: 12.5px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.lede { font-size: 20px; color: var(--platinum); max-width: 40em; line-height: 1.5; }
.story-q {
  font-size: 30px; font-weight: 600; letter-spacing: -0.3px; line-height: 1.3;
  max-width: 22em; color: var(--platinum);
}
.story-q .accent { color: var(--blue); }

/* legacy content blocks (case study + features) */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 10px; }
.card { background: var(--carbon); border: 1px solid var(--line-soft); border-radius: 10px; padding: 22px; }
.card h3 { margin-top: 0; font-size: 18px; }
.card p { font-size: 15.5px; margin-bottom: 0; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; margin-top: 8px; }
.shot figcaption { color: var(--faint); font-size: 14px; margin-top: 8px; text-align: center; }
.diagram {
  background: var(--carbon); border: 1px solid var(--line); border-radius: 10px;
  padding: 26px; font-family: "Cascadia Code", Consolas, monospace; font-size: 15px;
  color: var(--muted); overflow-x: auto; white-space: pre; line-height: 1.75;
}
.diagram b { color: var(--platinum); font-weight: 600; }
.diagram .b { color: var(--blue); }
ul.clean { list-style: none; margin: 6px 0 14px; }
ul.clean li { color: var(--muted); padding: 7px 0 7px 26px; position: relative; border-bottom: 1px solid var(--line-soft); max-width: 52em; }
ul.clean li::before { content: "—"; position: absolute; left: 0; color: var(--blue); }
table.status-table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 15.5px; }
table.status-table th, table.status-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
table.status-table th { color: var(--platinum); font-weight: 600; }
details.faq { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 52em; }
details.faq summary { cursor: pointer; font-weight: 600; color: var(--platinum); }
details.faq p { margin-top: 8px; }
video.trailer { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: #000; display: block; }

/* ---------- interactive showcase ---------- */
.showcase { margin-top: 8px; }
.sc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.sc-tab {
  font: inherit; font-size: 14px; font-weight: 550; cursor: pointer;
  color: var(--muted); background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: 999px; padding: 8px 14px;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.sc-tab:hover { color: var(--platinum); border-color: var(--faint); }
.sc-tab[aria-selected="true"] { color: #10131A; background: var(--blue); border-color: var(--blue); }
.sc-stage { display: grid; grid-template-columns: 1.9fr 1fr; gap: 26px; align-items: start; }
.sc-media { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--ink); }
.sc-media img { width: 100%; display: block; }
.sc-media figcaption { color: var(--faint); font-size: 13.5px; padding: 10px 14px; border-top: 1px solid var(--line-soft); }
.sc-info h3 { margin-top: 2px; font-size: 23px; }
.sc-info p { font-size: 16px; }
.sc-info .benefit { color: var(--platinum); }
.sc-info .limit { font-size: 14.5px; color: var(--faint); border-left: 2px solid var(--blue-dim); padding-left: 12px; }
.sc-fade { animation: scIn .45s var(--ease); }
@keyframes scIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- architecture flow ---------- */
.flow { display: flex; align-items: stretch; gap: 0; margin: 22px 0 6px; flex-wrap: wrap; }
.flow .node {
  flex: 1 1 0; min-width: 128px; background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: 10px; padding: 14px 12px; text-align: center;
}
.flow .node b { display: block; font-size: 15.5px; color: var(--platinum); font-weight: 600; }
.flow .node span { font-size: 12.5px; color: var(--faint); display: block; margin-top: 3px; line-height: 1.45; }
.flow .arrow {
  align-self: center; padding: 0 7px; color: var(--blue); font-size: 17px;
  animation: pulseX 2.6s var(--ease) infinite;
}
@keyframes pulseX { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
.flow-zones { display: flex; gap: 18px; font-size: 13.5px; color: var(--faint); margin-top: 10px; flex-wrap: wrap; }
.flow-zones b { color: var(--muted); font-weight: 600; }

/* ---------- platforms & downloads ---------- */
.plat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 12px; }
.plat {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: 12px; padding: 24px;
  transition: border-color .3s var(--ease);
}
.plat.hot { border-color: var(--blue); }
.plat h3 { margin: 0 0 4px; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.plat .os-badge {
  font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line);
}
.plat .os-badge.stable { color: var(--good); border-color: var(--good); }
.plat .os-badge.exp { color: var(--warn); border-color: var(--warn); }
.plat dl { margin-top: 12px; font-size: 14.5px; }
.plat dt { color: var(--faint); font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; margin-top: 12px; }
.plat dd { color: var(--muted); margin-top: 2px; }
.plat dd strong { color: var(--platinum); }
.dl-note { font-size: 15px; color: var(--muted); border: 1px solid var(--line-soft); border-radius: 10px; padding: 16px 18px; background: var(--panel); }
.dl-note strong { color: var(--platinum); }
#os-detect { display: none; font-size: 14.5px; color: var(--blue); margin-bottom: 14px; }

/* ---------- reveal motion ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; }
@keyframes riseIn { from { opacity: .45; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js .hero .anim { animation: riseIn .4s var(--ease) both; }
.js .hero .anim.a1 { animation-delay: 0s; } .js .hero .anim.a2 { animation-delay: 0s; }
.js .hero .anim.a3 { animation-delay: 0s; } .js .hero .anim.a4 { animation-delay: 0s; }
.js .hero .anim.a5 { animation-delay: 0s; }

footer.site { margin-top: 90px; border-top: 1px solid var(--line-soft); padding: 34px 0 44px; color: var(--faint); font-size: 14.5px; }
footer.site .wrap { display: flex; flex-direction: column; gap: 8px; }

@media (max-width: 860px) {
  .sc-stage { grid-template-columns: 1fr; }
  .float-shot { display: none; }
  .hero-stage { padding-bottom: 10px; }
  .flow { flex-direction: column; }
  .flow .arrow { transform: rotate(90deg); padding: 4px 0; margin: 0 auto; }
}
@media (max-width: 640px) {
  .hero { padding: 62px 0 20px; }
  .hero h1 { font-size: 40px; letter-spacing: -0.6px; }
  .hero .slogan { font-size: 18px; }
  .hero img.mark { width: 76px; height: 76px; }
  section h2 { font-size: 27px; }
  .story-q { font-size: 24px; }
  header.site nav { gap: 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .hero .spot { display: none; }
}

/* FINAL GATE: alvos de toque adequados no Download Center */
.dl-note p a { display: inline-block; padding: 9px 13px; margin: 3px 2px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); line-height: 1.25; }
.dl-note p a:hover { border-color: #6899ED; }
