/* The home page (index.html, en/index.html); the other pages keep style.css. Approved by the user on 24 Nov 2026
   after three rounds on a mockup. Direction: DESIGN.md, filtered by antislop. Dial: ENERGY 2 / RHYTHM 3 / MOTION 2.
   - Near-black page with neutral greys: Poni is a black notch. No violet and no blue anywhere (the user's call);
     violet #893EE0 lives in the logo only. The release pictures were recoloured to the same greys (assets/img/home/rilis/).
   - Green: the one accent (links, focus ring, the heading's punctuation), Buddy's eye colour in the logo.
   - Every picture sits on the same grey "desk" and hangs from its top edge like Poni does; the Dock sits on the bottom.
   - Flat colours only: no gradients, no glows (the user's rule). */

:root {
  --bg: #090909;
  --card: #141414;
  --line: #202020;
  --chip: #1f1f1f;
  --text: #f4f4f4;
  --dim: #a8a8a8;
  --muted: #878787;
  --em: #10b981;
  --em-2: #34d399;
  --ink: #121212;
  --desk: #313131;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  interpolate-size: allow-keywords; /* lets the notch grow to its content where the browser can */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; }
a { color: var(--em-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #6ee7b7; text-decoration-thickness: 2px; }
a, button, summary, label, select, input[type="range"], [role="tab"] { cursor: pointer; }
:focus-visible { outline: 2px solid var(--em-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 800; color: var(--text); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
code, kbd { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .86em; }
code { background: var(--chip); padding: 1px 6px; border-radius: 6px; }
kbd { background: var(--chip); border: 1px solid #313131; border-bottom-width: 2px; padding: 0 6px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pd { margin-left: -0.09em; color: var(--em-2); } /* the font sets its period far from the letter before it */

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 56px; }

/* ---------------------------------------------------------------- buttons (pills, as on the rest of the site) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-size: 15.5px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn small { font-weight: 600; opacity: .8; font-size: 13px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16.5px; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #e8e8e8; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2c2c2c; color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: #383838; }
.btn-ghost:hover { background: var(--chip); border-color: #4f4f4f; color: var(--text); }
.btn img { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- the header: a Poni notch */
.top { position: fixed; inset: 0 0 auto 0; height: 0; z-index: 50; }
.notch {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  background: #000; color: #fff;
  border: 1px solid #2a2a2a; border-top: 0; border-radius: 0 0 22px 22px;
  overflow: hidden; width: auto; height: 44px; max-width: calc(100vw - 24px);
  transition: width .34s var(--ease), height .34s var(--ease), border-radius .34s var(--ease);
}
.notch.open { width: min(640px, calc(100vw - 24px)); height: auto; border-radius: 0 0 28px 28px; }
.notch-bar {
  display: flex; align-items: center; gap: 10px; width: 100%; min-width: 236px; height: 44px; padding: 0 8px 0 11px;
  background: none; border: 0; color: inherit; font: inherit; text-align: left;
}
.notch-bar:focus-visible { outline-offset: -4px; border-radius: 0 0 20px 20px; }
.notch-logo { width: 24px; height: 24px; flex: none; border-radius: 7px; }
.notch-name { font-weight: 800; font-size: 14.5px; letter-spacing: -.01em; }
.notch-act {
  display: flex; align-items: center; gap: 7px; margin-left: auto; padding-left: 14px;
  font-size: 13.5px; font-weight: 600; color: #e2e2e2; white-space: nowrap;
  transition: opacity .18s, transform .18s var(--ease);
}
.notch-act.swap { opacity: 0; transform: translateY(-4px); }
.notch-act b { font-weight: 700; font-variant-numeric: tabular-nums; }
.notch-act i { color: var(--em-2); font-size: 12.5px; }
.notch-more { display: grid; place-items: center; width: 28px; height: 28px; color: #a8a8a8; font-size: 12px; transition: transform .3s var(--ease); }
.notch.open .notch-more { transform: rotate(180deg); }
.notch-bar:hover .notch-more { color: #fff; }

/* the small live pieces the closed notch shows, one per section (home.js) */
.la-art { width: 18px; height: 18px; border-radius: 5px; background: #e8613a; flex: none; }
.la-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.la-bars i { width: 3px; height: 40%; background: var(--em-2); border-radius: 2px; }
.la-bars i:nth-child(2) { height: 90%; } .la-bars i:nth-child(3) { height: 60%; } .la-bars i:nth-child(4) { height: 75%; }
.la-bars.play i { animation: bar .5s ease-in-out infinite alternate; }
.la-bars.play i:nth-child(2) { animation-delay: -.2s; } .la-bars.play i:nth-child(3) { animation-delay: -.35s; } .la-bars.play i:nth-child(4) { animation-delay: -.1s; }
@keyframes bar { from { height: 25%; } to { height: 100%; } }
.la-ring { width: 15px; height: 15px; border-radius: 50%; border: 2.5px solid #3f3f3f; border-top-color: var(--em-2); border-right-color: var(--em-2); }
.la-vol { width: 54px; height: 4px; border-radius: 2px; background: #3f3f3f; position: relative; }
.la-vol::after { content: ""; position: absolute; inset: 0 40% 0 0; background: #fff; border-radius: 2px; }

.notch-menu { padding: 4px 12px 14px; }
.notch-menu ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.notch-menu a {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 12px;
  color: #f0f0f0; text-decoration: none; font-size: 14.5px; font-weight: 600;
}
.notch-menu a i { width: 16px; text-align: center; color: #a8a8a8; }
.notch-menu a:hover, .notch-menu a.here { background: #1a1a1a; color: #fff; }
.notch-menu a.here i { color: var(--em-2); }
.notch-menu-foot { display: flex; gap: 18px; align-items: center; justify-content: flex-end; padding: 10px 12px 0; margin-top: 8px; border-top: 1px solid #1d1d1d; font-size: 14px; }
.notch-menu-foot a { color: var(--em-2); min-height: 44px; display: inline-flex; align-items: center; }
.notch-menu-foot .btn { color: var(--ink); margin-right: auto; text-decoration: none; }

.tray { position: fixed; top: 0; right: 16px; height: 44px; display: flex; align-items: center; gap: 10px; }
.tray-lang {
  display: grid; place-items: center; min-width: 44px; height: 36px; border-radius: 999px; padding: 0 10px;
  background: #000; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; border: 1px solid #2a2a2a;
}
.tray-lang:hover { color: #fff; background: #1d1d1d; }
.tray .btn { min-height: 36px; padding: 0 14px; font-size: 14px; }
@media (max-width: 900px) { .tray { display: none; } }

/* ---------------------------------------------------------------- hero
   A dark page with one big screen: the same grey desk every picture below sits on, Poni hanging from its top edge.
   On load the closed notch opens once, the one move in the hero. */
.hero { padding: 72px 0 0; }
.hero-copy { text-align: center; max-width: 980px; }
.hero h1 { font-size: clamp(48px, 8vw, 104px); line-height: .95; letter-spacing: -.055em; }
.hero h1 .h1-2 { display: block; color: var(--muted); font-size: .56em; letter-spacing: -.045em; margin-top: .24em; }
.hero .lead { margin: 30px auto 0; max-width: 640px; font-size: 19px; line-height: 1.6; }
.hero .btn-row { justify-content: center; margin-top: 36px; }
.platforms { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; font-size: 14.5px; color: var(--dim); }
.platforms li { display: inline-flex; align-items: center; gap: 7px; }
.platforms i { color: var(--text); font-size: 15px; }
.platforms small { font-size: 12.5px; font-weight: 700; color: var(--muted); }
/* today's count and the flags under it (main.js, from the app's own anonymous count: hidden while small or unread).
   The dot marks a live number: no glow and no endless pulse, it only bumps when the number changes */
.live {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--dim); font-size: 14.5px; font-weight: 600;
  text-decoration: none; transition: border-color .2s, color .2s;
}
.live[hidden] { display: none; }
.live:hover { border-color: #3d3d3d; color: var(--text); }
.live b { color: var(--text); font-weight: 750; font-variant-numeric: tabular-nums; }
.live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--em-2); flex: none; }
.live.bump .dot { animation: live-bump .5s ease 2; }
@keyframes live-bump { 50% { transform: scale(1.9); } }
.live .y { color: var(--muted); }
.live .y b { margin-left: 2px; color: var(--dim); }
.live .y[hidden] { display: none; }
.live .go { font-size: 11px; opacity: .6; transition: transform .2s, opacity .2s; }
.live:hover .go { transform: translateX(3px); opacity: 1; }
/* the flags run by and stop under the mouse; the ends fade out so a flag doesn't stop cut in half */
.ticker {
  display: block; max-width: 760px; margin: 8px auto 0; padding: 10px 0; overflow: hidden; text-decoration: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker[hidden] { display: none; }
.ticker .run { display: inline-flex; white-space: nowrap; animation: ticker var(--ticker-s, 60s) linear infinite; }
.ticker:hover .run, .ticker:focus-visible .run { animation-play-state: paused; }
.ticker .it { display: inline-flex; align-items: center; gap: 7px; margin-right: 24px; font-size: 13.5px; color: var(--dim); }
.ticker .it b { color: var(--text); font-weight: 650; }
.ticker:hover .it { color: var(--text); }
@keyframes ticker { to { transform: translateX(-50%); } }
.fi { border-radius: 2px; flex: none; }
/* the newest version and a link to what changed in it (main.js, from the latest GitHub release) */
.wn { margin-top: 12px; font-size: 14.5px; }
.wn[hidden] { display: none; }
.wn a { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; color: var(--dim); text-decoration: none; }
.wn b { color: var(--text); font-weight: 700; }
.wn [data-wn-date]:empty { display: none; }
.wn-more { color: var(--em-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wn a:hover .wn-more { text-decoration-thickness: 2px; }

.stage { margin: 56px auto 0; max-width: 1120px; background: #000; border: 1px solid #262626; border-radius: 34px; padding: 10px; }
.stage-screen {
  position: relative; display: flex; justify-content: center; align-items: flex-start;
  aspect-ratio: 16 / 6.1; background: var(--desk); border-radius: 25px; overflow: hidden;
}
.stage-notch { position: relative; z-index: 1; width: 72%; container-type: inline-size; }
.stage-notch img { width: 100%; height: auto; display: block; animation: stage-open .75s var(--ease) 1.1s both; }
/* the closed notch, 30% of the open one and as tall as the real 236 x 44 bar */
.stage-pill {
  position: absolute; top: 0; left: 35%; width: 30%; aspect-ratio: 5.4;
  display: flex; align-items: center; justify-content: space-between; padding: 0 3.2cqi 0 2.4cqi;
  background: #000; border-radius: 0 0 2.6cqi 2.6cqi; opacity: 0;
  animation: stage-pill .3s ease-out 1.2s both;
}
.stage-pill .la-art { width: 2.5cqi; height: 2.5cqi; border-radius: .7cqi; }
.stage-pill .la-bars { height: 2cqi; gap: .3cqi; }
.stage-pill .la-bars i { width: .45cqi; animation-iteration-count: 4; } /* stops once the pill is gone */
@keyframes stage-open { from { clip-path: inset(0 35% 81% 35% round 0 0 14px 14px); } to { clip-path: inset(0 0 0 0 round 0); } }
@keyframes stage-pill { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
/* after the notch opens: the real Dock slides up onto the bottom edge, then Buddy drops from behind the panel and
   stays centred a little under it (the panel ends at 94.2% of the notch picture; both pictures sit on the --desk
   grey, Buddy's square included) */
.stage-notch .stage-buddy { position: absolute; z-index: -1; top: calc(94.2% + 2cqi); left: 0; right: 0; margin: 0 auto; width: 8.6%; height: auto; animation: stage-buddy .55s var(--ease) 2.1s both; }
.stage-dock { position: absolute; left: 50%; bottom: 0; width: 64%; transform: translateX(-50%); animation: stage-dock .6s var(--ease) 1.5s both; }
.stage-dock img { display: block; width: 100%; height: auto; }
@keyframes stage-dock { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
@keyframes stage-buddy { from { transform: translateY(-75%); opacity: 0; } 40% { opacity: 1; } to { transform: none; opacity: 1; } }
.hero-note { margin: 20px auto 0; max-width: 680px; font-size: 14px; color: var(--muted); text-align: center; text-wrap: balance; }
.hero-note i { font-size: 11px; color: var(--em-2); margin-right: 7px; }

/* ---------------------------------------------------------------- features: the list left, the view right
   Every feature has its own row; choosing one shows its picture and words in the view, which stays in sight while
   the list scrolls by. On a phone each one opens under its own name instead (home.js moves the panels). */
.fitur { padding: 128px 0 120px; }
.fx-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 24px; }
.fitur h2, .install h2, .faq h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.04em; }
.lead { font-size: 18px; color: var(--dim); }
.fx-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 48px; font-size: 14px; color: var(--muted); }
.fx-legend span { display: inline-flex; align-items: center; gap: 7px; }
.fx-legend i { color: var(--dim); }

.fx { display: grid; grid-template-columns: minmax(270px, 330px) 1fr; gap: 56px; align-items: start; }
.fx-group + .fx-group { margin-top: 20px; }
.fx-cat { font-size: 13.5px; font-weight: 700; color: var(--muted); padding: 0 12px 6px; }
.fx-group ul { list-style: none; }
.fx-item {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 40px; padding: 6px 12px;
  border: 0; border-radius: 12px; background: transparent; color: var(--dim);
  font: inherit; font-size: 15.5px; font-weight: 600; line-height: 1.3; text-align: left;
  transition: background-color .15s, color .15s;
}
.fx-item:hover { background: var(--card); color: var(--text); }
.fx-item[aria-expanded="true"] { background: var(--chip); color: var(--text); }
.fx-ico { width: 18px; flex: none; text-align: center; font-size: 14.5px; color: var(--muted); transition: color .15s; }
.fx-item:hover .fx-ico { color: var(--dim); }
.fx-item[aria-expanded="true"] .fx-ico { color: var(--em-2); }
.fx-tag { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--em-2); }
.fx-win { margin-left: auto; font-size: 13px; color: var(--muted); }

.fx-view { position: sticky; top: 88px; min-width: 0; }
.fx-panel { display: flex; flex-direction: column; gap: 14px; }
.fx-panel[hidden] { display: none; }
.js .fx-panel { animation: fx-in .28s var(--ease); }
@keyframes fx-in { from { opacity: 0; transform: translateY(6px); } }
.fx-text { margin-top: 12px; max-width: 640px; }
.fx-text h3 { font-size: 26px; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 10px; }
.fx-text > p { color: var(--dim); font-size: 16.5px; }
.fx-text > p + p, .fx-text > .says + p { margin-top: 10px; }
.fx-text .facts { margin-top: 4px; }
.fx-new-line { font-size: 14.5px !important; margin-top: -4px; }
/* without script every panel shows, one after another */
html:not(.js) .fx-view { position: static; display: flex; flex-direction: column; gap: 64px; }

/* small labels: platform and "new in" (real facts, no decoration) */
.os {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0; color: #cdcdcd; background: var(--chip);
  padding: 3px 8px; border-radius: 6px; white-space: nowrap;
}
.new { font-size: 13px; font-weight: 700; color: var(--em-2); vertical-align: middle; margin-left: 6px; white-space: nowrap; }

/* the guide links under a feature */
.mod-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 14px !important; font-size: 15px; font-weight: 700; }
.mod-meta a { display: inline-flex; align-items: center; min-height: 32px; }

/* the desk: each picture hangs from the top edge like Poni does */
.desk {
  margin: 0; background: var(--desk); border-radius: 18px; overflow: hidden;
  display: flex; justify-content: center; align-items: flex-start; padding: 0 7% 5%;
}
.desk > img { width: 100%; height: auto; display: block; }
.desk-flush { padding: 0; }
.desk-bottom { align-items: flex-end; }
.desk figcaption { padding: 12px 18px 16px; font-size: 14.5px; color: #dadada; }
.desk-flush:has(figcaption) { flex-direction: column; align-items: stretch; }
.desk-buddy { flex-direction: column; align-items: center; padding: 0 0 28px; min-height: 210px; }
.desk-buddy img { width: 120px; height: auto; margin-top: 6px; }
.mini-notch { width: 150px; height: 28px; background: #000; border-radius: 0 0 14px 14px; flex: none; }

/* mock panels: what the module looks like, drawn in HTML where no screenshot exists yet. Sized in em from a font
   size that follows the desk's width, so a mock shrinks with its column the way a screenshot does */
.desk { container-type: inline-size; }
.panel {
  width: 100%; background: #000; color: #f0f0f0; border-radius: 0 0 1.7em 1.7em;
  padding: 1.2em 1.4em 1.4em; font-size: clamp(9px, 2.45cqi, 13.5px); line-height: 1.4; min-height: 14.5em;
}
.panel small { color: #a1a1a1; font-size: .88em; }
.panel b { font-weight: 700; }

.p-radio { display: grid; grid-template-columns: 38% 1fr; gap: 1.2em; }
.r-now { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15em; padding-top: .3em; }
.r-art { width: 4.2em; height: 4.2em; border-radius: .9em; background: #222222; display: grid; place-items: center; color: var(--em-2); font-size: 1.5em; margin-bottom: .4em; }
.r-ctl { display: flex; align-items: center; gap: 1.1em; margin-top: .8em; color: #c7c7c7; }
.r-play { width: 2.3em; height: 2.3em; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-size: .85em; }
.r-tabs, .b-chips { display: flex; gap: .45em; margin-bottom: .6em; flex-wrap: wrap; }
.r-tabs span, .b-chips span { padding: .25em .7em; border-radius: 999px; background: #171717; color: #bfbfbf; font-size: .88em; font-weight: 600; }
.r-tabs .on, .b-chips .on { background: #2e2e2e; color: #fff; }
.r-row, .b-row, .gh-row { display: flex; flex-direction: column; padding: .45em .6em; border-radius: .6em; background: #111111; margin-top: .3em; }

.p-notes { display: grid; grid-template-columns: 42% 1fr; gap: .9em; }
.n-list p { padding: .45em .6em; border-radius: .6em; display: flex; flex-direction: column; }
.n-list p.on { background: #1d1d1d; }
.n-new { display: inline-flex; gap: .45em; align-items: center; font-weight: 700; font-size: .92em; color: #fff; background: #1d1d1d; padding: .3em .7em; border-radius: 999px; margin-bottom: .45em; }
.n-new i { font-size: .8em; }
.n-body { background: #111111; border-radius: .8em; padding: .8em .9em; display: flex; flex-direction: column; gap: .25em; color: #dadada; }
.n-body b { color: #fff; font-size: 1.08em; margin-bottom: .3em; }

.p-world { display: flex; flex-direction: column; gap: .45em; font-size: clamp(10.5px, 2.45cqi, 13.5px); }
.w-say { color: #bfbfbf; font-size: .96em; }
.w-say b { color: #fff; }
.w-rows { display: flex; flex-direction: column; gap: .4em; }
.w-row { display: grid; grid-template-columns: 6em 3.4em 1fr; gap: .6em; align-items: center; }
.w-row > span:first-child { display: flex; flex-direction: column; line-height: 1.2; }
.w-row em { font-style: normal; font-weight: 800; color: #fbbf24; font-variant-numeric: tabular-nums; font-size: 1.04em; }
.w-bar { display: grid; grid-template-columns: repeat(24, 1fr); height: .95em; border-radius: .3em; overflow: hidden; }
.w-bar i { background: #2b2b2b; }
.w-bar i.d { background: #dcdcdc; }
.w-bar i.at { background: #fbbf24; }
.w-slide { display: flex; flex-direction: column; gap: .15em; margin-top: .5em; font-size: 12.5px; color: #bfbfbf; }
.w-slide input { width: 100%; accent-color: var(--em-2); min-height: 32px; margin: 0; }

.p-screen { display: flex; gap: 1.4em; align-items: center; }
.st-donut { width: 7.4em; height: 7.4em; flex: none; transform: rotate(-90deg); }
.st-donut circle { fill: none; stroke-width: 13; }
.st-apps { flex: 1; display: flex; flex-direction: column; gap: .45em; }
.st-apps p { display: flex; justify-content: space-between; background: #111111; padding: .45em .7em; border-radius: .6em; }
.st-apps span { color: #bfbfbf; font-variant-numeric: tabular-nums; }

.p-usage { display: flex; flex-direction: column; gap: .9em; }
.u-name { display: flex; gap: .6em; align-items: baseline; font-size: 1.08em; }
.u-row { display: grid; grid-template-columns: 5.7em 1fr; gap: .3em .8em; align-items: center; }
.u-row small { grid-column: 2; color: var(--em-2); font-weight: 700; }
.u-bar { position: relative; height: .6em; border-radius: .3em; background: #252525; }
.u-bar i { position: absolute; inset: 0 auto 0 0; background: var(--em-2); border-radius: .3em; }
.u-bar em { position: absolute; top: -.3em; bottom: -.3em; width: 2px; background: #fff; }

.p-cc { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8em; text-align: center; }
.cc-q { font-size: 1.08em; display: flex; gap: .6em; align-items: center; }
.cc-q i { color: #d97757; }
.cc-cmd { font-family: ui-monospace, Consolas, monospace; background: #111111; padding: .45em .9em; border-radius: .6em; color: #dadada; }
.cc-btns { display: flex; gap: .6em; }
.cc-btns span { padding: .45em 1.2em; border-radius: 999px; background: #1d1d1d; font-weight: 700; }
.cc-btns .on { background: #fff; color: #000; }

.b-row { display: grid; grid-template-columns: 2em 1fr; column-gap: .8em; align-items: center; }
.b-row small { grid-column: 2; }
.b-ico { grid-row: span 2; width: 2em; height: 2em; border-radius: .55em; background: #252525; display: grid; place-items: center; font-weight: 800; font-size: .92em; }

.p-gh .gh-head { display: flex; gap: .6em; align-items: baseline; margin-bottom: .3em; font-size: 1.08em; }
.p-gh .gh-head small { margin-left: auto; }

.p-snap { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; align-content: center; }
.z { position: relative; aspect-ratio: 16 / 10; border: 1.5px solid #3f3f3f; border-radius: .55em; }
.z i { position: absolute; background: #3f3f3f; border-radius: .25em; inset: .25em; }
.z-l2 i { right: 50%; } .z-r2 i { left: 50%; } .z-l3 i { right: 66%; } .z-c3 i { left: 34%; right: 34%; } .z-r3 i { left: 66%; }
.z.on { border-color: var(--em-2); }
.z.on i { background: var(--em-2); }

/* small pieces used inside the features' words */
.new-in { color: var(--em-2); }
.says { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; }
.says li { background: var(--chip); color: var(--text); padding: 6px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.says li::before { content: "“"; color: var(--muted); }
.says li::after { content: "”"; color: var(--muted); }
.facts { list-style: none; display: flex; flex-direction: column; }
.facts li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--dim); font-size: 16.5px; }
.facts li b { color: var(--text); }

/* ---------------------------------------------------------------- install */
.install { padding: 120px 0; background: #0d0d0d; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.install h2 { margin-bottom: 32px; }
.os-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); margin-bottom: 40px; }
.os-tabs button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 0; background: transparent; color: var(--dim); font: inherit; font-size: 15px; font-weight: 700;
}
.os-tabs[hidden] { display: none; }
.os-tabs button small { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.os-tabs button:hover { color: var(--text); background: var(--chip); }
.os-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); }
.os-tabs button[aria-selected="true"] small { color: #505050; }
.os-panel { max-width: 880px; }
.os-panel + .os-panel { margin-top: 64px; }
.js .os-panel + .os-panel { margin-top: 0; }
.os-title { font-size: 22px; margin-bottom: 18px; display: flex; gap: 10px; align-items: center; }
.js .os-title { display: none; }
.steps { padding-left: 1.4em; display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.steps li { color: var(--dim); padding-left: 6px; }
.steps li::marker { color: var(--em-2); font-weight: 800; }
.steps li b { color: var(--text); }
.install .fine { margin-top: 18px; font-size: 14.5px; color: var(--dim); }
.not-yet { margin-top: 18px; padding: 16px 18px; background: var(--card); border-radius: 14px; font-size: 15px; color: var(--dim); }
.not-yet b { color: var(--text); }

/* ---------------------------------------------------------------- support, faq, closing, footer */
.support { padding: 112px 0 56px; }
.support-card { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; }
.qris { width: 200px; height: 200px; border-radius: 18px; background: #fff; padding: 10px; display: block; }
.support h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.035em; line-height: 1.1; }
.support-card > div > p { color: var(--dim); margin: 14px 0 0; max-width: 620px; }
.support .btn-row { margin-top: 22px; }
.support .pay { font-size: 14.5px; color: var(--muted); margin-top: 10px; }
.support .in-app { font-size: 14.5px; margin-top: 18px; }
.support .in-app i { color: var(--text); }
.star-cta { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.star-cta p { margin: 0 !important; flex: 1 1 280px; font-size: 15.5px; }
.gh-stars { display: inline-flex; align-items: center; gap: 5px; margin-left: 4px; padding-left: 10px; border-left: 1px solid #3a3a3a; }
.gh-stars[hidden] { display: none; }
.gh-stars i { color: #fbbf24; font-size: 12px; }
/* thank-you strip of received QRIS payments: runs only once main.js has doubled it (.on) */
.trx-home { margin: 56px auto 0; text-align: center; }
.trx[hidden] { display: none; }
.trx-title { font-size: 14.5px; color: var(--dim); }
.trx-title i { color: var(--em-2); margin-right: 4px; }
.trx-ticker { margin: 6px auto 0; padding: 6px 0; }
.trx-ticker .run { width: max-content; animation: none; } /* both halves, or translateX(-50%) jumps back early */
.trx.on .trx-ticker .run { animation: ticker var(--ticker-s, 60s) linear infinite; }
/* max-width: none, since img max-width: 100% would let the strip shrink to its box and loop too soon */
.trx-card { display: block; flex: none; width: auto; max-width: none; height: 48px; margin-right: 12px; border-radius: 12px; }

.faq { padding: 72px 0 128px; }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 64px; padding: 14px 0; font-size: 18px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--dim); flex: none; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--em-2); }
.faq-list details p { color: var(--dim); padding: 0 0 22px; max-width: 680px; }


.foot { padding: 72px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand { display: flex; gap: 10px; align-items: center; font-size: 18px; }
.foot-brand img { border-radius: 8px; }
.foot-about p:not(.foot-brand) { color: var(--dim); margin: 12px 0 16px; max-width: 360px; font-size: 15.5px; }
.made-by { display: inline-flex; gap: 8px; align-items: center; color: var(--dim); text-decoration: none; font-size: 15px; min-height: 32px; }
.made-by b { color: var(--text); }
.foot h2 { font-size: 15px; margin-bottom: 10px; }
.foot ul { list-style: none; }
.foot li a { display: inline-flex; gap: 8px; min-height: 36px; align-items: center; color: var(--dim); text-decoration: none; font-size: 15.5px; }
.foot li a:hover { color: var(--text); text-decoration: underline; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- tablet and phone */
@media (max-width: 1000px) {
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .fx-head { grid-template-columns: 1fr; }
  .fx { gap: 36px; grid-template-columns: minmax(240px, 280px) 1fr; }
}
/* a phone: no side view, each feature opens under its name */
@media (max-width: 760px) {
  .fx { display: block; }
  .fx-view { display: none; }
  html:not(.js) .fx-view { display: flex; margin-top: 48px; }
  .fx-item { min-height: 48px; font-size: 16px; }
  .fx-list .fx-panel { padding: 10px 0 28px; }
  .fx-list .fx-text { margin-top: 6px; }
  /* the name is already on the row above: keep only its platform label */
  .fx-list .fx-text h3 { font-size: 0; line-height: 0; margin: 0; }
  .fx-list .fx-text h3 .os { font-size: 12.5px; line-height: 1.4; margin-bottom: 10px; }
}
@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 48px; }
  .hero .lead { margin-top: 24px; font-size: 16.5px; }
  .hero .btn-row .btn { width: 100%; }
  .platforms { gap: 8px 16px; font-size: 14px; }
  .live { display: inline-grid; grid-template-columns: auto auto auto; column-gap: 9px; row-gap: 1px; max-width: 100%; padding: 8px 14px; border-radius: 16px; text-align: left; }
  .live[hidden] { display: none; }
  .live .y { grid-column: 2; grid-row: 2; font-size: 13px; }
  .live .y .sep { display: none; }
  .live .go { grid-column: 3; grid-row: 1 / span 2; }
  .star-cta .btn { width: 100%; }
  .stage { margin-top: 44px; padding: 6px; border-radius: 22px; }
  .stage-screen { aspect-ratio: 16 / 10.4; border-radius: 16px; }
  .stage-notch { width: 96%; }
  .stage-dock { width: 96%; }
  .stage-notch .stage-buddy { width: 9.5%; }
  .fitur { padding: 88px 0 80px; }
  .fx-legend { margin-bottom: 32px; }
  .notch-menu ul { grid-template-columns: 1fr 1fr; }
  .support-card { grid-template-columns: 1fr; gap: 28px; }
  .qris { width: 168px; height: 168px; }
  .support .btn-row .btn { width: 100%; }
  .os-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .os-tabs button { justify-content: center; padding: 0 8px; font-size: 14px; gap: 6px; }
  .install .btn-row .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
  .foot-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .notch-bar { min-width: 0; }
  .notch-name { display: none; }
}

/* ---------------------------------------------------------------- tap a picture to see it at full size (home.js) */
.zoom { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; border-radius: inherit; }
.zoom img { display: block; width: 100%; height: auto; }
.zoom:focus-visible { outline-offset: -3px; }
.lightbox { padding: 0; border: 0; border-radius: 18px; background: var(--desk); color: var(--text); max-width: min(1240px, 96vw); max-height: 92vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(5, 5, 5, .86); }
.lightbox-scroll { overflow: auto; max-height: calc(92vh - 56px); }
.lightbox-scroll img { display: block; max-width: 100%; height: auto; }
@media (max-width: 700px) { .lightbox-scroll img { max-width: none; width: auto; } }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 8px 0 18px; background: #222222; font-size: 14px; color: var(--dim); }
.lightbox-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-close { flex: none; min-width: 44px; height: 44px; border-radius: 12px; border: 0; background: #313131; color: #fff; font: inherit; font-weight: 700; padding: 0 14px; }
.lightbox-close:hover { background: #414141; }

/* ---------------------------------------------------------------- the old site's navbar and closing card
   Back on the user's word (25 Nov 2026: "di poni web aku lebih suka navbar dan ini yg lama"): the rules from
   style.css as they were, scoped here so the rest of the home keeps its own buttons and type. main.js opens the menu
   on phones, keeps the ID | EN pick, and reveals the card as it scrolls in. */
.site-header { position: sticky; top: 14px; z-index: 50; padding: 0 16px; margin-top: 14px; }
.site-header a { color: inherit; text-decoration: none; }
.nav-pill {
  position: relative; max-width: 880px; margin: 0 auto; display: flex; align-items: center; gap: 6px; padding: 7px 7px 7px 16px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.13); background: rgba(14, 15, 21, 0.72);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.8);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -0.02em; flex: none; margin-right: 8px; }
.brand img { width: 28px; height: 28px; display: block; }
.brand span b { color: var(--text); font-size: 1.12em; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; order: 1; }
.nav a:not(.btn) { padding: 7px 13px; border-radius: 999px; color: var(--dim); font-weight: 550; font-size: 0.92rem; transition: color 0.15s, background 0.15s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.nav .btn { margin-left: 6px; }
.nav-toggle { display: none; margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.13); background: transparent; color: var(--text); cursor: pointer; order: 3; }
.lang-switch { order: 2; display: inline-flex; align-items: center; gap: 2px; padding: 3px 3px 3px 11px; margin-left: 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.05); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em; flex: none; transition: border-color 0.15s, background 0.15s; }
.lang-switch::before { content: "\f0ac"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.9rem; color: var(--em-2); margin-right: 5px; }
.lang-switch:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.09); }
.lang-switch span { padding: 6px 10px; border-radius: 999px; color: var(--muted); transition: color 0.15s, background 0.15s; }
.lang-switch span.on { background: #fff; color: #08090d; }
.lang-switch:hover span:not(.on) { color: var(--text); }
.site-header .btn, .cta-band .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 0; padding: 12px 22px; border-radius: 999px;
  font: 700 0.97rem "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.25s, background 0.2s, border-color 0.2s; white-space: nowrap;
}
.site-header .btn:active, .cta-band .btn:active { transform: scale(0.98); }
.site-header .btn-white, .cta-band .btn-white { background: #fff; color: #0a0b10; box-shadow: 0 8px 30px -8px rgba(255, 255, 255, 0.35); }
.site-header .btn-white:hover, .cta-band .btn-white:hover { box-shadow: 0 10px 40px -6px rgba(255, 255, 255, 0.5); transform: translateY(-1px); background: #fff; color: #0a0b10; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.13); color: var(--text); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); }
.site-header .btn-sm { padding: 8px 16px; font-size: 0.88rem; }
.cta-band .btn-lg { padding: 15px 30px; font-size: 1.04rem; }
@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; margin-left: 8px; }
  .lang-switch { margin-left: auto; }
  .nav { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; border-radius: 24px; background: #0e0f15; border: 1px solid rgba(255, 255, 255, 0.13); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 16px; border-radius: 14px; }
  .nav .btn { margin: 6px 0 0; }
}

.cta-old { position: relative; padding: 110px 0; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.cta-band { text-align: center; padding: 80px 28px; border-radius: 36px; border: 1px solid rgba(255, 255, 255, 0.13); background: radial-gradient(60% 100% at 50% 0%, rgba(52, 211, 153, 0.2), transparent 70%), radial-gradient(40% 80% at 90% 100%, rgba(139, 92, 246, 0.16), transparent 70%), #12141b; overflow: hidden; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 14px; }
.cta-band .pd { color: inherit; }
.grad-text { color: var(--em-2); } /* solid on purpose: no gradient text */
.cta-band .lead { font-size: clamp(1.05rem, 1.55vw, 1.24rem); color: var(--dim); max-width: 660px; line-height: 1.6; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .cta-old { padding: 80px 0; }
  .cta-band { padding: 56px 20px; border-radius: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------------------------------------------------------------- "Runs on": the Mac and Linux systems Poni has run on
   (in #pasang under the panels, filled by sistem.js from api/sistem.php; hidden until it answers) */
.ran-on { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.ran-on[hidden], .ran-group[hidden], .ran-item[hidden] { display: none; }
.ran-title { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -.02em; }
.ran-lead { margin-top: 12px; max-width: 720px; color: var(--dim); font-size: 15.5px; }
.ran-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 32px; }
.ran-os { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 15px; font-weight: 800; color: var(--dim); }
.ran-os i { font-size: 15px; }
.ran-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ran-item { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.ran-item i { width: 18px; text-align: center; font-size: 17px; color: var(--dim); }
.ran-item span { display: flex; flex-direction: column; line-height: 1.25; }
.ran-item b { font-size: 15px; font-weight: 700; color: var(--text); }
.ran-item small { font-size: 12.5px; color: var(--muted); }
.ran-more { margin-top: 10px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--dim); font: inherit; font-size: 14px; font-weight: 700; }
.ran-more:hover { color: var(--text); background: var(--chip); }
.install .ran-foot { margin-top: 28px; color: var(--muted); }
@media (max-width: 760px) {
  .ran-on { margin-top: 56px; padding-top: 44px; }
  .ran-groups { grid-template-columns: 1fr; }
}
