/* ============================================================================
   Battery Snitch — marketing site
   Aesthetic: "forensic / most-wanted, electric." Dark interrogation backdrop,
   electric volt-lime signature, monospace evidence tags, amber/blood for shame.
   Type: Bricolage Grotesque (display) · Hanken Grotesk (body) · JetBrains Mono.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* ink / surfaces */
  --ink: #080a08;
  --ink-2: #0c0f0c;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.065);
  --hair: rgba(255, 255, 255, 0.09);
  --hair-volt: rgba(198, 249, 90, 0.22);

  /* type colors */
  --text: #ecf2e6;
  --muted: #8c978a;
  --muted-2: #6b756a;

  /* signature + accents */
  --volt: #c6f95a;          /* electric lime — the one bold accent */
  --volt-deep: #9fd92e;
  --emerald: #34d399;       /* brand secondary */
  --amber: #ffc24d;
  --blood: #ff5d5d;         /* shame / danger */

  --display: "Bricolage Grotesque", "Hanken Grotesk", sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1140px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Atmosphere: gradient mesh + faint grid + grain ------------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60vw 50vh at 12% -8%, rgba(198, 249, 90, 0.10), transparent 60%),
    radial-gradient(50vw 40vh at 100% 0%, rgba(52, 211, 153, 0.07), transparent 55%),
    radial-gradient(40vw 40vh at 80% 100%, rgba(255, 93, 93, 0.05), transparent 55%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

a { color: var(--volt); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Monospace evidence tag ------------------------------------------------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--volt);
  border: 1px solid var(--hair-volt);
  background: rgba(198, 249, 90, 0.06);
  padding: 7px 13px; border-radius: 999px;
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Headings --------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin: 0; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
  padding: 14px 24px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--volt); color: #0a1400;
  box-shadow: 0 0 0 1px rgba(198,249,90,0.4), 0 14px 40px -12px rgba(198, 249, 90, 0.55);
}
.btn-primary:hover { background: #d4ff70; box-shadow: 0 0 0 1px rgba(198,249,90,0.6), 0 18px 50px -10px rgba(198, 249, 90, 0.7); }
.btn-ghost { background: var(--panel); color: var(--text); border-color: var(--hair); }
.btn-ghost:hover { background: var(--panel-2); border-color: var(--hair-volt); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--hair); backdrop-filter: blur(14px) saturate(1.2); background: rgba(8, 10, 8, 0.6); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.03em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .logo { width: 30px; height: 30px; filter: drop-shadow(0 0 8px rgba(198,249,90,0.4)); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.btn-primary { color: #0a1400; }
@media (max-width: 680px) { .nav-links .hide-sm { display: none; } }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; padding: 92px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5rem); margin: 24px 0 20px; }
.hero h1 .strike { position: relative; white-space: nowrap; }
.hero h1 .strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: 7px; background: var(--blood); transform: rotate(-2.5deg); border-radius: 4px; box-shadow: 0 0 16px rgba(255,93,93,0.6); }
.hero h1 .hl { color: var(--volt); }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.32rem); color: var(--muted); max-width: 46ch; margin: 0 0 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta .m { display: flex; flex-direction: column; }
.hero-meta .m b { font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: var(--text); }
.hero-meta .m span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }

/* Hero "suspect card" visual -------------------------------------------- */
.suspect {
  position: relative; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--hair); border-radius: 22px; padding: 22px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.05);
  transform: rotate(1.4deg);
}
.suspect::before { content: "EXHIBIT A"; position: absolute; top: 14px; right: -8px; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; color: #0a1400; background: var(--volt); padding: 4px 10px; border-radius: 4px; transform: rotate(4deg); box-shadow: 0 6px 18px -6px rgba(198,249,90,0.7); }
.suspect h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 4px 0 16px; font-weight: 500; }
.suspect-row { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--hair); }
.suspect-row:first-of-type { border-top: none; }
.suspect-row .ava { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-size: 1.1rem; background: var(--panel-2); }
.suspect-row .nm { font-weight: 700; font-size: 0.95rem; }
.suspect-row .meta { font-family: var(--mono); font-size: 0.68rem; color: var(--muted-2); }
.suspect-row .amt { font-family: var(--mono); font-weight: 700; color: var(--blood); font-size: 0.92rem; }
.meter { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; margin-top: 14px; }
.meter > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--amber), var(--blood)); width: 0; animation: drain 2.6s var(--ease) 0.4s forwards; }
@keyframes drain { to { width: 88%; } }

/* Section scaffolding ---------------------------------------------------- */
.section { padding: 86px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 14px 0 14px; }
.section .sub { color: var(--muted); font-size: 1.05rem; margin: 0; }
.kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--volt); }

/* Bento feature grid ----------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento .cell { grid-column: span 2; background: var(--panel); border: 1px solid var(--hair); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s ease; }
.bento .cell:hover { border-color: var(--hair-volt); transform: translateY(-3px); background: var(--panel-2); }
.bento .cell.wide { grid-column: span 3; }
.bento .cell.tall { grid-row: span 2; grid-column: span 2; }
@media (max-width: 860px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .cell, .bento .cell.wide, .bento .cell.tall { grid-column: span 1; grid-row: auto; } }
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } }
.cell .ix { font-family: var(--mono); font-size: 0.68rem; color: var(--muted-2); letter-spacing: 0.12em; }
.cell .ico { font-size: 1.7rem; margin: 10px 0 14px; display: block; }
.cell h3 { font-size: 1.22rem; margin: 0 0 8px; letter-spacing: -0.02em; }
.cell p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.cell.tall .glow { position: absolute; inset: auto -30% -40% -10%; height: 60%; background: radial-gradient(closest-side, rgba(198,249,90,0.16), transparent); pointer-events: none; }

/* Steps ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { border: 1px solid var(--hair); border-radius: var(--radius); padding: 28px; background: var(--panel); position: relative; }
.step .n { font-family: var(--mono); font-weight: 700; color: var(--volt); font-size: 0.85rem; letter-spacing: 0.1em; }
.step h3 { font-size: 1.2rem; margin: 14px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Most-Wanted / Hall of Shame board ------------------------------------- */
.board { border: 1px solid var(--hair); border-radius: 20px; overflow: hidden; background: var(--panel); }
.board-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--hair); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.board-head .live { color: var(--volt); display: inline-flex; align-items: center; gap: 7px; }
.board-head .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt); animation: pulse 2s infinite; }
.wrow { --gc: var(--amber); position: relative; display: grid; grid-template-columns: 52px minmax(0,1fr) 62px 110px 124px; align-items: center; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--hair); transition: background 0.2s ease, box-shadow 0.2s ease; }
.wrow:hover { background: var(--panel-2); }
/* Stretched link: whole row navigates to the app's page, content stays selectable. */
.wrow .rowlink { position: absolute; inset: 0; z-index: 2; }
.wrow .rowlink:focus-visible { outline: 2px solid var(--volt); outline-offset: -2px; border-radius: 8px; }
.wrow .who, .wrow .grade, .wrow .amt { position: relative; z-index: 3; pointer-events: none; }
.wrow .who a { pointer-events: auto; }
.wrow .rank { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--muted-2); }
.wrow.podium { box-shadow: inset 3px 0 0 var(--gc); }
.wrow.podium .rank { color: var(--gc); }
/* A faint blush on the worst offenders so the eye lands on the reds. */
.wrow.grade-F { background: color-mix(in srgb, var(--blood) 5%, transparent); }
.wrow.grade-F:hover { background: color-mix(in srgb, var(--blood) 9%, transparent); }
.wrow.grade-D:hover { background: color-mix(in srgb, #ff9a4d 7%, transparent); }
.wrow .who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.appico { position: relative; width: 42px; height: 42px; flex: 0 0 auto; }
.appico .ph { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 10px; background: var(--panel-2); color: var(--muted); font-family: var(--display); font-weight: 800; font-size: 1.05rem; border: 1px solid var(--hair); }
.appico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--hair); transition: transform 0.2s ease; }
.wrow:hover .appico img { transform: scale(1.06); }
.wrow .who .txt { min-width: 0; }
.wrow .who .nm { font-weight: 700; font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wrow .who .pk { font-family: var(--mono); font-size: 0.7rem; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wrow .who .meta { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wrow .who .meta b { color: var(--text); font-weight: 700; }
/* Per-grade accent colour, reused by the badge, bar and podium stripe. */
.grade-A { --gc: var(--volt); }
.grade-B { --gc: var(--volt-deep); }
.grade-C { --gc: var(--amber); }
.grade-D { --gc: #ff9a4d; }
.grade-F { --gc: var(--blood); }
/* Drain grade chip — the headline severity letter + numeric score, as a
   tinted badge in the grade's own colour. */
.wrow .grade { justify-self: center; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; border: 1px solid color-mix(in srgb, var(--gc) 45%, var(--hair)); background: color-mix(in srgb, var(--gc) 13%, transparent); }
.wrow .grade .g { font-family: var(--display); font-weight: 800; font-size: 1.45rem; line-height: 1; color: var(--gc); }
.wrow .grade .sc { font-family: var(--mono); font-size: 0.56rem; color: var(--muted-2); letter-spacing: 0.06em; margin-top: 1px; }
.wrow .bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; }
.wrow .bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, color-mix(in srgb, var(--gc) 50%, #fff0), var(--gc)); box-shadow: 0 0 10px -2px var(--gc); }
.wrow .amt { text-align: right; }
.wrow .amt b { font-family: var(--mono); font-weight: 700; color: var(--gc); font-size: 1.05rem; }
.wrow .amt > span { display: block; font-family: var(--mono); font-size: 0.62rem; color: var(--muted-2); letter-spacing: 0.05em; }
.wrow .amt .sub { display: inline-block; color: var(--amber); margin-top: 5px; padding: 2px 7px; border-radius: 999px; background: color-mix(in srgb, var(--amber) 12%, transparent); font-size: 0.58rem; }
@media (max-width: 640px) {
  .wrow { grid-template-columns: 34px minmax(0,1fr) 46px auto; gap: 12px; }
  .wrow .bar { display: none; }
  .wrow .grade { width: 42px; height: 42px; border-radius: 11px; }
  .wrow .grade .g { font-size: 1.3rem; }
  .wrow .grade .sc { display: none; }
}
.board-state { padding: 52px 22px; text-align: center; color: var(--muted); }

/* FAQ -------------------------------------------------------------------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--hair); padding: 6px 4px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--volt); font-weight: 700; transition: transform 0.2s ease; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 18px; max-width: 64ch; }

/* Final CTA -------------------------------------------------------------- */
.cta-band { position: relative; text-align: center; border: 1px solid var(--hair-volt); border-radius: 26px; padding: 70px 28px; overflow: hidden; background: radial-gradient(120% 140% at 50% -20%, rgba(198,249,90,0.14), transparent 60%); }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 14px 0 12px; }
.cta-band p { color: var(--muted); margin: 0 0 28px; font-size: 1.08rem; }

/* Footer ----------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--hair); padding: 44px 0; margin-top: 40px; color: var(--muted); font-family: var(--mono); font-size: 0.8rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-weight: 500; letter-spacing: 0.04em; }
.footer-links a:hover { color: var(--volt); text-decoration: none; }

/* Prose (privacy) -------------------------------------------------------- */
.prose { max-width: 760px; margin: 0 auto; padding: 64px 0; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 0 0 10px; }
.prose .updated { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--muted-2); text-transform: uppercase; margin: 0 0 36px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.12rem; margin: 24px 0 6px; font-family: var(--display); }
.prose p, .prose li { color: #cdd6c8; }
.prose ul { padding-left: 20px; }
.prose li { margin: 7px 0; }
.prose a { font-weight: 600; }
.prose .callout { background: var(--panel); border: 1px solid var(--hair); border-left: 3px solid var(--volt); border-radius: 12px; padding: 18px 20px; margin: 22px 0; }

/* Reveal animation ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); animation: fadeup 0.8s var(--ease) forwards; }
@keyframes fadeup { to { opacity: 1; transform: none; } }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.16s; } .d3 { animation-delay: 0.24s; }
.d4 { animation-delay: 0.32s; } .d5 { animation-delay: 0.40s; } .d6 { animation-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Screenshot gallery — phones in evidence frames ------------------------- */
.shots { display: flex; gap: 26px; overflow-x: auto; justify-content: flex-start; padding: 6px 4px 28px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
@media (min-width: 1040px) { .shots { justify-content: center; overflow: visible; flex-wrap: nowrap; } }
.phone { flex: 0 0 auto; width: 232px; scroll-snap-align: center; }
.phone .frame { border-radius: 36px; padding: 9px; background: linear-gradient(160deg, #20271f, #0a0d0a); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 40px 70px -34px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.08); position: relative; }
.phone .frame::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 52px; height: 5px; border-radius: 99px; background: rgba(255,255,255,0.18); z-index: 2; }
.phone img { width: 100%; height: auto; display: block; border-radius: 28px; }
.phone figcaption { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--muted); text-align: center; margin-top: 14px; }
.phone:nth-child(odd) { transform: translateY(14px); }
@media (max-width: 1040px) { .phone:nth-child(odd) { transform: none; } }

/* Crafted line icons (replace emoji) ------------------------------------- */
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; display: block; }
.cell .ico { color: var(--volt); height: auto; margin: 12px 0 16px; }
.cell .ico .icon { width: 30px; height: 30px; }
.suspect-row .ava { color: var(--muted); }
.suspect-row .ava .icon { width: 20px; height: 20px; }
.step .stepico { color: var(--volt); margin-bottom: 14px; }
.step .stepico .icon { width: 26px; height: 26px; }

/* Official Google Play badge -------------------------------------------- */
.play-badge { display: inline-block; line-height: 0; transition: transform 0.18s var(--ease), filter 0.2s ease; }
.play-badge:hover { transform: translateY(-2px); text-decoration: none; filter: brightness(1.06); }
.play-badge img { height: 56px; width: auto; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--volt); color: #0a1400; padding: 10px 14px; border-radius: 8px; z-index: 100; }

/* Board search filter ----------------------------------------------------- */
.board-tools { padding: 12px 22px; border-bottom: 1px solid var(--hair); }
.board-filter { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--hair); border-radius: 10px; color: var(--text); font-family: var(--mono); font-size: 0.85rem; padding: 10px 14px; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.board-filter::placeholder { color: var(--muted-2); }
.board-filter:focus { border-color: var(--hair-volt); box-shadow: 0 0 0 3px rgba(198, 249, 90, 0.08); }

/* Grade legend under the board -------------------------------------------- */
.legend { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 16px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.legend .lg i { font-style: normal; font-family: var(--display); font-weight: 800; font-size: 0.9rem; color: var(--gc); margin-right: 6px; }

/* "Lineup" cross-link cards on per-app pages ------------------------------ */
.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 760px) { .lineup { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lineup { grid-template-columns: 1fr; } }
.lineup .card { --gc: var(--amber); display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--hair); border-radius: 14px; background: var(--panel); color: var(--text); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s ease; }
.lineup .card:hover { text-decoration: none; border-color: color-mix(in srgb, var(--gc) 40%, var(--hair)); transform: translateY(-2px); background: var(--panel-2); }
.lineup .txt { min-width: 0; display: flex; flex-direction: column; }
.lineup .nm { font-weight: 700; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lineup .md { font-family: var(--mono); font-size: 0.64rem; color: var(--muted-2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lineup .g { margin-left: auto; font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--gc); }
.appico.sm { width: 34px; height: 34px; }
.appico.sm .ph { font-size: 0.85rem; border-radius: 8px; }
.appico.sm img { border-radius: 8px; }

/* CTA badge + desktop QR block -------------------------------------------- */
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
.qr-wrap { display: none; }
@media (min-width: 860px) {
  .qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .qr-wrap img { width: 108px; height: 108px; border-radius: 14px; background: #fff; padding: 7px; box-shadow: 0 0 0 1px var(--hair), 0 18px 44px -22px rgba(0, 0, 0, 0.9); }
  .qr-wrap span { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
}
