/* JellyAshy site: the app's night and champagne. */
:root {
  --bg: #07080c;
  --bg2: #0f1118;
  --bg3: #171a23;
  --fg: #f4f1ea;
  --muted: #9ea3b0;
  --accent: #e7c27d;
  --accent2: #f3dcae;
  --gold: #d9a94f;
  --line: rgba(255, 255, 255, 0.08);
  --samsung: #4f8bff;
  --lg: #ff4d7e;
  --android: #3ddc84;
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.glow { position: fixed; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
.glow-a { width: 60vw; height: 60vw; right: -15vw; top: -25vw; background: radial-gradient(circle, rgba(231, 194, 125, .35), transparent 65%); }
.glow-b { width: 70vw; height: 70vw; left: -25vw; bottom: -35vw; background: radial-gradient(circle, rgba(58, 76, 143, .45), transparent 65%); }

/* --- nav --- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: 16px max(24px, calc((100% - var(--max)) / 2 + 24px));
  background: rgba(7, 8, 12, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.2px; }
.brand b { color: var(--accent); font-weight: 700; }
.links { display: flex; gap: 22px; margin-left: 12px; }
.links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.links a:hover { color: var(--fg); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.menu-btn {
  display: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--fg); cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav.open .menu-btn { background: rgba(255, 255, 255, .09); border-color: rgba(231, 194, 125, .35); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
/* The language box (built by main.js): flag + code, a list of every language. */
.langs { position: relative; }
.langs summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04);
  font-weight: 700; font-size: 13px; color: var(--fg); user-select: none; transition: background .2s, border-color .2s;
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { background: rgba(255, 255, 255, .09); border-color: rgba(231, 194, 125, .35); }
.langs summary abbr { text-decoration: none; letter-spacing: .04em; }
.langs .flag { font-size: 17px; line-height: 1; }
.langs .chev { width: 16px; height: 16px; color: var(--muted); transition: transform .2s; }
.langs[open] .chev { transform: rotate(180deg); }
.langs ul {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 20; margin: 0; padding: 8px; list-style: none;
  width: 520px; max-height: 70vh; overflow-y: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
  background: rgba(15, 17, 24, .97); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.langs a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; color: var(--fg); font-size: 14.5px; }
.langs a:hover { background: rgba(255, 255, 255, .07); }
.langs a[aria-current] { background: rgba(231, 194, 125, .14); color: var(--accent2); font-weight: 600; }
@media (max-width: 620px) {
  .langs ul { position: fixed; left: 12px; right: 12px; top: 64px; width: auto; grid-template-columns: 1fr 1fr; }
}
.lang button, .lang a {
  border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 12px; line-height: 1; font-family: inherit;
  padding: 7px 10px; border-radius: 999px; cursor: pointer;
}
.lang button.on { background: rgba(255, 255, 255, .1); color: var(--fg); }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent2), var(--gold));
  color: #1f1606; font-weight: 700; font-size: 16px;
  box-shadow: 0 10px 30px -10px rgba(217, 169, 79, .55);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(217, 169, 79, .7); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn.small { padding: 10px 18px; font-size: 14px; box-shadow: none; }
.btn.ghost { background: none; color: var(--fg); border: 1px solid rgba(255, 255, 255, .18); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, .06); }

/* --- hero --- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 72px 24px 40px;
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center;
}
.eyebrow { display: inline-block; color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -1.6px; margin: 0 0 22px; animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
/* The title comes up from below its own baseline, whatever the language. */
@keyframes rise { from { clip-path: inset(0 0 100% 0); transform: translateY(40px); } to { clip-path: inset(0 0 -20% 0); transform: none; } }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 19px; margin: 0 0 30px; max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { color: var(--muted); font-size: 13px; margin-top: 16px; opacity: .85; }
.fine.center { text-align: center; }

.hero-art { position: relative; padding-bottom: 40px; perspective: 1400px; }
.tv {
  margin: 0; border-radius: 18px; overflow: hidden;
  border: 10px solid #111318; outline: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 0 120px -40px rgba(231, 194, 125, .35);
}
.tv-screen { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.tv-screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#hero-tv { transform: rotateY(-10deg) rotateX(3deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
/* Power on: the picture opens from a line in the middle, like an old set. */
#hero-tv .tv-screen > img { animation: power 1.1s cubic-bezier(.2, .8, .2, 1) both .35s; }
@keyframes power {
  0%, 45% { clip-path: inset(49.5% 0 49.5% 0); filter: brightness(3); }
  100% { clip-path: inset(0 0 0 0); filter: brightness(1); }
}
/* The remote's focus ring, walking the home screen (main.js). */
.focus {
  position: absolute; border: 3px solid var(--accent2); border-radius: 10px; opacity: 0; pointer-events: none;
  box-shadow: 0 0 0 4px rgba(231, 194, 125, .25), 0 0 30px 6px rgba(231, 194, 125, .45);
  transition: left .45s cubic-bezier(.2, .8, .2, 1), top .45s cubic-bezier(.2, .8, .2, 1), width .45s cubic-bezier(.2, .8, .2, 1), height .45s cubic-bezier(.2, .8, .2, 1), border-radius .45s, opacity .3s;
}
.focus.on { opacity: 1; }
.phone {
  margin: 0; width: 210px; border-radius: 34px; overflow: hidden;
  border: 8px solid #111318; outline: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
  background: var(--bg);
}
.phone.floating { position: absolute; right: -12px; bottom: -30px; width: 21%; min-width: 110px; border-width: 6px; border-radius: 24px; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* --- platforms --- */
/* The platforms pass by like a streaming row; main.js doubles them for the loop. */
.platforms { margin: 40px 0 0; padding: 26px 0; overflow: hidden; border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.platforms .track { display: flex; gap: 12px; width: max-content; animation: slide 36s linear infinite; }
.platforms:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.platforms .chip { white-space: nowrap; }
.chip {
  display: flex; align-items: center; gap: 10px; padding: 12px 20px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03);
  font-weight: 600;
}
.chip small { color: var(--muted); font-weight: 500; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; }
.samsung .dot { background: var(--samsung); box-shadow: 0 0 12px var(--samsung); }
.lg .dot { background: var(--lg); box-shadow: 0 0 12px var(--lg); }
.android .dot { background: var(--android); box-shadow: 0 0 12px var(--android); }
.mobile .dot { background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* --- sections --- */
.section { max-width: var(--max); margin: 0 auto; padding: 100px 24px 0; }
h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -1px; line-height: 1.1; margin: 0 0 14px; text-align: center; }
.sub { color: var(--muted); font-size: 18px; text-align: center; max-width: 640px; margin: 0 auto 48px; }
.left { text-align: left; margin-left: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(231, 194, 125, .35); }
.card h3 { margin: 18px 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(231, 194, 125, .12); }
.ico svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* --- tour: the TV stays, its screen follows the step in the middle (main.js) --- */
.tour-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; margin-top: 20px; }
.tour-stage { position: sticky; top: calc(50vh - 15vw); height: fit-content; }
.tour .tv-screen > img, .tour .scene { opacity: 0; transition: opacity .6s, transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.tour .tv-screen > img { transform: scale(1.04); }
.tour .tv-screen > .on { opacity: 1; transform: none; }
/* An episode of the series playing; the card offers the next one. */
.scene { position: absolute; inset: 0; background: url("img/tv-episode.webp") center / cover no-repeat; transform: scale(1.06); }
.scene.on { transition: opacity .6s, transform 6s linear; }
.tour-progress { height: 3px; margin-top: 28px; border-radius: 3px; background: var(--line); overflow: hidden; }
.tour-progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.tour-steps { list-style: none; margin: 0; padding: 0; }
.tour-step { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; opacity: .22; transition: opacity .5s; }
.tour-step.on { opacity: 1; }
.tour-step h3 { margin: 0 0 14px; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.05; letter-spacing: -1px; }
.tour-step p { margin: 0; color: var(--muted); font-size: 18px; }
.step-shot { display: none; }
.upnext {
  position: absolute; right: 3%; bottom: 5%; width: 44%; display: flex; gap: 4%; align-items: center; padding: 2.4%;
  border-radius: 10px; background: rgba(15, 17, 24, .92); font-size: clamp(9px, .9vw, 14px); line-height: 1.3;
  opacity: 0; transform: translateY(20%); transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .2, 1);
}
.upnext small { display: block; color: var(--muted); }
.upnext strong { display: block; margin-bottom: 6%; }
.upnext-thumb { flex: none; width: 38%; aspect-ratio: 16 / 9; border-radius: 6px; background: url("img/tv-next.webp") center / cover no-repeat; }
.upnext-bar { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.upnext-bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.tour[data-at="next"] .upnext { opacity: 1; transform: none; }
.tour[data-at="next"] .upnext-bar span { animation: count 6s linear infinite; }
@keyframes count { to { transform: scaleX(1); } }

/* --- numbers that count up once (main.js) --- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.numbers div { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.numbers strong { display: block; font-size: clamp(48px, 6vw, 76px); line-height: 1; font-weight: 300; color: var(--accent); letter-spacing: -2px; }
.numbers span { display: block; margin-top: 12px; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.installer h2 { text-align: left; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 20px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 58px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(231, 194, 125, .14); color: var(--accent); font-weight: 700;
}
.steps b { display: block; font-size: 18px; margin-bottom: 2px; }
.steps span { color: var(--muted); font-size: 15.5px; }
/* The installer sends the app from the phone to the TV: the beam moves only while seen. */
.beam-stage { display: grid; grid-template-columns: 34% 1fr 50%; align-items: center; }
.beam-stage .phone { width: 100%; }
.beam { width: 100%; height: 120px; overflow: visible; }
.beam path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 12; animation: flow 1.2s linear infinite paused; }
.beam-stage.live .beam path { animation-play-state: running; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.tv.tiny { border-width: 6px; border-radius: 12px; }
.installing { position: absolute; left: 50%; bottom: 8%; width: 46%; height: 6px; transform: translateX(-50%); border-radius: 6px; background: rgba(0, 0, 0, .6); overflow: hidden; }
.installing span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.beam-stage.live .installing span { animation: install 3.6s cubic-bezier(.2, .8, .2, 1) infinite; }
@keyframes install { 80%, 100% { transform: scaleX(1); } }

.finale { font-size: clamp(44px, 8vw, 104px); line-height: .95; letter-spacing: -3px; margin: 0 0 50px; }
.finale em { font-style: normal; color: var(--accent); }

.download {
  display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center;
  padding: 40px; border-radius: 36px;
  background: linear-gradient(120deg, rgba(231, 194, 125, .14), rgba(255, 255, 255, .03) 55%);
  border: 1px solid rgba(231, 194, 125, .28);
}
.download h2 { text-align: left; font-size: 32px; }
.download .sub { margin-bottom: 14px; font-size: 16px; }
.dl-protect { margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 184, 107, .1); color: #ffcf96; font-size: 14px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-meta span { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 13px; color: var(--fg); }
.dl-notes { color: var(--muted); font-size: 14.5px; margin-top: 12px; white-space: pre-line; }
.dl-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.soon { color: var(--muted); font-size: 13px; }

.faq { max-width: 780px; margin: 30px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.footer {
  max-width: var(--max); margin: 120px auto 0; padding: 36px 24px 48px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr; gap: 10px 30px; align-items: center;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; min-width: 0; color: var(--muted); font-size: 15px; }
.footer nav a:hover { color: var(--fg); }
.footer .fine { grid-column: 1 / -1; margin: 6px 0 0; }

/* --- legal pages --- */
.doc { max-width: 760px; margin: 0 auto; padding: 60px 24px 0; }
.doc h1 { font-size: 44px; }
.doc h2 { text-align: left; font-size: 24px; margin-top: 40px; }
.doc p, .doc li { color: #d6d3cc; }
.doc .updated { color: var(--muted); font-size: 14px; }

/* --- reveal --- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-art { margin-top: 10px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .download { grid-template-columns: 1fr; text-align: left; }
  .dl-actions { align-items: flex-start; }
  .links { display: none; }
  .menu-btn { display: flex; }
  .nav.open .links {
    display: flex; flex-direction: column; gap: 0; margin: 0;
    position: absolute; left: 0; right: 0; top: 100%; padding: 8px 16px 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.open .links a { padding: 13px 8px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav.open .links a:last-child { border-bottom: 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .tv { border-width: 6px; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .beam-stage { grid-template-columns: 36% 1fr 50%; }
  .section { padding-top: 72px; }
  .download { padding: 28px; }
  .lang button, .lang a { padding: 6px 8px; }
  .nav { gap: 12px; padding: 12px 16px; }
  .nav .btn.small { display: none; }
}
@media (max-width: 960px) {
  .tour-grid { grid-template-columns: 1fr; }
  .tour-stage { display: none; }
  .tour-step { min-height: auto; padding: 30px 0; opacity: 1; }
  .step-shot { display: block; margin-bottom: 20px; border-radius: 14px; border: 6px solid #111318; }
}
@media (prefers-reduced-motion: reduce) {
  .phone.floating { animation: none; }
  h1, #hero-tv .tv-screen > img, .platforms .track, .beam path, .installing span, .upnext-bar span { animation: none !important; }
  #hero-tv { transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --- highlights --- */
.why { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.why-big {
  grid-column: span 3; display: flex; flex-direction: column; gap: 18px;
  padding: 30px; border-radius: 32px; border: 1px solid rgba(231, 194, 125, .3);
  background: radial-gradient(120% 90% at 100% 0%, rgba(231, 194, 125, .18), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  overflow: hidden;
}
.why-big.family { border-color: rgba(122, 162, 255, .3); background: radial-gradient(120% 90% at 100% 0%, rgba(98, 132, 255, .2), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.why-big h3 { margin: 12px 0 10px; font-size: 28px; letter-spacing: -.4px; }
.why-big p { margin: 0; color: var(--muted); font-size: 16px; }
.cast-art { margin-top: auto; }
.cast-art svg { width: 100%; max-width: 420px; display: block; margin: 0 auto; }
.cast-art .waves { animation: waves 2.4s ease-in-out infinite; transform-origin: 92px 106px; }
@keyframes waves { 50% { opacity: .45; } }
.avatars { margin-top: auto; display: flex; justify-content: center; padding: 8px 0 4px; }
.avatars img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #0d0f15; margin-left: -14px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .8); }
.avatars > img:first-child { margin-left: 0; }
.avatars .kid { position: relative; margin-left: -14px; z-index: 1; }
.avatars .kid img { width: 104px; height: 104px; margin: -10px 0 0; border-color: var(--accent); }
.avatars .kid b { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #1f1606; font-size: 11px; font-weight: 800; white-space: nowrap; }
.why-item {
  grid-column: span 2; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  transition: transform .25s, border-color .25s;
}
.why-item:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .16); }
.why-item h3 { margin: 16px 0 8px; font-size: 19px; }
.why-item p { margin: 0; color: var(--muted); font-size: 15px; }
.why-item .tag.small { margin-top: 14px; }
.why-item .tag.small + h3 { margin-top: 8px; }
.ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.c1 { background: rgba(231, 194, 125, .14); color: var(--accent); }
.c2 { background: rgba(255, 186, 73, .14); color: #ffba49; }
.c3 { background: rgba(255, 102, 128, .14); color: #ff7a8f; }
.c4 { background: rgba(94, 230, 207, .14); color: #5ee6cf; }
.c5 { background: rgba(159, 180, 255, .16); color: #9fb4ff; }
.c6 { background: rgba(61, 220, 132, .14); color: #3ddc84; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(231, 194, 125, .16); color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.family .tag { background: rgba(122, 162, 255, .18); color: #9fb4ff; }
.c3 ~ .tag, .why-item .tag.small { background: rgba(255, 102, 128, .14); color: #ff8fa0; font-size: 11px; }

.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 13px; border-radius: 999px; background: rgba(122, 162, 255, .12); border: 1px solid rgba(122, 162, 255, .22); color: #c9d5ff; font-size: 13px; font-weight: 600; }

/* --- plugin --- */
h2.left { text-align: left; }
.repo { padding: 30px; border-radius: var(--radius); border: 1px solid rgba(231, 194, 125, .3); background: rgba(255, 255, 255, .03); }
.repo-label, .give-label { display: block; color: var(--muted); font-size: 12px; font-weight: 700; margin: 16px 0 6px; text-transform: uppercase; letter-spacing: .06em; }
.copy-line { display: flex; align-items: center; gap: 8px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); border-radius: 14px; padding: 8px 8px 8px 14px; }
.copy-line code { flex: 1; min-width: 0; font: 500 14px/1.4 ui-monospace, "JetBrains Mono", monospace; color: var(--accent2); overflow-wrap: anywhere; }
.copy-line code.long { font-size: 12px; }
.copy-line code.clip { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.copy { flex: none; border: 0; border-radius: 10px; padding: 8px 12px; background: rgba(255, 255, 255, .1); color: var(--fg); font-weight: 600; font-size: 13px; line-height: 1; font-family: inherit; cursor: pointer; transition: background .2s; }
.copy:hover { background: rgba(255, 255, 255, .18); }
.copy.done { background: var(--accent); color: #1f1606; }
.note-box { margin-top: 22px; padding: 18px; border-radius: 18px; background: rgba(255, 102, 128, .08); border: 1px solid rgba(255, 102, 128, .25); }
.note-box b { display: block; color: #ff8fa0; margin-bottom: 4px; }
.note-box span { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }

/* --- iPhone / iPad --- */
.ios-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 44px; border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: radial-gradient(90% 120% at 0% 0%, rgba(159, 180, 255, .16), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
}
.ios-text .btn { margin-top: 6px; }
.ios-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ios-steps li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 20px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); }
.ios-steps b { display: block; font-size: 16.5px; }
.ios-steps span:not(.ios-ic) { color: var(--muted); font-size: 14.5px; }
.ios-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(159, 180, 255, .16); color: #9fb4ff; }
.ios-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ios-link { color: #9fb4ff; font-size: 13.5px; font-weight: 600; }
.ios-link:hover { text-decoration: underline; }
@media (max-width: 960px) { .ios-box { grid-template-columns: 1fr; padding: 28px; gap: 28px; } }
.pc-box { background: radial-gradient(90% 120% at 100% 0%, rgba(120, 220, 190, .14), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.linux-box { background: radial-gradient(90% 120% at 100% 0%, rgba(231, 194, 125, .16), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.linux-box .copy-line { margin-bottom: 14px; }
.linux-shot { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }

/* --- support --- */
.give { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; align-items: stretch; }
.give-card {
  position: relative; padding: 28px; border-radius: 32px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  display: flex; flex-direction: column;
}
.give-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--hue); }
.give-card.pix { --hue: linear-gradient(90deg, #32bcad, #6fe3d5); --c: #4fd1c1; }
.give-card.paypal { --hue: linear-gradient(90deg, #003087, #009cde); --c: #5fb4ff; }
.give-card.crypto { --hue: linear-gradient(90deg, #f7931a, #26a17b); --c: #f7a440; }
.give-card header { display: flex; align-items: center; gap: 14px; }
.give-card header h3 { margin: 0; font-size: 22px; color: var(--c); }
.give-card header span:not(.badge) { color: var(--muted); font-size: 13.5px; }
.badge { flex: none; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); }
.badge svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.qr-wrap { display: flex; justify-content: center; margin: 22px 0 6px; }
.qr { width: 200px; height: 200px; background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--c) 60%, transparent); }
.qr-pair { display: flex; justify-content: center; gap: 16px; margin: 22px 0 6px; }
.qr-pair figure { margin: 0; text-align: center; }
.qr.small { width: 120px; height: 120px; padding: 7px; border-radius: 14px; }
.qr-pair figcaption { color: var(--muted); font-size: 12px; margin-top: 8px; font-weight: 600; }
.btn.wide { justify-content: center; margin: 14px 0 0; }
.warn { margin: 12px 0 0; color: #ffcf96; font-size: 13px; }
.thanks { text-align: center; color: var(--accent2); font-size: 16px; margin: 0; }
.thanks::before { content: "♥ "; color: #ff7a8f; }

@media (max-width: 960px) {
  .why { grid-template-columns: repeat(2, 1fr); }
  .why-big, .why-item { grid-column: span 2; }
  .give { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 621px) and (max-width: 960px) {
  .why-item { grid-column: span 1; }
}
@media (max-width: 620px) {
  .why { grid-template-columns: 1fr; }
  .why-big, .why-item { grid-column: auto; }
  .avatars img { width: 64px; height: 64px; }
  .avatars .kid img { width: 80px; height: 80px; }
}
.chip.linux .dot { background: #f6c344; box-shadow: 0 0 12px #f6c344; }

/* Kept in the page but not shown yet (the Linux download). */
[hidden] { display: none !important; }
.chip.pc .dot { background: #5fd3b4; box-shadow: 0 0 12px #5fd3b4; }
