:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --panel: #141414;
  --line: #232323;
  --text: #e7e7e7;
  --muted: #9a9a9a;
  --dim: #6b6b6b;
  --green: #10b981;
  --green-2: #34d399;
  --red: #dc2626;
  --red-2: #f87171;
  --amber: #f59e0b;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* nav */
nav.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
nav.top .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.brand img.ic { width: 28px; height: 28px; }
.brand .word { height: 13px; aspect-ratio: 447.1 / 71.4; }
/* XPORT wordmark painted with the red → amber → green of the two apps */
.wordmark {
  display: block;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #10b981 100%);
  -webkit-mask: url(/assets/xport.svg) center / contain no-repeat;
  mask: url(/assets/xport.svg) center / contain no-repeat;
}
nav.top .links { margin-left: auto; display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
nav.top .links a { text-decoration: none; }
nav.top .links a:hover { color: var(--text); }
.lang { font-size: 13px; color: var(--muted); text-decoration: none; border: 1px solid #333; border-radius: 999px; padding: 4px 12px; }
.lang:hover { color: var(--text); border-color: #555; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--green); color: #04130d; }
.btn.primary:hover { background: var(--green-2); }
.btn.ghost { border-color: #333; color: var(--text); }
.btn.ghost:hover { border-color: #555; }
.btn.small { padding: 8px 16px; font-size: 13px; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* hero */
header.hero { padding: 96px 0 56px; text-align: center; position: relative; overflow: hidden; background: linear-gradient(100deg, #050607, #0b1f17 50%, #050607); }
header.hero::before {
  content: ""; position: absolute; left: 50%; top: 24px; width: min(1100px, 92%); height: 640px; z-index: 0;
  transform: translateX(-50%); border-radius: 50%; background: #10b981; filter: blur(170px); opacity: .2;
}
.hero .logo { width: min(520px, 86%); aspect-ratio: 447.1 / 71.4; margin: 0 auto 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero .h1 { font-weight: 700; font-size: clamp(30px, 5vw, 52px); line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 720px; margin: 0 auto 32px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .fine { margin-top: 24px; font-size: 13px; color: var(--dim); }

/* apps */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 64px; text-align: left; }
.app {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: start;
}
.app img { width: 88px; height: 88px; }
.app .name { height: 15px; width: auto; filter: invert(1); margin: 8px 0 12px; }
.app p { margin: 0; color: var(--muted); font-size: 15px; }
.app.mgr { box-shadow: inset 0 1px 0 rgba(248, 113, 113, .12); }
.app.ply { box-shadow: inset 0 1px 0 rgba(52, 211, 153, .12); }
/* download buttons inside the product cards: one per platform, all the same */
.app > div { display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.plat { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.app > div > .plat-label { margin-top: auto; }
.plat a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--green); color: #04130d; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .15s ease, transform .15s ease; }
.plat a:hover { background: var(--green-2); transform: translateY(-1px); }
.plat-label { margin: 0; padding-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.plat svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* sections */
section { padding: 88px 0; border-top: 1px solid var(--line); }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--green-2); font-weight: 700; margin: 0 0 12px; }
.eyebrow.red { color: var(--red-2); }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -0.01em; }
p.sub { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split.rev { grid-template-columns: 1.1fr 1fr; }
.split.rev > :first-child { order: 2; }
.split p { color: var(--muted); }
ul.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
ul.ticks li { padding-left: 24px; position: relative; color: var(--text); font-size: 15px; }
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px;
  border-left: 2px solid var(--green-2); border-bottom: 2px solid var(--green-2); transform: rotate(-45deg);
}

/* figures */
.fig {
  background: linear-gradient(180deg, #121212, #0c0c0c);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: relative;
}
.fig .bar { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--dim); margin-bottom: 12px; }
.fig .pill { white-space: nowrap; font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 4px 8px; border-radius: 6px; background: #1d1d1d; color: var(--text); }
.fig .pill.key { background: rgba(16, 185, 129, .15); color: var(--green-2); }
.fig canvas { width: 100%; display: block; border-radius: 8px; }
.phr { display: flex; height: 22px; margin-top: 8px; border-radius: 6px; overflow: hidden; font: 700 10px/22px ui-monospace, Menlo, monospace; letter-spacing: .06em; }
.phr span { color: rgba(0, 0, 0, .78); padding-left: 8px; overflow: hidden; white-space: nowrap; border-right: 1px solid rgba(0, 0, 0, .35); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }

/* grid of features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 16px; background: #1c1c1c; color: var(--green-2); }
.card .ico svg { width: 18px; height: 18px; }
.card { overflow: hidden; }
.card .shot {
  display: block; width: calc(100% + 48px); max-width: none; margin: -24px -24px 16px;
  aspect-ratio: 16 / 10; object-fit: cover; object-position: left top;
  background: #0d0d0d; border-bottom: 1px solid var(--line);
}

/* iPhone / iPad section */
.ios-shot { margin: 40px auto 0; max-width: 1040px; }
.ios-shot img { display: block; width: 100%; height: auto; }
.ios-shot figcaption { text-align: center; color: var(--dim); font-size: 13px; margin-top: 8px; }
#ios .store { justify-content: center; margin-top: 24px; margin-bottom: 48px; }
/* product sections: logo, title and the features in tabs */
.group-head { text-align: center; }
/* the Manager section sits on a dark red sweep, like the hero's green one */
.group.mgr { background: linear-gradient(100deg, #060505, #1d0909 50%, #060505); }
/* and the Player on the green one, the colour of its icon */
.group.ply { background: linear-gradient(100deg, #050607, #0b1f17 50%, #050607); }
.group-head .brand { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 24px; }
.group-head .brand img:first-child { width: 72px; height: 72px; }
.group-head .brand .name { height: 18px; width: auto; filter: invert(1); }
.group-head h2 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 12px; }
.group-head .lead { color: var(--muted); max-width: 640px; margin: 0 auto; }
.group-head .showcase { margin: 40px auto 0; text-align: left; }
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.tabs button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #333; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.tabs button:hover { border-color: #555; color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--text); border-color: var(--green); background: rgba(16, 185, 129, .1); }
.group.mgr .tabs button[aria-selected="true"] { border-color: var(--red-2); background: rgba(248, 113, 113, .1); }
.tabpanel { padding-top: 56px; }
.tabpanel:focus-visible { outline: none; }
.tabpanel .eyebrow { display: none; }
/* full-width features (iPhone e iPad, Ferramentas): title and line centred */
.tabpanel > .wrap > h2, .tabpanel > .wrap > .sub { text-align: center; margin-left: auto; margin-right: auto; }
.tabpanel > .wrap > .sub { max-width: 720px; }
.tabpanel[hidden] { display: none; }
/* method and results under the first text of a feature */
.more { margin-top: 48px; }
ol.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
ol.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; color: var(--muted); font-size: 15px; }
ol.steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; margin-bottom: 12px; font-size: 13px; font-weight: 700; color: var(--green-2); background: rgba(16, 185, 129, .12); }
.group.mgr ol.steps li::before { color: var(--red-2); background: rgba(248, 113, 113, .12); }
ol.steps li b { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }
.facts-title { margin: 32px 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.facts { margin: 0; border: 1px solid var(--line); border-radius: 12px; }
.facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; text-align: right; font-size: 14px; font-weight: 600; color: var(--text); }
.facts-note { margin: 24px 0 0; font-size: 12px; color: var(--dim); text-align: center; }


/* every item at once, in a narrower card on its own background, two columns inside */
ul.ticks.two { display: block; columns: 2; column-gap: 40px; max-width: 880px; margin: 48px auto 0; padding: 32px 40px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); }
ul.ticks.two li { font-size: 15px; line-height: 1.5; color: var(--text); break-inside: avoid; margin-bottom: 16px; }
ul.ticks.two li:last-child { margin-bottom: 0; }
@media (max-width: 720px) { ul.ticks.two { columns: 1; padding: 24px; } }
@media (max-width: 860px) {
  ol.steps { grid-template-columns: 1fr; }
  .facts > div { flex-direction: column; gap: 4px; }
  .facts dd { text-align: left; }
}

@media (max-width: 720px) {
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabpanel { padding-top: 40px; }
}

a.what { text-decoration: underline; text-underline-offset: 3px; }

/* lighting screenshot */
.lights-shot {
  display: block; width: 100%; height: auto; margin-bottom: 16px;
  border: 1px solid var(--line); border-radius: 12px; background: #0d0d0d;
}

/* Live Display: the wide stage picture under the text, the list beside it */
.split.live { align-items: start; }
.split.live > .live-shot { grid-column: 1 / -1; }
.split.live > div:nth-child(2) { align-self: end; }
.live-pair { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
.live-pair figure { margin: 0; }
.live-pair figcaption { color: var(--dim); font-size: 13px; margin-top: 12px; }
.live-pair .lights-shot { margin-bottom: 0; }
/* Live Display: pictures stacked, then the items and a coloured button to subscribe */
.live-stack { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; margin-top: 40px; }
@media (max-width: 860px) { .live-stack { grid-template-columns: 1fr; } }
.live-stack figure { margin: 0; }
.live-stack figcaption { color: var(--dim); font-size: 13px; margin-top: 12px; text-align: center; }
.live-stack .lights-shot { margin-bottom: 0; }
.subscribe { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 24px; text-align: center; }
.subscribe .fine { margin: 0; color: var(--dim); font-size: 13px; }

.obs { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: 12px;
  background: radial-gradient(120% 90% at 72% 70%, #1d3a31 0%, #10201b 38%, #0b0b0b 72%); }
.obs::before { content: ""; position: absolute; inset: 0; opacity: .35;
  background: radial-gradient(40% 55% at 30% 100%, #f59e0b33, transparent 70%), radial-gradient(30% 45% at 85% 20%, #ef444433, transparent 70%); }
.obs img { position: absolute; left: 4%; bottom: 20%; width: 78%; height: auto; }
.obs .live { position: absolute; right: 12px; top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #fff;
  background: #dc2626; border-radius: 4px; padding: 2px 8px; }
.obs .src { position: absolute; right: 12px; bottom: 12px; font-size: 11px; color: #cfcfcf; background: #000a; border-radius: 4px; padding: 2px 8px; }
@media (max-width: 760px) { .live-pair { grid-template-columns: 1fr; } }

/* link diagram */
.link { display: flex; align-items: center; justify-content: center; gap: 0; margin: 8px 0 4px; }
.node { background: #181818; border: 1px solid #2a2a2a; border-radius: 12px; padding: 16px 16px; text-align: center; min-width: 120px; }
.node b { display: block; font-size: 14px; }
.node small { color: var(--dim); font-size: 12px; }
.wire { flex: 1; max-width: 120px; height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 14px); animation: flow 1s linear infinite; background-size: 28px 2px; }
@keyframes flow { to { background-position: 28px 0; } }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--dim); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; max-width: 760px; }

/* download */
.dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.dl .app { grid-template-columns: 72px 1fr; }
.dl .app img { width: 72px; height: 72px; }
.dl .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
/* download cards: name and version on top, the Mac pair as two equal buttons, the App Store under its own label */
.dlcard { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.dlcard.mgr { box-shadow: inset 0 1px 0 rgba(248, 113, 113, .12); }
.dlcard.ply { box-shadow: inset 0 1px 0 rgba(52, 211, 153, .12); }
.dl-head { display: flex; align-items: center; gap: 16px; }
.dl-head .ic { width: 72px; height: 72px; }
.dl-head .name { height: 18px; width: auto; filter: invert(1); display: block; }
.dl-head p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.dl-label { margin: 32px 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.dl-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dl-btns .btn { justify-content: center; gap: 12px; padding: 12px 16px; border-radius: 14px; }
.dl-btns .btn span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.dl-btns .btn small { font-size: 12px; font-weight: 500; opacity: .75; margin-top: 2px; }
.dl-btns svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl-store { display: flex; align-items: center; gap: 16px; }
.dl-store span { color: var(--muted); font-size: 14px; }
@media (max-width: 560px) { .dlcard { padding: 24px; } .dl-btns { grid-template-columns: 1fr; } }
/* the download section: Manager red on the left, Player green on the right */
#download { background: linear-gradient(100deg, #1d0909 0%, #070606 50%, #0b1f17 100%); }
.dlcard .dl-label { text-align: center; }
.updates-link { margin: 40px 0 0; text-align: center; font-size: 20px; font-weight: 600; }
.updates-link a { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .25); padding-bottom: 4px; transition: color .15s ease, border-color .15s ease; }
.updates-link a:hover { color: var(--green-2); border-color: var(--green-2); }
.updates-link svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--green-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* iPhone and iPad: its own card, like the item cards, centred under the two Mac cards */
.dl-ios { display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 720px; margin: 20px auto 0; padding: 24px 32px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); background: transparent; }
.dl-ios .dl-label { margin: 0; }
.dl-ios .store-img img { height: 48px; }
@media (max-width: 860px) { .dl-ios { flex-direction: column; text-align: center; gap: 16px; } }


/* App Store badge (iPhone / iPad) */
.store { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.store .what { font-size: 13px; color: var(--muted); }
/* Apple's official badge (unchanged file from Apple's marketing tools) */
.store-img { display: inline-flex; line-height: 0; transition: transform .15s ease; }
.store-img:hover { transform: translateY(-1px); }
.store-img img, .dl .app .store-img img { display: block; height: 40px; width: auto; }
.hero .cta { align-items: center; }
.beta { display: flex; gap: 16px; align-items: flex-start; margin-top: 32px; padding: 16px 20px; border: 1px solid rgba(245,158,11,.55); border-radius: 14px; background: rgba(245,158,11,.08); }
.beta .tag, .ver-beta { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #0a0a0a; background: var(--amber); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.beta .tag { margin-top: 2px; }
.ver-beta { font-size: 10px; padding: 2px 8px; margin-left: 8px; vertical-align: 1px; }
.beta strong { display: block; color: var(--text, #fff); font-size: 16px; margin-bottom: 4px; }
.beta p { margin: 0; color: var(--muted); font-size: 14px; }
.beta a { color: var(--amber); }
@media (max-width: 560px) { .beta { flex-direction: column; gap: 12px; } }
.note { margin-top: 24px; font-size: 14px; color: var(--dim); }
.note code { font: 13px ui-monospace, Menlo, monospace; background: #171717; padding: 2px 8px; border-radius: 5px; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--dim); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }


/* hero: the Player on its three screens. iPad and iPhone lean in from the sides, the Mac sits under the copy */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-bg::after { /* melt into the page */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 240px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0), var(--bg));
}
header.hero > .wrap { position: relative; z-index: 1; }
.hero-dev {
  position: absolute; width: var(--w); padding: calc(var(--w) * .02); background: #0b0b0f;
  box-shadow: 0 0 0 3px #3a3a3f, 0 0 0 5px #8e8e93, 0 40px 100px rgba(0, 0, 0, .6);
}
.hero-dev .scr { overflow: hidden; line-height: 0; }
.hero-dev img { display: block; width: 100%; height: auto; }
/* each device keeps its inner edge 400px from the middle, clear of the copy */
.hero-dev.pad {
  --w: clamp(420px, 38vw, 720px); left: calc(50% - 400px - var(--w)); top: 104px;
  border-radius: calc(var(--w) * .047); transform-origin: 100% 50%;
  transform: perspective(1600px) rotateY(-26deg) rotate(-5deg);
}
.hero-dev.pad .scr { border-radius: calc(var(--w) * .028); }
.hero-dev.phone {
  --w: clamp(400px, 36vw, 680px); right: calc(50% - 400px - var(--w)); top: 200px;
  border-radius: calc(var(--w) * .083); transform-origin: 0 50%;
  transform: perspective(1600px) rotateY(26deg) rotate(4deg);
}
.hero-dev.phone .scr { border-radius: calc(var(--w) * .066); }
.hero-mac { margin: 56px auto 0; max-width: 820px; }
@media (max-width: 1100px) { .hero-dev { display: none; } }

/* MacBook mockup */
.showcase { margin: 0 auto 72px; max-width: 1040px; }
.mac { margin: 0; }
.mac .lid {
  position: relative;
  margin: 0 5.5%;
  padding: 2.2% 2.2% 3%;
  background: linear-gradient(180deg, #2a2a2c, #161617);
  border-radius: 22px 22px 6px 6px;
  box-shadow: 0 0 0 1px #3a3a3c, 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 120px -20px rgba(16, 185, 129, .18);
}
.mac .lid::before { /* camera */
  content: ""; position: absolute; top: 1%; left: 50%; width: 7px; height: 7px; margin-left: -3.5px;
  border-radius: 50%; background: #0b0b0c; box-shadow: inset 0 0 0 1.5px #232326;
}
.mac .screen { border-radius: 6px; overflow: hidden; background: #000; line-height: 0; }
.mac .screen img { width: 100%; height: auto; aspect-ratio: 1500 / 920; }
.mac .base {
  position: relative; height: 18px; margin-top: -2px;
  background: linear-gradient(180deg, #d4d4d8 0%, #a1a1aa 45%, #6b6b72 100%);
  border-radius: 2px 2px 14px 14px / 2px 2px 18px 18px;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .8);
}
.mac .base::before { /* thumb notch */
  content: ""; position: absolute; top: 0; left: 50%; width: 15%; height: 7px; transform: translateX(-50%);
  background: linear-gradient(180deg, #8e8e95, #b4b4ba); border-radius: 0 0 10px 10px;
}
.showcase figcaption { text-align: center; color: var(--dim); font-size: 13px; margin-top: 24px; }

@media (max-width: 900px) {
  .split, .split.rev { grid-template-columns: 1fr; gap: 32px; }
  .split.rev > :first-child { order: 0; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  nav.top .links { display: none; }
  .lang { margin-left: auto; }
  .apps, .dl, .grid { grid-template-columns: 1fr; }
  .app { grid-template-columns: 64px 1fr; padding: 20px; }
  .app img { width: 64px; height: 64px; }
  header.hero { padding-top: 64px; }
  section { padding: 64px 0; }
  .node { min-width: 0; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .wire { animation: none; } html { scroll-behavior: auto; } }
.sources { margin-top: 40px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.sources h3 { margin: 0 0 4px; font-size: 17px; }
.sources > p { margin: 0; color: var(--muted); font-size: 14px; }
.sources ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; }
.sources li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.sources li svg { width: 22px; height: 22px; fill: currentColor; }
.sources li a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.sources li a:hover, .sources li:hover { color: var(--text); }
/* real screenshots of the Manager */
.shotframe { margin: 56px auto 0; max-width: 1040px; border-radius: 16px; overflow: hidden; border: 1px solid #2a2a2a; box-shadow: 0 40px 80px -32px rgba(0, 0, 0, .9), 0 0 120px -24px rgba(16, 185, 129, .16); }
.shotframe img { width: 100%; height: auto; aspect-ratio: 1600 / 995; }
.shotcap { text-align: center; color: var(--dim); font-size: 13px; margin: 16px 0 0; }

/* the pen drive: songs go in once, then each library lights up */
.pen { padding: 24px; }
/* a USB stick drawn to scale (40 x 16 mm body, 12 x 12 mm USB-A plug), its light blinking while it writes */
.pen .usb { display: flex; justify-content: center; margin: 8px 0 24px; }
.pen .usb svg { width: min(100%, 360px); height: auto; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .55)); }
.pen .usb-led { animation: usb-blink 1.1s steps(2, jump-none) infinite; }
@keyframes usb-blink { 0% { opacity: 1; } 100% { opacity: .2; } }
.pen .body { flex: 1; display: grid; gap: 8px; padding: 16px; border-radius: 12px; background: #161616; border: 1px solid #2a2a2a; }
.pen .row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; background: #101010; border: 1px solid #1f1f1f; color: var(--dim); font: 600 13px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.pen .row .led { width: 8px; height: 8px; border-radius: 50%; background: #333; flex: none; }
.pen .row .tag { margin-left: auto; font: 500 12px/1.2 -apple-system, BlinkMacSystemFont, sans-serif; color: var(--dim); text-align: right; }
.pen .row.songs { display: grid; grid-template-columns: auto 1fr auto; }
.pen .meter { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: #222; overflow: hidden; }
.pen .meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981); animation: pen-fill 9s ease-in-out infinite; }
.pen .row.l1 { animation: pen-on1 9s infinite; }
.pen .row.l2 { animation: pen-on2 9s infinite; }
.pen .row.l3 { animation: pen-on3 9s infinite; }
.pen .row.l1 .led { animation: pen-led1 9s infinite; }
.pen .row.l2 .led { animation: pen-led2 9s infinite; }
.pen .row.l3 .led { animation: pen-led3 9s infinite; }
@keyframes pen-fill { 0% { width: 0; } 24% { width: 100%; } 92% { width: 100%; opacity: 1; } 100% { width: 100%; opacity: 0; } }
@keyframes pen-on1 { 0%, 28% { color: var(--dim); border-color: #1f1f1f; background: #101010; } 32%, 92% { color: var(--text); border-color: rgba(16, 185, 129, .5); background: rgba(16, 185, 129, .07); } 100% { color: var(--dim); border-color: #1f1f1f; background: #101010; } }
@keyframes pen-on2 { 0%, 40% { color: var(--dim); border-color: #1f1f1f; background: #101010; } 44%, 92% { color: var(--text); border-color: rgba(16, 185, 129, .5); background: rgba(16, 185, 129, .07); } 100% { color: var(--dim); border-color: #1f1f1f; background: #101010; } }
@keyframes pen-on3 { 0%, 52% { color: var(--dim); border-color: #1f1f1f; background: #101010; } 56%, 92% { color: var(--text); border-color: rgba(16, 185, 129, .5); background: rgba(16, 185, 129, .07); } 100% { color: var(--dim); border-color: #1f1f1f; background: #101010; } }
@keyframes pen-led1 { 0%, 28% { background: #333; box-shadow: none; } 32%, 92% { background: var(--green-2); box-shadow: 0 0 8px var(--green); } 100% { background: #333; } }
@keyframes pen-led2 { 0%, 40% { background: #333; box-shadow: none; } 44%, 92% { background: var(--green-2); box-shadow: 0 0 8px var(--green); } 100% { background: #333; } }
@keyframes pen-led3 { 0%, 52% { background: #333; box-shadow: none; } 56%, 92% { background: var(--green-2); box-shadow: 0 0 8px var(--green); } 100% { background: #333; } }

/* export: one library, every app lighting up in turn */
.apps-out { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center; padding: 24px; }
.apps-out .src { text-align: center; }
.apps-out .src img { width: 72px; height: 72px; margin: 0 auto 8px; }
.apps-out .src small { color: var(--dim); font-size: 12px; }
.apps-out .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.apps-out .tile { text-align: center; }
.apps-out .tile img { width: 100%; max-width: 88px; aspect-ratio: 1; object-fit: cover; margin: 0 auto 8px; border-radius: 16px; border: 2px solid #262626; animation: tile-on 6s infinite; }
.apps-out .tile b { display: block; font-size: 13px; }
.apps-out .tile small { color: var(--dim); font-size: 12px; }
.apps-out .tile:nth-child(2) img { animation-delay: 1s; }
.apps-out .tile:nth-child(3) img { animation-delay: 2s; }
.apps-out .tile:nth-child(4) img { animation-delay: 3s; }
.apps-out .tile:nth-child(5) img { animation-delay: 4s; }
.apps-out .tile:nth-child(6) img { animation-delay: 5s; }
.apps-out .feed { grid-column: 1 / -1; height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: flow 1s linear infinite; opacity: .6; }
@keyframes tile-on { 0% { border-color: #262626; transform: none; } 4%, 14% { border-color: var(--green); transform: translateY(-4px); box-shadow: 0 12px 24px -12px rgba(16, 185, 129, .6); } 20%, 100% { border-color: #262626; transform: none; box-shadow: none; } }
@media (max-width: 560px) { .apps-out { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pen { padding: 16px; } .pen .row .tag { display: none; } .pen .row.songs .tag { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .pen .meter i, .pen .row, .pen .row .led, .pen .usb-led, .apps-out .tile img, .apps-out .feed { animation: none; }
  .pen .meter i { width: 100%; }
  .pen .row { color: var(--text); }
  .pen .row .led { background: var(--green-2); }
}

/* --- One app per site (player.xport.app.br, manager.xport.app.br) ------- */
/* The app's own section opens the page, under the nav. */
.app-page .group:first-of-type { border-top: 0; padding-top: 64px; }
.group-head h1.h2 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 12px; line-height: 1.1; letter-spacing: -0.02em; }
.group-head .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.group-head .cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl.one { grid-template-columns: minmax(0, 480px); justify-content: center; }
p.other-app { text-align: center; margin: 24px 0 0; color: var(--muted); font-size: 15px; }
p.other-app a { color: var(--text); font-weight: 600; text-decoration: none; }
p.other-app a:hover { color: var(--green-2); }

/* --- The XPORT apps page (xport.app.br) ---------------------------------- */
/* The hero is the old home's; its cards hold every app. */
.eco-page .apps .app:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
.app .app-title { display: flex; align-items: center; gap: 8px; margin: 8px 0 12px; }
.app .app-title .name { margin: 0; }
.app .app-title a { display: inline-flex; }
.plat .off { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px dashed #3a3a3a; color: var(--dim); font-size: 14px; font-weight: 600; }
.soon { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fbbf24; border: 1px solid rgba(251, 191, 36, .4); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.soon.big { font-size: 13px; padding: 8px 16px; }
/* One band per app, on its own colour. */
.group.chr { background: linear-gradient(100deg, #050605, #142109 50%, #050605); }
.group.vib { background: linear-gradient(100deg, #070605, #24180a 50%, #070605); }
.group.djx { background: linear-gradient(100deg, #070505, #26110a 50%, #070505); }
.group.chr .app, .group.vib .app { box-shadow: none; }
.group-head .showcase.wide img { display: block; width: 100%; max-width: 1040px; height: auto; margin: 0 auto; }
.browser { max-width: 1040px; margin: 40px auto 0; border: 1px solid #2a2a2a; border-radius: 14px; overflow: hidden; background: #0d0d0d; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .8); }
.browser .bar { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; background: #161616; border-bottom: 1px solid #222; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.browser .bar span { margin-left: 12px; font-size: 12px; color: var(--dim); }
.browser img { display: block; width: 100%; height: auto; }
.phones { display: flex; justify-content: center; gap: 24px; margin: 40px auto 0; }
.phones img { width: min(240px, 28vw); height: auto; border-radius: 32px; border: 6px solid #1c1c1f; box-shadow: 0 0 0 1px #3a3a3f, 0 40px 80px -24px rgba(0, 0, 0, .8); }
.phones img:nth-child(2) { transform: translateY(-24px); }
@media (max-width: 760px) {
  .eco-page .apps .app:last-child { width: auto; justify-self: stretch; }
  .phones { gap: 12px; }
  .phones img { border-radius: 20px; border-width: 4px; }
}
