/* myabc.app — the merged landing page (index.html). /sukromie/ keeps styles.css.
   One page, three apps: the page itself speaks the myabc.app brand (cream paper,
   Baloo 2 + Nunito, four crayon colours); each app section borrows its own app's
   accent, paper and — for Reddy — display face, so a parent can tell at a glance
   whose world they are in. The section's colour starts in its tab in the sticky
   nav and runs down the section's top edge. No framework, no third-party request. */

:root {
  --bg: #FFF8EC;
  --paper: #FFFDF8;
  --ink: #2E2A3B;
  --ink-2: #5B5468;
  --ink-3: #6E6779;
  --line: #EADFCB;
  --red: #E5533D;
  --yellow: #F2A93B;
  --green: #3FA36B;
  --blue: #3B7DD8;
  --red-ink: #B9371F;
  --blue-ink: #2559A8;
  --radius: 22px;
  --shadow: 0 2px 0 rgba(46, 42, 59, .06), 0 10px 28px rgba(46, 42, 59, .08);
  --head: 'Baloo 2', ui-rounded, 'Arial Rounded MT Bold', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* the three apps' own accents (from each app's design tokens) */
  --slovko: #C8452F; --slovko-dk: #8F2A1B; --slovko-paper: #FBF6EC;
  --rrr: #2CA6A4;    --rrr-dk: #17615F;    --rrr-paper: #F3E7D3;
  --reddy: #B3231F;  --reddy-bronze: #C9962C; --reddy-ink: #12070C;
  --tabs-h: 56px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
picture { display: contents; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 5.5vw, 2.3rem); }
h3 { font-size: clamp(1.35rem, 4vw, 1.7rem); }
h4 { font-size: 1.2rem; margin: .7em 0 .25em; }
p { margin: 0 0 1em; }
b, strong { font-weight: 800; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }
[id] { scroll-margin-top: calc(var(--tabs-h) + 12px); }
.body { max-width: 62ch; }
.note { font-size: .92rem; color: var(--ink-2); max-width: 62ch; }

/* ── header ─────────────────────────────────────────────────────────────── */
.top { padding: 14px 0 4px; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.top__logo { display: block; line-height: 0; }
.top__logo img { width: 150px; }
.top__nav { display: flex; gap: 4px 16px; flex-wrap: wrap; font-weight: 700; font-size: .98rem; }
.top__nav a { color: var(--ink-2); text-decoration: none; padding: 6px 2px; }
.top__nav a:hover { color: var(--ink); text-decoration: underline; }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero { padding: 22px 0 36px; }
.hero h1 { font-size: clamp(2rem, 8vw, 3.6rem); max-width: 18ch; letter-spacing: -.5px; }
.hero h1 .u { background: linear-gradient(transparent 62%, rgba(242, 169, 59, .45) 62%); padding: 0 .08em; }
.hero .lead { font-size: clamp(1.1rem, 3.6vw, 1.3rem); color: var(--ink-2); max-width: 38ch; }
.shelf { list-style: none; padding: 0; margin: 26px 0 22px; display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 760px) { .shelf { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.shelf__app { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 2px solid var(--line); border-left: 8px solid var(--c); border-radius: 18px;
  padding: 8px 14px 8px 8px; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.shelf__app:hover { transform: translateY(-2px); border-color: var(--c); }
.shelf__app img { width: 64px; height: 64px; border-radius: 16px; flex: 0 0 auto; }
.shelf__app b { display: block; font: 800 1.5rem/1.05 var(--head); }
.shelf__app small { display: block; font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.shelf__app--slovko { --c: var(--slovko); }
.shelf__app--rrr { --c: var(--rrr); }
.shelf__app--reddy { --c: var(--reddy-bronze); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.facts li { background: #fff; border: 2px dashed var(--line); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: .95rem; color: var(--ink-2); }

/* ── the sticky tabs: one colour per app ────────────────────────────────── */
.tabs { position: sticky; top: 0; z-index: 30; background: rgba(255, 248, 236, .95);
  border-bottom: 2px solid var(--line); }
@supports (backdrop-filter: blur(6px)) { .tabs { background: rgba(255, 248, 236, .86); backdrop-filter: blur(8px); } }
.tabs__in { display: flex; align-items: stretch; gap: 4px; height: var(--tabs-h); overflow-x: auto; scrollbar-width: none; }
.tabs__in::-webkit-scrollbar { display: none; }
.tab { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 0 10px; text-decoration: none;
  color: var(--ink); font: 800 1.02rem/1 var(--head); border-bottom: 5px solid var(--c, transparent);
  border-radius: 12px 12px 0 0; margin-top: 8px; transition: background .15s, color .15s; }
.tab img { width: 24px; height: 24px; border-radius: 7px; display: none; }
.tab--slovko { --c: var(--slovko); --c-on: var(--slovko); --c-txt: #fff; }
.tab--rrr { --c: var(--rrr); --c-on: var(--rrr-dk); --c-txt: #fff; }
.tab--reddy { --c: var(--reddy-bronze); --c-on: var(--reddy-bronze); --c-txt: var(--reddy-ink); }
.tab--get, .tab--more { color: var(--ink-2); font-family: var(--body); font-size: .95rem; }
.tab--get { margin-left: auto; }
.tab:hover { background: rgba(46, 42, 59, .05); }
.tab[aria-current="true"] { background: var(--c-on, var(--ink)); color: var(--c-txt, #fff); }
.tab--get[aria-current="true"], .tab--more[aria-current="true"] { background: var(--ink); color: #fff; border-bottom-color: var(--ink); }
@media (max-width: 400px) { .tab--more { display: none; } .tab { padding: 0 9px; } }
@media (min-width: 600px) { .tab img { display: block; } .tab { padding: 0 14px; } }

/* ── shared sections ────────────────────────────────────────────────────── */
.band { padding: 48px 0; }
.band--paper { background: var(--paper); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.kicker { font-family: var(--head); font-weight: 700; color: var(--red-ink); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; margin-bottom: .4em; }

.story p { font-size: 1.1rem; }
.story a { color: inherit; }
.story .sig { font-family: var(--head); font-weight: 700; font-size: 1.25rem; color: var(--ink-2); margin-top: 1.4em; }
.story .why { border-left: 5px solid var(--yellow); padding: 4px 0 4px 16px; margin: 1.6em 0; }
.story .why p:last-child { margin-bottom: 0; }

.two { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 820px) { .two { grid-template-columns: 1fr 1fr; gap: 40px; } }
.box { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; }
.band--paper .box { background: #fff; }
.box--support { background: #FFF1D6 !important; border-color: #F3D59C; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 20px; border-radius: 14px; font-weight: 800;
  text-decoration: none; background: var(--blue-ink); color: #fff; border: 0; font-size: 1rem; font-family: var(--body); cursor: pointer; }
.btn[aria-disabled="true"] { background: #fff; color: var(--ink-2); border: 2px dashed var(--ink-3); cursor: default; }
.tiers { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 8px; }
.tiers li { display: flex; justify-content: space-between; gap: 12px; background: #fff; border-radius: 12px; padding: 8px 14px; }
.tiers b { font-family: var(--head); }
.tiers span { color: var(--ink-2); font-size: .95rem; text-align: right; }

.faq details { background: var(--paper); border: 2px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 800; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 9px; font: 800 1.5rem var(--head); color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 4px; color: var(--ink-2); }

.foot { padding: 32px 0 44px; color: var(--ink-2); font-size: .95rem; border-top: 2px solid var(--line); }
.foot__in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.foot img { width: 120px; display: block; }
.foot a { color: var(--ink-2); }
.foot p { margin: 0; flex: 1 1 280px; }

/* ── install block (one per app) + the Google Play badge ────────────────── */
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 22px 0 0; }
.play { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none;
  border-radius: 12px; padding: 8px 18px 8px 13px; min-height: 52px; line-height: 1.1; }
.play svg { width: 22px; height: 24px; flex: 0 0 auto; }
.play span { display: flex; flex-direction: column; font: 700 1.2rem/1.1 var(--head); }
.play small { font: 700 .7rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.play--soon { background: #fff; color: var(--ink); border: 2px dashed var(--ink-3); }
.play:hover { filter: brightness(1.08); }
.apk { font-weight: 800; color: var(--a-ink, var(--ink)); display: inline-block; padding: 10px 0; }
.apk > span { font-weight: 400; margin-left: .3em; color: var(--ink-2); white-space: nowrap; }
.get__note { flex: 1 0 100%; margin: 0; font-size: .9rem; color: var(--ink-2); }
.get__note a { color: inherit; }

/* ── an app section ─────────────────────────────────────────────────────── */
.app { background: var(--a-paper); border-top: 10px solid var(--a); padding: 34px 0 52px; }
.app--slovko { --a: var(--slovko); --a-ink: var(--slovko-dk); --a-paper: var(--slovko-paper); }
.app--rrr { --a: var(--rrr); --a-ink: var(--rrr-dk); --a-paper: var(--rrr-paper); }
.app--reddy { --a: var(--reddy-bronze); --a-ink: var(--reddy-ink); --a-paper: #fff; }
.app__intro { display: grid; grid-template-columns: 1fr; gap: 6px; align-items: center; }
@media (min-width: 820px) { .app__intro { grid-template-columns: 1.35fr 1fr; gap: 32px; } }
.app__art { display: grid; place-items: center; position: relative; order: -1; }
@media (min-width: 820px) { .app__art { order: 0; } }
.app__kind { font: 700 .9rem/1.3 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--a-ink); margin: 0 0 .2em; }
.app__name { font-size: clamp(2.6rem, 10vw, 4.2rem); line-height: 1; margin: 0 0 .15em; }
.thesis { font: 800 clamp(1.35rem, 5vw, 2rem)/1.2 var(--head); margin: .2em 0 .4em; }
.app .lead { font-size: clamp(1.05rem, 3.4vw, 1.2rem); max-width: 46ch; }
.block { margin-top: 48px; }
.block > h3 { color: var(--a-ink); }
.app .games { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 18px -16px 0; padding: 4px 16px 16px; }
.app .game { flex: 0 0 74%; max-width: 300px; scroll-snap-align: center; background: #fff; border-radius: 24px; padding: 16px 18px 20px; box-shadow: var(--shadow); }
.game p { margin: 0; font-size: .95rem; color: var(--ink-2); }
@media (min-width: 820px) {
  .app .games { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 22px 0 0; padding: 0; gap: 24px; }
  .app .game { max-width: none; }
}

/* ── Slovko: syllable pills, the stage, the chest ───────────────────────── */
.app--slovko { --r1:#3B82C4; --t1:#E3EEF8; --r2:#3E9A57; --t2:#E2F2E6; --r3:#E58A1F; --t3:#FCEEDC; --wrong:#A39A8E;
  --honey:#E8A93A; --moss:#3E7639; --tile:#F3EAD8; }
.pill { display: inline-flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; line-height: 1;
  padding: .14em .42em .06em; margin: 0 .07em; border-radius: 999px; border: .075em solid var(--r1); background: var(--t1);
  color: var(--ink); min-width: 1.6em; transition: transform .18s, background-color .18s, color .18s; }
.c1 { border-color: var(--r1); background: var(--t1); } .c2 { border-color: var(--r2); background: var(--t2); } .c3 { border-color: var(--r3); background: var(--t3); }
.c4 { border-color: #D9508A; background: #F9E1EC; } .c5 { border-color: #8A5BC7; background: #EEE6F8; }
.pill--wrong { border: .06em dashed var(--wrong); background: #F4F0EA; color: var(--ink-2); }
.pill.on { transform: scale(1.13); color: #fff; }
.c1.on { background: var(--r1); } .c2.on { background: var(--r2); } .c3.on { background: var(--r3); } .c4.on { background: #D9508A; } .c5.on { background: #8A5BC7; }
.pill--wrong.on { background: var(--wrong); }
.brandword { display: inline-flex; color: var(--slovko); }
.brandword .pill { color: var(--slovko); border-width: .06em; padding: .1em .32em .02em; }
.app--slovko .thesis { display: flex; flex-direction: column; font-size: clamp(2rem, 8vw, 3.2rem); }
.hw { display: flex; flex-wrap: wrap; }
.hn { display: flex; align-items: center; flex-wrap: wrap; font-size: .5em; margin-top: .3em; color: var(--ink-2); }
.hn__nie { margin-right: .35em; }
.dwarf { position: relative; z-index: 2; background: none; border: 0; padding: 0; cursor: pointer; width: 150px;
  animation: bob 3.2s ease-in-out infinite; -webkit-tap-highlight-color: transparent; }
.dwarf img { display: block; width: 100%; filter: drop-shadow(0 14px 14px rgba(58, 42, 30, .18)); }
.dwarf.hop { animation: hop .6s ease-out; }
.bubble { position: absolute; top: 4%; right: -40%; background: #fff; font: 800 19px/1 var(--head); color: var(--slovko);
  padding: 9px 13px 6px; border-radius: 18px; box-shadow: var(--shadow); transform: rotate(4deg); }
.bubble::after { content: ""; position: absolute; left: 14px; bottom: -10px; border: 10px solid transparent; border-top-color: #fff; border-bottom: 0; }
.hill { position: absolute; z-index: 1; left: 18%; right: 18%; bottom: 0; height: 34%; background: #D5E6C8; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
@media (min-width: 820px) {
  .dwarf { width: min(300px, 80%); }
  .bubble { font-size: 26px; right: -6%; top: 2%; padding: 12px 18px 8px; }
  .hill { left: 4%; right: 4%; height: 30%; }
  .app--slovko .app__art { min-height: 360px; }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hop { 0% { transform: translateY(0); } 35% { transform: translateY(-34px) rotate(-3deg); } 70% { transform: translateY(0); } 85% { transform: translateY(-8px); } 100% { transform: translateY(0); } }

.app--slovko .btn { border-radius: 999px; color: #fff; box-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.btn--honey { background: var(--honey) !important; color: var(--ink) !important; }
.btn--moss { background: var(--moss) !important; }
.btn--moss[aria-pressed="true"] { background: #fff !important; color: var(--moss) !important; box-shadow: inset 0 0 0 3px var(--moss) !important; }
.stage { background: #fff; border-radius: 30px; box-shadow: var(--shadow); max-width: 760px; margin: 20px auto 0;
  padding: 22px 12px 26px; display: flex; flex-direction: column; align-items: center; position: relative; overflow: hidden; }
.pic { background: var(--slovko-paper); border: 0; border-radius: 24px; padding: 10px; cursor: pointer; }
.pic img { display: block; width: 160px; height: 160px; object-fit: contain; }
.stage__word { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 18px;
  font-size: clamp(36px, 5vw + 16px, 64px); min-height: 1.5em; }
.stage__word .pill { cursor: pointer; font: inherit; font-family: var(--head); font-weight: 800; }
.claps { display: flex; justify-content: center; height: 34px; margin-top: 6px; font-size: 26px; }
.claps span { opacity: 0; transform: scale(.4); transition: all .2s; }
.claps span.on { opacity: 1; transform: scale(1); }
.stage__msg { min-height: 1.5em; margin: 4px 0 14px; font-weight: 800; color: var(--moss); text-align: center; }
.stage__msg.soft { color: var(--ink-2); }
.stage__ctl { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.beads { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; }
.bead { font-family: var(--head); font-weight: 800; line-height: 1; padding: .12em .02em; }
.gap { position: relative; font: inherit; width: .5em; height: 1.7em; background: none; border: 0; padding: 0; margin: 0 .03em; cursor: pointer; flex: none; }
.gap::before { content: ""; position: absolute; left: 50%; top: -4%; bottom: -4%; width: 5px; transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom, var(--r3) 0 9px, transparent 9px 15px); border-radius: 3px; opacity: .85; }
.gap::after { content: ""; position: absolute; left: 50%; top: -10%; width: 14px; height: 14px; border-radius: 50%; background: var(--r3); transform: translateX(-50%); }
.gap.ok { width: .9em; cursor: default; }
.gap.ok::before { background: var(--slovko); width: 7px; opacity: 1; top: -14%; bottom: -14%; }
.gap.ok::after { background: var(--slovko); }
.gap.bad { animation: wig .4s; }
.gap.bad::before { background: var(--wrong); opacity: .35; }
@keyframes wig { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.spark { position: absolute; font-size: 26px; pointer-events: none; animation: spark 1.1s ease-out forwards; }
@keyframes spark { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.2) rotate(40deg); } }
.strip { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 18px auto 0; max-width: 760px; }
.chip { background: #fff; border: 2.5px solid transparent; border-radius: 16px; padding: 4px 10px 4px 4px; cursor: pointer;
  display: flex; align-items: center; gap: 6px; font: 800 15px/1 var(--body); color: var(--ink); box-shadow: 0 2px 0 var(--line); min-height: 44px; }
.chip img { width: 36px; height: 36px; object-fit: contain; }
.chip[aria-pressed="true"] { border-color: var(--honey); background: #FFF8E8; }

.compare { background: #fff; border-radius: 26px; box-shadow: var(--shadow); padding: 18px 18px 14px; }
.row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "tag spk" "word spk"; align-items: center;
  padding: 10px 2px 14px; border-bottom: 2px dashed var(--line); }
.row--bad { border-bottom: 0; }
.row__tag { grid-area: tag; font-weight: 800; font-size: 14px; color: var(--moss); text-transform: uppercase; letter-spacing: .04em; }
.row--bad .row__tag { color: var(--ink-2); }
.row__word { grid-area: word; font-size: clamp(28px, 2.4vw + 16px, 44px); display: flex; margin-top: 6px; }
.spk { grid-area: spk; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--tile); font-size: 22px; cursor: pointer; }

.phone { background: #2F241B; border-radius: 24px; padding: 6px; max-width: 200px; margin: 0 auto; }
.phone img { display: block; border-radius: 18px; width: 100%; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; }
.tile { max-width: 200px; aspect-ratio: 1 / 2; margin: 0 auto; border-radius: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.t-drum { background: var(--t3); font-size: 76px; }
.t-drum i { font: 800 22px/1 var(--head); color: #9A520C; font-style: normal; }
.t-drum i:nth-of-type(2) { margin-left: 40px; } .t-drum i:nth-of-type(3) { margin-left: -30px; }
.t-build { background: var(--t1); gap: 16px; font-size: 28px; }
.t-build .pill:nth-child(1) { transform: rotate(-8deg) translateX(20px); }
.t-build .pill:nth-child(2) { transform: rotate(5deg) translateX(-22px); }
.t-build .pill:nth-child(3) { transform: rotate(-3deg) translateX(12px); }

.levels { list-style: none; padding: 0; margin: 20px 0 14px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 600px) { .levels { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .levels { grid-template-columns: repeat(6, 1fr); align-items: end; } .lvl { min-height: var(--h); } }
.lvl { background: #fff; border-radius: 20px; padding: 14px 12px 16px; box-shadow: var(--shadow); border-top: 8px solid var(--c);
  display: flex; flex-direction: column; gap: 4px; }
.lvl b { font-family: var(--head); font-size: 1.15rem; line-height: 1.1; }
.lvl__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c); color: #fff; font: 800 20px/1 var(--head); padding-top: 3px; }
.lvl__hint { font-size: .9rem; color: var(--ink-2); font-weight: 700; }
.lvl__count { font-size: .85rem; color: var(--ink-2); margin-top: auto; }
.l1 { --c: #4E9A4B; --h: 170px; } .l2 { --c: #3F857B; --h: 190px; } .l3 { --c: #B9802A; --h: 210px; }
.l4 { --c: #C4642A; --h: 230px; } .l5 { --c: #C8452F; --h: 250px; } .l6 { --c: #8A5BC7; --h: 270px; }

.chest { list-style: none; padding: 0; margin: 20px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 600px) { .chest { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 980px) { .chest { grid-template-columns: repeat(6, 1fr); gap: 14px; } }
.chest li { background: #fff; border-radius: 20px; padding: 8px 6px 10px; text-align: center; box-shadow: var(--shadow);
  font-size: .85rem; font-weight: 700; color: var(--ink-2); line-height: 1.25; }
.chest img { display: block; width: 100%; max-width: 110px; margin: 0 auto 4px; aspect-ratio: 1; object-fit: contain; }

.yes { list-style: none; padding: 0; margin: 14px 0; max-width: 70ch; }
.yes li { position: relative; padding: 10px 0 10px 44px; border-bottom: 1.5px solid var(--line); }
.yes li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; background: var(--t2); color: var(--moss); }

/* ── RRR: teal, sand paper, the screenshot strip ────────────────────────── */
.app--rrr .app__name { color: var(--rrr-dk); letter-spacing: .02em; }
.app--rrr .thesis strong { color: #A9472C; }
.rrr-logo { width: 150px; filter: drop-shadow(0 6px 16px rgba(58, 46, 34, .18)); }
@media (min-width: 820px) { .rrr-logo { width: 240px; } }
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 6px 16px 18px; }
.shots img { display: block; flex: 0 0 auto; width: 200px; aspect-ratio: 270 / 536; object-fit: cover; object-position: top;
  scroll-snap-align: center; border-radius: 24px; background: #FFFDF8; border: 6px solid #FFFDF8; box-shadow: 0 8px 24px rgba(58, 46, 34, .12); }
@media (min-width: 980px) { .shots { flex-wrap: wrap; justify-content: center; overflow: visible; margin: 0; padding: 6px 0 18px; } .shots img { width: 180px; } }
.features { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } .feature--wide { grid-column: 1 / -1; } }
.feature { background: #FCF6EC; border-radius: 18px; padding: 18px 20px; box-shadow: 0 8px 24px rgba(58, 46, 34, .10); display: flex; gap: 14px; align-items: flex-start; }
.feature .emoji { font-size: 1.7rem; line-height: 1; flex: 0 0 auto; }
.feature h4 { margin: 2px 0 4px; }
.feature p { margin: 0; color: #6E5C49; font-size: .96rem; }

/* ── Reddy: white paper, ink outlines, bronze structure, Archivo Black ───── */
.app--reddy h2, .app--reddy h3, .app--reddy .thesis { font-family: 'Archivo Black', var(--head); font-weight: 400; letter-spacing: -.015em; }
.app--reddy .app__name { color: var(--reddy-ink); }
.app--reddy .thesis { font-size: clamp(1.5rem, 5.4vw, 2.3rem); line-height: 1.08; }
.sticker { color: var(--reddy); -webkit-text-stroke: 1.5px var(--reddy-ink); paint-order: stroke fill; }
@media (min-width: 820px) { .sticker { -webkit-text-stroke-width: 2.5px; } }
.reddy-logo { width: 128px; }
@media (min-width: 820px) { .reddy-logo { width: 200px; } }
.app--reddy .block > h3 { padding-bottom: .3em; border-bottom: 1px solid rgba(201, 150, 44, .55); }
.frame img { display: block; width: 100%; max-width: 240px; margin: 0 auto; border-radius: 18px; border: 3px solid var(--reddy-ink); }
.app--reddy .game { box-shadow: none; border: 1px solid rgba(201, 150, 44, .45); }
.clil { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0; }
@media (min-width: 760px) { .clil { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.clil article { background: #F6F1E7; border-radius: 14px; padding: 6px 18px 16px; }
.clil p { margin: 0; font-size: .95rem; }
.ladder { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; margin-top: 22px; }
@media (min-width: 820px) { .ladder { grid-template-columns: 1.15fr .85fr; gap: 48px; } }
.ladder__label { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #6B6467; margin-bottom: 14px; }
.ladder__range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; cursor: pointer;
  background: linear-gradient(90deg, #3AA8AE var(--fill, 0%), rgba(18, 7, 12, .12) var(--fill, 0%)); }
.ladder__range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--reddy); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--reddy); }
.ladder__range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--reddy); border: 3px solid #fff; }
.ladder__stops { list-style: none; padding: 0; margin: 14px 0 0; position: relative; height: 56px; }
.ladder__stops li { position: absolute; top: 0; display: flex; flex-direction: column; gap: 2px; font-size: .82rem; line-height: 1.25; color: #6B6467; }
.ladder__stops li:nth-child(1) { left: 0; }
.ladder__stops li:nth-child(2) { left: 20%; transform: translateX(-50%); text-align: center; align-items: center; }
.ladder__stops li:nth-child(3) { left: 66.7%; transform: translateX(-50%); text-align: center; align-items: center; }
@media (max-width: 520px) { .ladder__stops span { display: none; } .ladder__stops { height: 30px; } }
.ladder__stops b { font-size: 1.15rem; color: var(--reddy-ink); font-variant-numeric: tabular-nums; }
.mock { max-width: 320px; margin-inline: auto; border: 3px solid var(--reddy-ink); border-radius: 26px; padding: 12px; background: #fff; }
.mock__banner { display: flex; align-items: center; gap: 10px; background: #F6F1E7; border-radius: 12px; padding: 12px 14px; }
.mock__spk { appearance: none; border: 0; background: none; font-size: 22px; cursor: pointer; line-height: 1; padding: 2px; min-width: 44px; min-height: 44px; }
.mock__line { font-weight: 800; font-size: 1.2rem; }
.mock__sub { margin: 6px 0 0 54px; font-size: .9rem; color: #6B6467; }
.ladder__state { margin: 16px 0 0; font-size: .95rem; color: #6B6467; text-align: center; }
.ladder__state b { color: var(--reddy-ink); }
.deck { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
@media (min-width: 760px) { .deck { grid-template-columns: repeat(8, 1fr); gap: 12px; } }
.card { appearance: none; background: #fff; border: 2px solid var(--reddy-bronze); border-radius: 12px; padding: 6px 4px 4px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px; font: 700 .8rem/1.1 var(--body); color: var(--reddy-ink); transition: transform .12s; }
.card img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.card:hover, .card.is-on { border-color: #3AA8AE; transform: translateY(-2px); }

/* ── shared install + privacy ───────────────────────────────────────────── */
.heads-up { background: #FFF4DA; border: 2px solid #F1D597; border-left-width: 8px; border-radius: 16px; padding: 14px 18px; margin: 22px 0 0; }
.heads-up p { margin: .3em 0; }
.heads-up__t { font-weight: 800; }
.how { margin-top: 14px; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 4px 18px; }
.how summary { cursor: pointer; font-weight: 800; padding: 12px 0; }
.how ol { padding-left: 22px; }
.how li { margin: .45em 0; }
.small-h { font-size: 1.25rem; margin-top: 1.6em; }
.tablewrap { overflow-x: auto; margin: .6em 0 1em; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--head); }
tbody th { font-family: var(--head); font-weight: 800; }
.fp { display: block; min-width: 13em; font: 400 11.5px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; word-break: break-all; color: var(--ink); }
.mail { margin-top: 18px; }
.nots { list-style: none; padding: 0; margin: 14px 0 18px; }
.nots li { position: relative; padding: 9px 0 9px 42px; border-bottom: 1.5px solid var(--line); }
.nots li::before { content: "✗"; position: absolute; left: 0; top: 8px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; background: #F1E8D8; color: var(--ink-2); }
/* on a phone, the 5-column APK table becomes one card per app */
@media (max-width: 640px) {
  .apks thead { display: none; }
  .apks tr { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .apks th, .apks td { border: 0; padding: 2px 0; }
  .apks th { grid-column: 1 / -1; font-size: 1.15rem; }
  .apks td:nth-of-type(3), .apks td:nth-of-type(4) { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.thanks { margin-top: 1rem; font-size: .95rem; color: var(--ink-2); }

/* Patreon: easy to find */
.top__nav a.top__support { color: #fff; background: #E85B46; border-radius: 999px; padding: 6px 14px; }
.top__nav a.top__support:hover { color: #fff; background: #C9442F; text-decoration: none; }
.hero__support { margin: 1rem 0 0; font-weight: 700; }
.hero__support a { color: #C9442F; }
.tiers li { padding: 0; }
.tiers li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; color: inherit; text-decoration: none; }
.tiers li a:hover, .tiers li a:focus-visible { box-shadow: inset 0 0 0 2px #E85B46; }
.tiers li a::after { content: "→"; font-weight: 800; color: #C9442F; }
.btn--patreon { background: #E85B46; color: #fff; }
.btn--patreon:hover { background: #C9442F; }
.tiers__note { font-size: .92rem; color: var(--ink-2); margin: .8rem 0 0; }
.tiers li a b { white-space: nowrap; }
.onetime { background: #fff; border-left: 4px solid #E85B46; border-radius: 10px; padding: 10px 14px; font-size: 1.05rem; }
@media (max-width: 560px) {
  .tiers li a { flex-direction: column; gap: 2px; position: relative; padding-right: 34px; }
  .tiers li a span { text-align: left; }
  .tiers li a::after { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
}
