/* Página de links no formato de aplicativo: vídeo no topo, painel por cima, blocos em movimento. */
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --violet: #531cf2;
  --orchid: #a140d4;
  --brand: linear-gradient(100deg, var(--violet), var(--orchid));
  --bg: #0b0814;
  --surface: #16111f;
  --line: rgb(255 255 255 / 0.09);
  --ink: #f4f1fb;
  --muted: #a59dbd;
  --accent: #b78bff;
  --whats: #25d366;

  --display: 'Space Grotesk', 'Trebuchet MS', sans-serif;
  --body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --w: 480px;
  --gutter: 18px;
  --hero: clamp(230px, 40svh, 420px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { background: radial-gradient(60% 55% at 50% 20%, rgb(83 28 242 / 0.28), transparent 70%) fixed, #05030a; color: var(--ink); font: 400 15px/1.5 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.icon { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.noscript { padding: 24px; }

/* nada se mexe fora da tela */
[data-live]:not(.live), [data-live]:not(.live) *, [data-live]:not(.live)::before { animation-play-state: paused !important; }

.progress-bar { position: fixed; z-index: 10; top: 0; left: max(0px, calc(50% - var(--w) / 2)); width: min(100%, var(--w)); height: 3px; background: linear-gradient(90deg, var(--violet), #e07bff); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.app { width: min(100%, var(--w)); margin-inline: auto; background: var(--bg); min-height: 100vh; }

/* ---------- abertura ---------- */
.hero { position: sticky; top: 0; z-index: 0; height: var(--hero); overflow: hidden; background: #0d0620; }
.hero-media { position: absolute; inset: 0; transform: translateY(calc(var(--s, 0) * 48px)) scale(calc(1 + var(--s, 0) * 0.14)); opacity: calc(1 - var(--s, 0) * 0.5); }
.hero-video, .stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(0 0 0 / 0.45), transparent 30%, transparent 60%, rgb(11 8 20 / 0.9)); }
.aurora { position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; filter: blur(46px); opacity: 0.85; }
.aurora--a { background: var(--violet); top: -35%; left: -20%; animation: float-a 9s ease-in-out infinite alternate; }
.aurora--b { background: var(--orchid); bottom: -40%; right: -25%; animation: float-b 11s ease-in-out infinite alternate; }
@keyframes float-a { to { transform: translate(45%, 30%) scale(1.15); } }
@keyframes float-b { to { transform: translate(-40%, -28%) scale(0.85); } }
.grid { position: absolute; inset: -40px 0 0; background-image: linear-gradient(rgb(255 255 255 / 0.09) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.09) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent); animation: slide 4s linear infinite; }
@keyframes slide { to { transform: translateY(40px); } }
.draw { position: absolute; left: 50%; top: 46%; width: 50%; transform: translate(-50%, -50%); overflow: visible; filter: drop-shadow(0 0 22px rgb(190 140 255 / 0.8)); }
.draw path { fill: #fff; stroke: #fff; stroke-width: 4; stroke-dasharray: 100; animation: draw 7s ease-in-out infinite; }
@keyframes draw { 0%, 50% { stroke-dashoffset: 0; fill-opacity: 1; } 51% { stroke-dashoffset: 100; fill-opacity: 0; } 75% { stroke-dashoffset: 0; fill-opacity: 0; } 90%, 100% { stroke-dashoffset: 0; fill-opacity: 1; } }
.hero-logo { position: absolute; z-index: 1; top: calc(18px + env(safe-area-inset-top)); left: var(--gutter); }
.hero-words { position: absolute; z-index: 1; inset: auto 12px 42px; display: flex; justify-content: center; font: 700 20px/1.3 var(--display); text-shadow: 0 2px 14px #000; white-space: nowrap; }
.hero-words span { display: inline-block; animation: letter 0.55s var(--ease) both; animation-delay: calc(var(--i) * 22ms); }
@keyframes letter { from { opacity: 0; transform: translateY(0.7em) rotate(8deg); } }

/* ---------- painel ---------- */
.sheet { position: relative; z-index: 1; margin-top: -28px; padding-bottom: 24px; background: linear-gradient(180deg, #1b1428, var(--bg) 280px); border-radius: 28px 28px 0 0; border-top: 1px solid rgb(255 255 255 / 0.14); box-shadow: 0 -18px 40px rgb(0 0 0 / 0.55); animation: sheet-up 0.8s var(--ease) both; }
@keyframes sheet-up { from { translate: 0 46px; } }
.handle { display: block; width: 44px; height: 4px; margin: 12px auto 0; border-radius: 9px; background: rgb(255 255 255 / 0.35); }
.intro { padding: 12px var(--gutter) 0; text-align: center; }
.intro h1 { font-size: 28px; }
.intro p { margin-top: 2px; color: var(--muted); font-size: 14px; }

.block { padding: 34px var(--gutter) 0; }
.block--hub { padding-top: 14px; }
.block-title { font-size: 22px; margin-bottom: 8px; }
.block-title a::after { content: ' ›'; color: var(--accent); }
.block-text { margin-bottom: 16px; color: var(--muted); }
.sheet .reveal { opacity: 0; translate: 0 34px; scale: 0.97; transition: opacity 0.7s var(--ease) var(--delay), translate 0.8s var(--ease) var(--delay), scale 0.8s var(--ease) var(--delay), transform 0.2s; }
.sheet .reveal.in { opacity: 1; translate: none; scale: none; }

.pill { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 48px; padding: 12px 20px; border-radius: 99px; background: var(--brand); color: #fff; font-weight: 700; text-align: center; transition: transform 0.15s; }
.pill:active { transform: scale(0.97); }
.pill--whats { background: var(--whats); color: #04230f; }

/* ---------- NV Hub: destaque com borda em órbita ---------- */
.hub { padding: 2px; border-radius: 22px; background: conic-gradient(from var(--angle), var(--violet), #f0a6ff, var(--orchid), var(--violet) 55%, #6fd3ff, var(--violet)); box-shadow: 0 14px 44px rgb(120 52 255 / 0.45); animation: orbit 5s linear infinite; }
@keyframes orbit { to { --angle: 360deg; } }
.hub-in { padding: 14px; border-radius: 20px; background: linear-gradient(160deg, #3a15b8, #2a0f6e 45%, #190d38); }
.hub-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hub-head small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 9px; border-radius: 99px; background: rgb(255 255 255 / 0.14); }
.hub-head strong { font: 700 32px/1 var(--display); letter-spacing: -0.04em; }
.hub-head > span { font-size: 14px; line-height: 1.45; }
.hub-head .hub-cta { position: relative; align-self: stretch; margin-top: 6px; padding: 13px; overflow: hidden; text-align: center; font-weight: 700; color: #1a0a3d; background: #fff; border-radius: 99px; }
.hub-cta::after { content: ''; position: absolute; inset: 0 auto 0 -40%; width: 30%; background: linear-gradient(100deg, transparent, rgb(161 64 212 / 0.35), transparent); animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 0%, 45% { left: -40%; } 80%, 100% { left: 130%; } }

.demo { height: 150px; margin-top: 12px; overflow: hidden; border-radius: 14px; background: rgb(5 2 14 / 0.6); border: 1px solid var(--line); }
.screen { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 7px; height: 100%; padding: 10px 12px; animation: screen-in 0.5s var(--ease) both; }
@keyframes screen-in { from { opacity: 0; transform: translateX(36px); } }
.demo-caption { min-height: 38px; padding: 8px 2px 0; font-size: 12px; line-height: 1.4; color: #cfc4ee; }
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 6px; }
.modules button { position: relative; min-height: 34px; overflow: hidden; font-size: 12px; font-weight: 700; border-radius: 99px; background: rgb(255 255 255 / 0.08); }
.modules button[aria-pressed="true"] { background: #fff; color: #1a0a3d; }

.bar { display: block; width: var(--w); height: 5px; border-radius: 9px; background: var(--brand); }
.kanban { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; height: 100%; }
.kanban > div { display: flex; flex-direction: column; gap: 6px; padding: 7px; border-radius: 9px; background: rgb(255 255 255 / 0.04); }
.kanban b { font-size: 10px; color: var(--muted); }
.kanban u { display: flex; flex-direction: column; justify-content: center; gap: 4px; height: 30px; padding: 0 7px; border-radius: 6px; background: rgb(255 255 255 / 0.09); text-decoration: none; }
.kanban .moving { position: absolute; bottom: 7px; left: 6px; width: calc((100% - 14px) / 3 - 12px); background: #fff; box-shadow: 0 8px 18px rgb(0 0 0 / 0.5); animation: move 4s var(--ease) both; }
@keyframes move { 0%, 15% { transform: none; } 40%, 55% { transform: translate(calc(100% + 19px), -4px) rotate(3deg); } 80%, 100% { transform: translate(calc(200% + 38px), 0); } }
.timer { align-self: flex-end; font: 700 20px/1 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.task { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 8px; font-size: 12px; }
.task .bar { height: 8px; transform-origin: left; animation: grow 1.4s var(--ease) var(--d) both; }
@keyframes grow { from { transform: scaleX(0); } }
.msg { align-self: flex-start; max-width: 85%; padding: 5px 10px; font-size: 11.5px; line-height: 1.35; border-radius: 12px 12px 12px 3px; background: rgb(255 255 255 / 0.12); animation: pop 0.45s var(--ease) var(--d) both; }
.msg--me { align-self: flex-end; background: var(--brand); border-radius: 12px 12px 3px 12px; }
.msg--note { align-self: center; padding: 2px 10px; font-size: 10px; background: none; color: var(--accent); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(0.85); } }
.route { width: 100%; height: 92px; fill: var(--accent); overflow: visible; }
.road { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; animation: trace 1.8s ease-in-out both; filter: drop-shadow(0 0 6px var(--violet)); }
@keyframes trace { from { stroke-dashoffset: 100; } }
.refund { align-self: center; padding: 3px 12px; font-size: 12px; font-weight: 700; color: #04230f; background: var(--whats); border-radius: 99px; animation: pop 0.45s var(--ease) var(--d) both; }

/* ---------- soluções ---------- */
.tile { display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.2s, border-color 0.2s; }
.cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; padding: 12px; overflow: hidden; background: radial-gradient(85% 60% at 50% 34%, rgb(120 52 255 / 0.55), transparent 70%), linear-gradient(165deg, #1d0f3d, #07040f 75%); }
.cover > .icon { position: absolute; top: 14%; left: 50%; width: 42%; height: auto; translate: -50% 0; color: #e4d3ff; stroke-width: 1.15; stroke-dasharray: 100; filter: drop-shadow(0 0 5px #9c5bff) drop-shadow(0 0 18px #6a2cff); animation: neon 5s ease-in-out infinite; }
@keyframes neon { 0%, 64% { stroke-dashoffset: 0; } 20% { transform: translateY(-7px); } 40%, 100% { transform: translateY(0); } 65% { stroke-dashoffset: 100; } 90%, 100% { stroke-dashoffset: 0; } }
.rings { position: absolute; top: 33%; left: 50%; }
.rings i { position: absolute; width: 120px; height: 120px; margin: -60px; border: 1px solid var(--accent); border-radius: 50%; opacity: 0; animation: ring 3.6s ease-out infinite; }
.rings i:nth-child(2) { animation-delay: 1.2s; }
.rings i:nth-child(3) { animation-delay: 2.4s; }
@keyframes ring { 0% { transform: scale(0.35); opacity: 0.7; } 100% { transform: scale(1.5); opacity: 0; } }
.cover small { position: relative; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.cover strong { position: relative; font: 700 20px/1.05 var(--display); letter-spacing: -0.03em; text-shadow: 0 2px 12px #000; }

.featured { margin-bottom: 12px; border-color: rgb(183 139 255 / 0.4); }
.featured .cover { aspect-ratio: 16 / 9; padding: 16px; }
.featured .cover > .icon { top: 9%; width: 24%; }
.featured .cover strong { font-size: 32px; }
.pdv { display: flex; flex-direction: column; gap: 5px; margin: 14px 16px 0; padding: 12px 14px; font-size: 13px; border: 1px dashed rgb(183 139 255 / 0.4); border-radius: 12px; background: #0d0918; }
.pdv small { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.line { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; transition: opacity 0.4s, translate 0.5s var(--ease); }
.line--total { padding-top: 7px; border-top: 1px solid var(--line); font-weight: 700; }
.line strong { font: 700 20px/1 var(--display); color: var(--accent); }
.paid { font-size: 12px; font-weight: 700; color: var(--whats); transition: opacity 0.4s, translate 0.5s var(--ease); }
.off { opacity: 0; translate: -18px 0; }
.featured-body { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 4px 10px; font-size: 12px; font-weight: 600; border: 1px solid var(--line); border-radius: 99px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 12px 12px; font-size: 12px; color: var(--muted); }
.tile-meta b { color: var(--accent); font-size: 18px; line-height: 1; }

/* ---------- sob medida ---------- */
.terminal { padding: 12px 14px 16px; border-radius: 16px; background: #07050d; border: 1px solid var(--line); box-shadow: 0 16px 36px rgb(83 28 242 / 0.2); }
.dots { display: flex; gap: 6px; margin-bottom: 10px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--violet); }
.dots i:nth-child(2) { background: var(--orchid); }
.dots i:nth-child(3) { background: var(--whats); }
.terminal pre { display: grid; font: 12.5px/1.8 ui-monospace, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.terminal pre > * { grid-area: 1 / 1; font: inherit; }
.ghost { visibility: hidden; }
.terminal code { color: #d9c8ff; }
.terminal code::after { content: '▍'; color: var(--accent); animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.marquee { margin-inline: calc(var(--gutter) * -1); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; width: max-content; animation: loop 24s linear infinite; }
.track--back { animation-direction: reverse; }
.track ul { display: flex; gap: 8px; padding-right: 8px; }
.track li { padding: 7px 14px; font-size: 12.5px; font-weight: 600; white-space: nowrap; border-radius: 99px; background: rgb(183 139 255 / 0.1); border: 1px solid rgb(183 139 255 / 0.25); }
@keyframes loop { to { transform: translateX(-50%); } }
#types { margin-top: 14px; }

.steps { position: relative; display: grid; gap: 18px; margin: 22px 0; }
.steps::before, .steps::after { content: ''; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.steps::after { background: linear-gradient(var(--violet), #e07bff); transform-origin: top; transform: scaleY(var(--fill, 0)); }
.steps li { position: relative; z-index: 1; display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; opacity: 0.45; transition: opacity 0.4s; }
.steps i { grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; font: 700 13px var(--display); font-style: normal; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); transition: background 0.3s, scale 0.4s var(--ease); }
.steps strong { font-size: 15px; }
.steps span { font-size: 13px; color: var(--muted); }
.steps li.done { opacity: 1; }
.steps li.done i { background: var(--violet); border-color: var(--accent); scale: 1.12; box-shadow: 0 0 18px var(--violet); }

/* ---------- curso ---------- */
.course { overflow: hidden; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.course-cover { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.course-cover img { width: 100%; height: 100%; object-fit: cover; transform: translateY(calc(var(--shift, 0) * 16px)) scale(1.14); }
.course-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(35% 55% at 74% 45%, rgb(150 80 255 / 0.5), transparent); mix-blend-mode: screen; animation: pulse 2.6s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: 0.1; } }
#lessons { display: grid; gap: 8px; padding-top: 14px; }
#lessons .marquee { margin-inline: 0; }
.course-body { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.course-body p { color: var(--muted); }
.course-body em { font-style: normal; font-size: 13px; font-weight: 700; text-align: center; color: var(--accent); }

/* ---------- provas ---------- */
.rail { display: flex; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > li { flex: 0 0 42%; scroll-snap-align: start; }
.video { position: relative; display: block; aspect-ratio: 9 / 15; overflow: hidden; border-radius: 16px; background: var(--surface); }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / 0.96) 58%); }
.video i { position: absolute; z-index: 1; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; padding-left: 2px; font-style: normal; font-size: 12px; border-radius: 50%; background: rgb(83 28 242 / 0.85); animation: beat 2s ease-out infinite; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgb(183 139 255 / 0.8); } 70%, 100% { box-shadow: 0 0 0 12px transparent; } }
.video span { position: absolute; z-index: 1; inset: auto 10px 10px; font-size: 11px; line-height: 1.35; color: #d8d2e8; }
.video strong { display: block; font-size: 13px; color: #fff; }
.numbers { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; text-align: center; }
.numbers div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding-inline: 4px; }
.numbers dd { font: 700 28px/1.1 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.numbers dt { font-size: 11px; line-height: 1.3; color: var(--muted); }
.numbers--lined { margin: 14px 0; padding: 14px 0; border-block: 1px solid var(--line); }
.rail--quotes > li { flex-basis: 84%; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.rail--quotes blockquote { font-size: 14px; }
.rail--quotes cite { font-style: normal; font-size: 12px; color: var(--muted); }
.rail--quotes cite strong { display: block; color: var(--ink); font-size: 13px; }

/* ---------- contato ---------- */
.row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.row i { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand); }
.row .icon { width: 26px; height: 26px; }
.row span { flex: 1; font-size: 13px; line-height: 1.4; color: var(--muted); }
.row strong { display: block; font-size: 15px; color: var(--ink); }
.row b { color: var(--accent); font-size: 22px; }
.contact { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 28px 18px; text-align: center; border-radius: 22px; border: 1px solid rgb(183 139 255 / 0.35); background: radial-gradient(90% 100% at 50% 0%, rgb(83 28 242 / 0.4), transparent); }
.contact h2 { font-size: 24px; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / 0.07); border: 1px solid var(--line); transition: background 0.2s, translate 0.2s; }
.foot { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 34px var(--gutter) calc(80px + env(safe-area-inset-bottom)); text-align: center; font-size: 12px; color: var(--muted); }
.foot ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.foot a { display: inline-block; padding: 6px 0; text-decoration: underline; }

.float { position: fixed; z-index: 5; right: max(16px, calc((100vw - var(--w)) / 2 + 16px)); bottom: calc(16px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--whats); color: #04230f; box-shadow: 0 8px 24px rgb(0 0 0 / 0.5); opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.7); transition: 0.35s var(--ease); }
.float.is-on { opacity: 1; visibility: visible; transform: none; }
.float .icon { width: 28px; height: 28px; }

/* ---------- detalhe de cada solução (painel que sobe) ---------- */
.detail { width: min(100%, var(--w)); max-width: 100%; max-height: 92vh; max-height: 92dvh; margin: auto auto 0; padding: 0; overflow: auto; color: var(--ink); background: #17101f; border: 0; border-radius: 28px 28px 0 0; overscroll-behavior: contain; }
.detail[open] { animation: rise 0.45s var(--ease); }
@keyframes rise { from { transform: translateY(45%); opacity: 0.2; } }
.detail::backdrop { background: rgb(3 1 8 / 0.75); backdrop-filter: blur(4px); }
.detail-box { position: relative; }
.detail-cover .cover { aspect-ratio: 16 / 9; padding: 18px; }
.detail-cover .cover > .icon { width: 22%; top: 11%; }
.close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgb(0 0 0 / 0.55); }
.detail-body { display: flex; flex-direction: column; gap: 12px; padding: 18px var(--gutter) 6px; }
.detail-body h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.detail-body p { color: var(--muted); }
.detail-body li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line); font-size: 14px; animation: item 0.5s var(--ease) both; animation-delay: calc(0.15s + var(--i) * 45ms); }
@keyframes item { from { opacity: 0; transform: translateX(-16px); } }
.detail-body li::before { content: '✓'; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }
.detail-actions { position: sticky; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, #17101f 22%); }
.detail-link { padding: 8px; font-size: 13px; color: var(--muted); text-decoration: underline; }

@media (hover: hover) {
  .tile:hover { border-color: rgb(183 139 255 / 0.6); }
  .socials a:hover { background: var(--violet); translate: 0 -3px; }
}
@media (min-width: 560px) {
  .app { margin-block: 24px; border-radius: 32px; overflow: clip; border: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero { position: relative; }
  .marquee { overflow-x: auto; }
}
