/* Visual refinement layer. Shared interaction styles remain in styles.css. */
:root { color-scheme: dark; --bg:#101013; --surface:#19191e; --red:#ff515b; --line:#303038; }
h1,h2,h3 { text-wrap:balance; }
h2 > span[data-i18n] { color:inherit; }
.button { border-radius:7px; color:#101013; min-height:48px; gap:20px; }
.button:hover { background:#ff7b83; }
.button span[data-i18n],.text-link span[data-i18n] { transform:none; }
.small { min-height:42px; }
.light:hover { background:#ddd9d2; }
.header { background:#101013f2; }
.nav { gap:24px; height:86px; }
.brand img { width:125px; height:64px; }
.nav nav { margin-left:auto; gap:20px; font-size:.8rem; }
.nav .github { margin-left:0; }
.nav-tools { order:2; display:flex; align-items:center; gap:10px; }
.language-switch { display:flex; gap:2px; padding:4px; border:1px solid var(--line); border-radius:8px; background:#ffffff03; }
.language-switch button { min-height:34px; padding:5px 8px; background:transparent; border-radius:5px; font-size:.72rem; font-weight:700; color:var(--muted); }
.language-switch button[aria-pressed='true'] { background:#383039; color:#ffc4c7; }
.language-switch button:hover { color:white; }
.nav nav > .button:hover { color:#101013; }

/* Original app assets replace the decorative brand mockup. */
.hero { grid-template-columns:1fr 1.07fr; gap:60px; min-height:710px; padding-block:85px 100px; }
.hero-trust { font-size:.8rem; margin:25px 0 8px; }
.hero-trust > span:first-child { color:#a3d7b4; margin-right:7px; }
.platform { margin:0; flex-wrap:wrap; font-size:.72rem; gap:10px; }
.hero-art { min-width:0; padding:40px 0 100px; }
.hero-orbit { position:absolute; inset:-60px -25px; border-radius:50%; background:radial-gradient(ellipse,#e43b4933,transparent 65%); pointer-events:none; }
.tilt { transform:rotate(-3deg); }
.hero-preview { border:1px solid #61515c; border-radius:12px; overflow:hidden; background:#1c1b21; box-shadow:0 30px 70px #0007; }
.preview-bar { display:flex; align-items:center; gap:12px; padding:12px 14px; font-size:.68rem; color:#cdc7d1; }
.preview-version { margin-left:auto; color:#ff969d; }
.hero-preview img { width:100%; height:auto; display:block; }
.preview-label { display:flex; justify-content:space-between; align-items:center; padding:14px 18px; color:#ffc4c7; font-size:.62rem; font-weight:700; letter-spacing:.1em; }
.hero-reader { position:absolute; width:52%; right:-10px; bottom:62px; transform:rotate(4deg); background:#222027; border:1px solid #70606d; border-radius:9px; box-shadow:0 14px 45px #0008; overflow:hidden; }
.hero-reader img { width:100%; height:auto; display:block; }
.hero-reader > span { display:flex; justify-content:space-between; padding:7px 12px; font-size:.7rem; }
.art-caption { position:absolute; bottom:0; inset-inline:0; text-align:left; font-size:.65rem; line-height:1.65; margin:0; color:#aaa2b2; }

/* Cards, gallery, and readability */
.feature { border-radius:12px; }
.feature-icon { display:flex; align-items:center; justify-content:center; width:44px; height:44px; border:1px solid #ff515b33; border-radius:11px; background:#ff515b08; font-size:1.6rem; }
.feature-footer > span[data-i18n] { color:var(--ink); }
#novidades { padding-top:25px; }
.news-link { display:inline-flex; margin-top:18px; }
.formats { grid-template-columns:repeat(5,minmax(0,1fr)); border-radius:12px; overflow:hidden; background:var(--surface); }
.formats article { padding:28px 20px; }
.formats p { font-size:.85rem; }
.formats strong { min-height:100px; font-size:2.1rem; }
.badge { border-radius:4px; background:#283d32; color:#c5e5d0; }
.external { background:#412b32; color:#ffc4c7; }
.gallery { border-radius:12px; }
.gallery-controls button { border:1px solid transparent; border-radius:7px; min-height:46px; }
.gallery-controls button.selected { color:#ffd7da; border-color:#ff515b55; background:#ff515b12; }
.gallery-controls button:hover { background:#ffffff06; }
.gallery-bar button { background:#ffffff08; border:1px solid var(--line); border-radius:5px; min-height:36px; padding:5px 10px; }
.notice { border-radius:0 8px 8px 0; }
.notice strong { color:#ffb0b6; }
.open-source { border-radius:15px; border-color:#67404c; background:radial-gradient(ellipse at 0 100%,#65293650,transparent 65%),var(--surface); }
.nav-support { min-height:42px; padding:8px 13px; border:1px solid #f3a35c66; border-radius:7px; background:#f3a35c12; color:#ffd1a8; font-size:.78rem; font-weight:800; display:inline-flex; align-items:center; gap:7px; }
.nav-support:hover { border-color:#f3a35c; background:#f3a35c25; color:white; transform:translateY(-1px); }
.support-callout { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:14px; margin-top:28px; padding:15px 15px 15px 18px; border:1px solid #f3a35c55; border-radius:12px; background:linear-gradient(110deg,#f3a35c18,#ff515b12); box-shadow:0 14px 35px #0003; }
.support-cup { display:grid; place-items:center; width:48px; height:48px; border-radius:50%; background:#f3a35c1f; font-size:1.55rem; }
.support-callout div { display:flex; flex-direction:column; gap:3px; }
.support-callout strong { color:#ffe0c4; font-size:.96rem; }
.support-callout div span { color:#bdb4bd; font-size:.78rem; }
.support-button { min-height:48px; padding:12px 18px; border:0; border-radius:8px; background:linear-gradient(135deg,#f3a35c,#ff686f); color:#1c1112; box-shadow:0 8px 24px #ff515b2c; font-weight:850; display:inline-flex; align-items:center; gap:18px; }
.support-button:hover { background:linear-gradient(135deg,#ffc17f,#ff858b); transform:translateY(-2px); box-shadow:0 12px 30px #ff515b44; }
.project-actions { margin-top:20px; }
.footer-support { padding:0; background:transparent; color:#ff9da3; font:inherit; }
.footer-support:hover { color:white; }
.support-dialog { width:min(820px,94vw); padding:28px; overflow:auto; background:radial-gradient(circle at 100% 0,#f3a35c12,transparent 38%),#18181c; }
.coffee-glow { position:absolute; right:-22px; top:-35px; color:#f3a35c0c; font-size:13rem; line-height:1; transform:rotate(12deg); pointer-events:none; }
.support-dialog .modal-head { align-items:flex-start; }
.support-dialog .modal-head .eyebrow { margin:0 0 8px; }
.support-dialog .modal-head h2 { font-size:clamp(1.8rem,4vw,2.7rem); max-width:620px; }
.support-dialog .modal-head > button { width:44px; height:44px; padding:0; flex:0 0 auto; font-size:1.8rem; }
.support-badges { position:relative; display:flex; flex-wrap:wrap; gap:7px; margin:-2px 0 22px; }
.support-badges span { padding:6px 9px; border:1px solid #f3a35c35; border-radius:999px; background:#f3a35c0c; color:#d7c2ae; font-size:.66rem; font-weight:750; letter-spacing:.035em; }
.support-content { display:grid; grid-template-columns:minmax(220px,300px) 1fr; gap:32px; align-items:center; }
.pix-qr { position:relative; padding:15px 15px 42px; border-radius:14px; background:white; box-shadow:0 18px 45px #0005; }
.pix-qr img { display:block; width:100%; height:auto; image-rendering:pixelated; }
.pix-qr span { position:absolute; inset:auto 12px 12px; color:#40353a; text-align:center; font-size:.7rem; font-weight:800; }
.support-copy > p:first-child { color:#cbc7cf; }
.pix-label { margin:20px 0 8px; color:#ffadb2; font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
#pix-code { display:block; max-height:92px; padding:12px; overflow:auto; overflow-wrap:anywhere; border:1px solid var(--line); border-radius:7px; background:#101013; color:#ccc7ce; font-size:.72rem; line-height:1.55; user-select:all; }
#copy-pix { width:100%; justify-content:space-between; margin-top:12px; }
.pix-note { margin:12px 0 0; color:#96909a; font-size:.75rem; }
.copy-status { min-height:1.3em; margin:8px 0 0; color:#a3d7b4; font-size:.78rem; font-weight:700; }
.international-support { position:relative; display:grid; grid-template-columns:auto 1fr auto; gap:14px; align-items:center; margin-top:24px; padding:16px; border:1px solid #599cd044; border-radius:12px; background:linear-gradient(110deg,#438cc015,#7656c511); }
.international-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:#5796c619; font-size:1.4rem; }
.international-support strong { color:#c7e6ff; }
.international-support p { margin:4px 0 9px; color:#aaa5b0; font-size:.78rem; }
#pix-key { display:block; overflow-wrap:anywhere; color:#e1dce5; font-size:.75rem; user-select:all; }
.international-actions { display:flex; flex-direction:column; align-items:stretch; gap:8px; }
.international-actions button,.international-actions a { min-height:38px; padding:8px 11px; border:1px solid #6ba7d255; border-radius:6px; background:#5a9aca10; color:#cdeaff; font-size:.72rem; font-weight:750; text-align:center; }
.international-actions button:hover,.international-actions a:hover { border-color:#83c6f5; background:#5a9aca22; color:white; }
.international-status { margin-left:74px; }
.questions summary > span[data-i18n] { color:var(--ink); font-size:1rem; font-weight:600; transform:none; }
dialog { border-radius:12px; }
body:has(dialog[open]) { overflow:hidden; }
.modal-head button { border-radius:6px; min-height:44px; }

/* Release notes */
.news-page { background:radial-gradient(circle at 72% 12%,#5a202a2e,transparent 30%),var(--bg); }
.news-page .header { position:relative; }
.news-nav { display:flex; align-items:center; gap:22px; margin-left:auto; font-size:.8rem; }
.news-hero { display:grid; grid-template-columns:minmax(0,.82fr) minmax(430px,1.18fr); gap:70px; align-items:center; min-height:660px; padding-block:90px 110px; }
.news-hero h1 { margin:14px 0 24px; font-size:clamp(4rem,7vw,7.2rem); line-height:.82; letter-spacing:-.065em; }
.news-hero h1 em { color:var(--red); font-style:normal; }
.news-hero .lead { max-width:620px; }
.news-visual { position:relative; margin:0; transform:rotate(2deg); }
.news-visual::before { content:""; position:absolute; inset:-20px; border-radius:50%; background:#ff515b21; filter:blur(45px); z-index:-1; }
.news-visual img { display:block; width:100%; height:auto; border:1px solid #62515d; border-radius:13px; box-shadow:0 32px 75px #0008; }
.news-visual figcaption { padding:13px 4px 0; color:#9e97a3; font-size:.7rem; text-align:right; }
.release-highlights { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; padding-top:0; }
.release-highlights article { min-height:285px; padding:26px; border:1px solid var(--line); border-radius:12px; background:linear-gradient(150deg,#211d23,var(--surface)); }
.release-highlights article > span { display:grid; place-items:center; width:46px; height:46px; margin-bottom:46px; border:1px solid #ff515b3d; border-radius:12px; background:#ff515b0d; color:#ff969d; font-size:1.5rem; }
.release-highlights h2 { margin-bottom:13px; font-size:1.35rem; letter-spacing:-.025em; }
.release-highlights p { margin:0; color:#a7a1ab; font-size:.84rem; }
.release-details { display:grid; grid-template-columns:minmax(0,.75fr) minmax(440px,1.25fr); gap:80px; align-items:start; }
.release-details h2 { max-width:520px; font-size:clamp(3rem,5vw,5.2rem); line-height:.92; }
.release-list { border-top:1px solid var(--line); }
.release-list article { display:grid; grid-template-columns:42px 1fr; gap:18px; padding:25px 0; border-bottom:1px solid var(--line); }
.release-list article > span { color:#ff777f; font-size:.7rem; font-weight:800; }
.release-list h3 { margin-bottom:7px; font-size:1.05rem; }
.release-list p { margin:0; color:#a7a1ab; font-size:.84rem; }
.release-download { margin-top:80px; padding:90px 0; background:linear-gradient(130deg,#ee4d58,#b82d42); color:#160d10; }
.release-download h2 { max-width:760px; margin:12px 0 18px; font-size:clamp(3.4rem,7vw,7rem); line-height:.86; }
.release-download p { max-width:680px; }
.release-download .actions { margin-top:30px; }
.release-download .text-link { color:#241014; }

/* Every platform leads to an official release, with existing install notes. */
.downloads { border-top:1px solid var(--line); }
.download-intro { max-width:335px; }
.download-intro > p { margin:0; }
.download-total { display:flex; flex-direction:column; align-items:flex-start; gap:4px; margin-top:18px; padding-top:15px; border-top:1px solid var(--line); color:#aaa5ae; font-size:.76rem; }
.download-total > div { display:flex; align-items:baseline; gap:9px; }
.download-total > div strong { color:#ff858c; font:800 2.4rem var(--heading); line-height:.9; }
.download-total small { color:#8e8993; font-size:.7rem; }
.download-total small strong { color:#c1bac4; font-weight:800; }
.download-total[hidden],.download-count[hidden] { display:none; }
.download-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.download-card { padding:30px; border:1px solid var(--line); border-radius:12px; background:var(--surface); display:flex; flex-direction:column; align-items:start; position:relative; }
.download-icon { display:block; width:48px; height:48px; margin-bottom:24px; }
.download-icon img { display:block; width:100%; height:100%; }
.platform .platform-icon { display:inline-block; width:18px; height:18px; vertical-align:middle; }
.download-version { position:absolute; right:25px; top:30px; font-size:.72rem; color:var(--muted); }
.download-card h3 { font-size:2.5rem; }
.download-card p { font-size:.85rem; margin-top:14px; flex:1; }
.download-card .download-count { flex:0; margin:0 0 18px; color:#a9a3ad; font-size:.72rem; }
.download-count strong { color:#ff858c; font-size:.88rem; }
.download-card .button { width:100%; font-size:.82rem; padding-inline:12px; }
.download-details { font-size:.78rem; margin-top:16px; text-decoration:underline; text-underline-offset:4px; }
.android-card { border-color:#ff515b66; background:linear-gradient(160deg,#241a20,var(--surface) 52%); }
.recommended-badge { margin:-6px 0 18px; padding:5px 8px; border-radius:4px; background:#ff515b18; color:#ff9ba1; font-size:.62rem; font-weight:850; letter-spacing:.08em; }
.android-card .button,.android-direct { background:linear-gradient(135deg,#ff515b,#ff858b); color:#160d0e; }
.android-card .button:hover,.android-direct:hover { background:linear-gradient(135deg,#ff747c,#ffa1a6); }
#linux,#android { padding:48px; margin-bottom:28px; background:var(--surface); border:1px solid var(--line); border-radius:12px; }
#linux h2,#android h2 { font-size:3rem; margin-bottom:24px; }
#linux .lead,#android .lead { max-width:820px; }
#android .notice { margin-block:22px; }
.roadmap { padding-top:120px; }
.roadmap-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.roadmap-card { min-height:290px; padding:26px; border:1px solid var(--line); border-radius:12px; background:linear-gradient(155deg,#201d23,var(--surface)); display:flex; flex-direction:column; }
.roadmap-number { color:#5f5864; font:700 2.7rem var(--heading); line-height:1; }
.roadmap-status { width:max-content; margin:28px 0 20px; padding:5px 8px; border:1px solid #ff515b44; border-radius:999px; color:#ff9ca2; font-size:.62rem; font-weight:850; letter-spacing:.08em; }
.roadmap-card h3 { margin-bottom:12px; font-size:1.55rem; }
.roadmap-card p { margin:0; color:#aaa5ae; font-size:.86rem; }
.android-install { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(220px,.58fr); gap:52px; align-items:start; overflow:hidden; }
.android-install-copy { min-width:0; }
.android-install-preview { position:relative; height:680px; border:1px solid #3b3b44; border-radius:30px; overflow:hidden; background:#080a0e; box-shadow:0 25px 55px #0007; }
.android-install-preview img { width:100%; height:100%; object-fit:cover; object-position:top; display:block; }
.install-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:28px 0 8px; }
.install-steps article { padding:16px; border:1px solid var(--line); border-radius:9px; background:#111116; }
.install-steps article > span { display:grid; place-items:center; width:30px; height:30px; margin-bottom:14px; border-radius:50%; background:#ff515b1c; color:#ff9097; font-weight:850; }
.install-steps h3 { margin-bottom:8px; font-size:.92rem; }
.install-steps p { margin:0; color:#98939d; font-size:.74rem; }
.android-direct { min-width:min(100%,320px); justify-content:space-between; }
.closing { margin-top:85px; }
.closing .eyebrow { color:#201318; }
.footer img { width:125px; }
:is(button,a,summary,[tabindex]):focus-visible { outline:3px solid #ff959b; outline-offset:5px; }

@media (max-width:1150px) {
  .nav { gap:14px; }
  .nav nav { gap:14px; font-size:.75rem; }
  .nav .github { display:none; }
  .nav-support { padding-inline:10px; }
  .hero { gap:32px; }
  .formats { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .formats article { border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
  .formats article:nth-child(3) { border-right:0; }
  .formats article:nth-child(4) { border-bottom:0; }
}
@media (max-width:900px) {
  .nav nav { gap:10px; }
  .nav nav a { font-size:.7rem; }
  .brand img { width:105px; }
  .hero { gap:24px; padding-block:65px; }
  .hero h1 { font-size:4.6rem; }
  .hero .actions { gap:12px; }
  .roadmap-grid { grid-template-columns:1fr; }
  .roadmap-card { min-height:0; }
  .android-install { grid-template-columns:1fr; }
  .android-install-preview { width:min(360px,100%); height:620px; margin-inline:auto; }
  .news-hero { grid-template-columns:1fr; gap:50px; }
  .news-visual { width:min(780px,96%); }
  .release-highlights { grid-template-columns:1fr 1fr; }
  .release-details { grid-template-columns:1fr; gap:45px; }
}
@media (max-width:760px) {
  .nav-tools { order:0; margin-left:auto; }
  .brand img { width:112px; height:64px; }
  .nav nav { margin-left:0; }
  .nav nav a { font-size:.9rem; }
  .nav-support { width:100%; justify-content:center; font-size:.9rem; }
  .hero { grid-template-columns:1fr; padding-block:50px; gap:26px; }
  .hero h1 { font-size:clamp(3.8rem,12vw,5.5rem); }
  .hero-art { width:min(560px,95%); padding:15px 0 100px; }
  .hero-reader { right:0; bottom:65px; }
  .hero-orbit { inset-inline:0; }
  .art-caption { margin:0; }
  .formats { grid-template-columns:1fr 1fr; }
  .formats article { padding:23px 18px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
  .formats article:nth-child(even) { border-right:0; }
  .formats article:nth-child(3) { border-right:1px solid var(--line); }
  .formats article:nth-child(4) { border-bottom:1px solid var(--line); }
  .formats article:last-child { grid-column:span 2; }
  .formats strong { min-height:75px; }
  .gallery-controls { gap:5px; }
  .gallery-controls button { padding:10px 12px; font-size:.8rem; }
  .gallery-body { min-height:0; }
  .download-grid { grid-template-columns:1fr; }
  .download-intro { max-width:100%; margin-top:24px; }
  .download-card { padding:28px; }
  #linux,#android { padding:28px; }
  #linux h2,#android h2 { font-size:2.6rem; }
  .closing { margin-top:55px; }
  .roadmap { padding-top:80px; }
  .install-steps { grid-template-columns:1fr; }
  .support-content { grid-template-columns:1fr; gap:22px; }
  .support-callout { grid-template-columns:auto 1fr; }
  .support-callout .support-button { grid-column:1 / -1; width:100%; justify-content:space-between; }
  .pix-qr { width:min(260px,100%); margin-inline:auto; }
  .support-dialog { padding:20px; }
  .international-support { grid-template-columns:auto 1fr; }
  .international-actions { grid-column:1 / -1; flex-direction:row; }
  .international-actions > * { flex:1; }
  .international-status { margin-left:0; }
  .news-page .nav { flex-wrap:wrap; height:auto; padding-block:12px; }
  .news-page .brand { margin-right:auto; }
  .news-page .nav-tools { margin-left:0; }
  .news-nav { order:3; width:100%; justify-content:space-between; gap:10px; }
  .news-nav .button { min-height:40px; padding:8px 12px; }
  .news-hero { min-height:0; padding-block:70px 85px; }
  .news-hero h1 { font-size:clamp(4rem,17vw,6.2rem); }
  .release-highlights { grid-template-columns:1fr; }
  .release-highlights article { min-height:0; }
  .release-highlights article > span { margin-bottom:28px; }
  .release-details { gap:35px; }
  .release-download { padding-block:70px; }
}
@media (max-width:420px) {
  .formats { grid-template-columns:1fr; }
  .formats article { border-right:0!important; }
  .formats article:last-child { grid-column:auto; }
  .formats strong { min-height:0; }
  .hero h1 { font-size:3.8rem; }
  .hero .actions { align-items:start; flex-direction:column; }
  .language-switch button { padding-inline:6px; }
  .gallery-controls button { padding-inline:8px; }
  .modal-head h2 { font-size:1.25rem; }
}
html:not(.js) .language-switch { display:none; }
