:root { --bg:#0a0a0a; --card:#151515; --line:#262626; --text:#e7e7e7; --muted:#9a9a9a; --green:#10b981; --red:#f87171; }
* { box-sizing: border-box; }
body { margin:0; min-height:100vh; display:flex; flex-direction:column; background:var(--bg); color:var(--text); font:16px/1.6 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing:antialiased; }
header { border-bottom:1px solid var(--line); }
header .wrap, footer .wrap { width:min(760px, 100% - 32px); margin-inline:auto; }
header .wrap { display:flex; align-items:center; justify-content:space-between; height:60px; }
header a { color:var(--text); text-decoration:none; font-weight:600; }
main { flex:1; display:flex; align-items:center; justify-content:center; padding:40px 16px; }
.card { width:min(440px, 100%); background:var(--card); border:1px solid var(--line); border-radius:14px; padding:32px; text-align:center; }
.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; }
.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; }
.logo { width:180px; aspect-ratio:447.1 / 71.4; margin:0 auto; }
h1 { font-size:22px; line-height:1.3; margin:20px 0 8px; }
p { color:#cfcfcf; margin:0 0 12px; }
.muted { color:var(--muted); font-size:14px; }
.en { color:var(--muted); font-size:14px; border-top:1px solid var(--line); margin-top:20px; padding-top:16px; }
.icon { font-size:40px; line-height:1; margin-top:16px; }
form { text-align:left; margin-top:16px; }
label { display:block; font-size:13px; color:var(--muted); margin:12px 0 4px; }
input { width:100%; height:44px; border-radius:8px; border:1px solid #3a3a3a; background:#0f0f0f; color:var(--text); padding:0 12px; font-size:15px; }
input:focus { outline:none; border-color:var(--green); }
button { width:100%; height:44px; margin-top:20px; border:0; border-radius:8px; background:var(--green); color:#052e1a; font-weight:700; font-size:15px; cursor:pointer; }
button:disabled { opacity:.5; cursor:default; }
/* Working: the label says what is happening and a bar runs along the bottom. */
button.busy { position:relative; overflow:hidden; opacity:1; cursor:progress; }
button.busy::after { content:""; position:absolute; left:0; bottom:0; width:40%; height:4px; border-radius:2px; background:rgba(5,46,26,.55); animation:busybar 1.1s ease-in-out infinite; }
button.ghost.busy::after { background:var(--green); }
@keyframes busybar { from { transform:translateX(-100%); } to { transform:translateX(250%); } }
@media (prefers-reduced-motion: reduce) { button.busy::after { animation:none; width:100%; opacity:.5; } }
.error { color:var(--red); font-size:14px; margin-top:12px; }
.ok { color:var(--green); }
a.link { color:var(--green); }
footer { border-top:1px solid var(--line); padding:20px 0; color:var(--muted); font-size:13px; }
/* Account page (/conta/, /en/account/) */
.card.wide { width:min(520px, 100%); text-align:left; }
.row { display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:14px; }
.sync { display:flex; gap:16px; align-items:center; margin:20px 0 8px; }
.sync img { width:52px; height:52px; border-radius:12px; flex-shrink:0; }
.sync h1 { margin:0 0 4px; }
.sync h1 { font-size:20px; }
.product { padding:20px 0; border-top:1px solid var(--line); }
.product:first-of-type { border-top:0; }
.product h2 { margin:0; }
.product .sync { margin-top:0; }
.picon { width:52px; height:52px; border-radius:12px; flex-shrink:0; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg, #3b0d0d, #3a2a05 55%, #06301f); color:#f3d28a; }
.plans.products { grid-template-columns:1fr; }
.plans.products .plan { display:grid; grid-template-columns:1fr auto; align-items:center; gap:2px 12px; }
.plans.products .plan .ok { grid-column:1 / -1; }
.status { font-weight:600; margin-top:12px; }
.plans { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; }
.plan { display:flex; flex-direction:column; gap:2px; border:1px solid #3a3a3a; border-radius:10px; padding:12px; cursor:pointer; color:var(--text); font-size:15px; margin:0; }
.plan.on { border-color:var(--green); background:#0f1f19; }
.plan input { display:none; }
.pname { font-weight:600; }
.pprice small { color:var(--muted); font-size:13px; }
.coupon { display:flex; gap:8px; margin-top:12px; }
.coupon input { flex:1; text-transform:uppercase; }
.coupon button { width:auto; margin-top:0; padding:0 16px; }
button.ghost { background:transparent; color:var(--text); border:1px solid #3a3a3a; }
button.apple { background:#fff; color:#000; margin-top:12px; }
.small { font-size:13px; }
.card .muted.small { margin-top:16px; }
.card h2 { font-size:17px; margin:20px 0 8px; }
.pixqr { display:block; width:220px; height:220px; margin:12px auto; border-radius:8px; background:#fff; padding:8px; }
.banner { margin:16px 0 4px; padding:12px 16px; border-radius:10px; background:#0f1f19; border:1px solid #1d5a40; color:#7ee2b3; font-size:14px; line-height:1.45; }
.facts { margin:12px 0 0; border:1px solid var(--line); border-radius:10px; }
.facts > div { display:flex; justify-content:space-between; 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; }
.cancel-row { margin:16px 0 0; text-align:center; }
.cancel-row a.link { color:var(--muted); }
/* The card form: Mercado Pago's protected fields look like the inputs */
.mpfield { height:44px; border-radius:8px; border:1px solid #3a3a3a; background:#0f0f0f; padding:0 12px; }
.mpfield.focus { border-color:var(--green); }
.mpfield iframe { height:100% !important; width:100% !important; }
.row2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.secure-note { margin:12px 0 0; text-align:center; color:var(--muted); font-size:13px; }
/* Drawn card that follows the form (turns over for the CVV) */
.cc { position:relative; width:100%; max-width:340px; aspect-ratio:1.586; margin:16px auto 4px; perspective:1000px; }
.cc-face { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:space-between; padding:20px 24px; border-radius:16px; color:#fff; backface-visibility:hidden; -webkit-backface-visibility:hidden; transition:transform .5s ease; box-shadow:0 10px 24px rgba(0,0,0,.45); background:linear-gradient(135deg, #334155, #0f172a); }
.cc-back { transform:rotateY(180deg); justify-content:center; padding:0; }
.cc-flipped .cc-front { transform:rotateY(180deg); }
.cc-flipped .cc-back { transform:rotateY(360deg); }
.cc-visa { background:linear-gradient(135deg, #1a3a8f, #0b1f5c); }
.cc-mastercard { background:linear-gradient(135deg, #3a3a3a, #111); }
.cc-amex { background:linear-gradient(135deg, #1f7a8c, #0c4a5a); }
.cc-elo { background:linear-gradient(135deg, #2b2b2b, #000); }
.cc-hipercard { background:linear-gradient(135deg, #b3122e, #6d0a1b); }
.cc-diners { background:linear-gradient(135deg, #3d5a80, #1b2a41); }
.cc-top { display:flex; justify-content:space-between; align-items:center; }
.cc-chip { width:42px; height:32px; border-radius:6px; background:linear-gradient(135deg, #f3d77a, #c9a640); }
.cc-number { font-size:21px; letter-spacing:.08em; font-variant-numeric:tabular-nums; white-space:nowrap; }
.cc-bottom { display:flex; justify-content:space-between; align-items:flex-end; gap:12px; font-size:13px; letter-spacing:.06em; }
.cc-holder { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cc-stripe { display:block; height:44px; margin-bottom:16px; background:#111; }
.cc-cvv { align-self:flex-end; margin-right:24px; padding:4px 12px; border-radius:4px; background:#fff; color:#111; font-style:italic; letter-spacing:.1em; }
.brand-badge { display:inline-flex; align-items:center; justify-content:center; height:34px; padding:2px 8px; background:#fff; border-radius:6px; }
.brand-badge img { display:block; height:100%; width:auto; }
@media (max-width:420px) { .cc-number { font-size:17px; } .cc-face { padding:16px 20px; } }
