/* Parekoy Labs store — direction A "split stage" (taste skill, seed 1330795242), approved by Je 2026-11-30.
   One frame: content never runs past 1240px and keeps wide side margins at every width. */
@font-face { font-family: Chillax; src: url('fonts/chillax-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Chillax; src: url('fonts/chillax-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Chillax; src: url('fonts/chillax-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --bg: #f3f4f6; --paper: #ffffff; --step: #e8eaee; --ink: #0b0d10; --ink-2: #1b1f25; --muted: #4a525e;
  --on-dark: #f3f5f7; --on-dark-muted: #b7bec8;
  --yellow: #ffd400; --teal: #1aa697;
  --accent: var(--ink); --accent-ink: #ffffff;           /* store default: black action */
  --wrap: 1240px; --gutter: clamp(24px, 5vw, 64px);
  --gap-sec: clamp(112px, 12vw, 176px);
  --r: 28px;
  --t-display: clamp(40px, 4.6vw, 66px); --t-head: clamp(32px, 3.3vw, 50px); --t-title: clamp(24px, 2vw, 30px);
  --t-body: 18px; --t-small: 15px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
.tt { --accent: var(--yellow); --accent-ink: var(--ink); }  /* TrueTrace: the icon's yellow */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-body)/1.55 Chillax, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ol, ul, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Buttons: one shape, fully round */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap; background: var(--ink); color: #fff; border: 0; cursor: pointer; transition: transform 160ms var(--ease), background-color 160ms; }
.btn:hover { transform: translateY(-2px); } .btn:active { transform: translateY(0) scale(0.98); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.small { height: 42px; padding: 0 18px; font-size: 15px; }
.link { font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.link:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* Store bar (every page) */
.store { background: var(--ink); color: var(--on-dark); font-size: var(--t-small); }
.store .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 56px; }
.store .mark { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; text-decoration: none; }
.store .mark img { width: 28px; height: 28px; }
.store nav { display: flex; gap: 28px; } .store nav a { text-decoration: none; color: var(--on-dark-muted); transition: color 160ms; } .store nav a:hover, .store nav a[aria-current] { color: #fff; }
/* Product bar (product pages), stays under the top while you scroll */
.prodbar { position: sticky; top: 0; z-index: 20; background: var(--bg); transition: background-color 200ms; }
.prodbar.scrolled { background: var(--paper); }
.prodbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.prodbar .name { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 22px; text-decoration: none; }
.prodbar .name img { width: 38px; height: 38px; border-radius: 10px; }
.prodbar nav { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.prodbar nav a:not(.btn) { text-decoration: none; color: var(--muted); } .prodbar nav a:not(.btn):hover { color: var(--ink); }

/* Sections */
.sec { padding-top: var(--gap-sec); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.sec-head h2 { font-size: var(--t-head); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; }
.sec-head p { color: var(--muted); max-width: 46ch; }
.sec-head.solo { grid-template-columns: minmax(0, 1fr); } .sec-head.solo p { margin-top: -8px; }

/* Hero (product) */
.hero { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 64px; align-items: end; padding-top: clamp(32px, 4vw, 64px); }
.hero .shot { grid-column: 1 / -1; margin-top: 32px; }
.hero .side .lead { margin-top: 0; }
.hero .side .acts { margin-top: 28px; }
.hero h1 { font-size: var(--t-display); line-height: 1; letter-spacing: -0.035em; font-weight: 600; }
.hero .lead { margin-top: 28px; font-size: 21px; max-width: 32ch; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .facts { grid-column: 1 / -1; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.hero .facts li { background: var(--paper); border-radius: 999px; padding: 8px 16px; font-size: var(--t-small); }
.shot { position: relative; }
.shot img { border-radius: 24px; width: 100%; }
.chip { position: absolute; display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; border-radius: 20px; padding: 14px 20px 14px 16px; }
.chip b { font-size: 40px; line-height: 1; letter-spacing: -0.02em; color: var(--yellow); font-variant-numeric: tabular-nums; min-width: 2.2ch; }
.chip span { font-size: var(--t-small); line-height: 1.35; color: var(--on-dark-muted); } .chip span strong { color: #fff; font-weight: 600; }
.hero .chip { right: 32px; bottom: 32px; }
.shot .pointer { position: absolute; width: 22%; height: 15%; border: 3px solid var(--yellow); border-radius: 16px; }
.trust { margin-top: 28px; font-size: var(--t-small); color: var(--muted); }

/* Feature rows: text and a big phone screen, sides alternate */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 9vw, 128px); }
.feature:nth-child(even) .text { order: 2; }
.feature h3 { font-size: var(--t-title); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.feature .text p { margin-top: 16px; max-width: 42ch; }
.feature ul { margin-top: 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { padding-left: 28px; position: relative; } .feature li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 7px; border-radius: 99px; background: var(--accent); }
.feature .phone img { max-height: 660px; object-fit: contain; object-position: top; }
.feature .note { margin-top: 18px; font-size: var(--t-small); color: var(--muted); }
.stagebox { background: var(--step); border-radius: var(--r); padding: clamp(32px, 4vw, 56px); display: grid; place-items: center; }
.phone { width: min(380px, 100%); border-radius: 34px; overflow: hidden; background: #0b0d10; }
.phone img { width: 100%; }
.wide-shot { width: 100%; border-radius: 18px; }
/* Accuracy check: three bars on one 0–185 FPS scale (the screen's top refresh rate) */
.vs { width: 100%; display: grid; gap: 28px; }
.vs-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 16px; }
.vs-row > span:first-child { font-weight: 600; }
.vs-row b { font-size: clamp(26px, 2.4vw, 32px); line-height: 1; letter-spacing: -0.02em; font-weight: 600; font-variant-numeric: tabular-nums; }
.vs-bar { grid-column: 1 / -1; height: 20px; border-radius: 99px; background: var(--paper); overflow: hidden; }
.vs-bar i { display: block; height: 100%; width: calc(var(--v) / 185 * 100%); border-radius: inherit; background: var(--ink); transform-origin: left; }
.vs-row.tt .vs-bar i { background: var(--yellow); }
.vs-row.other .vs-bar i { background: #9aa1ab; }
.vs-row.other b, .vs-row.other > span:first-child { color: var(--muted); }
.vs figcaption { font-size: var(--t-small); color: var(--muted); }
.js .vs-bar i { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) .25s; }
.js .in .vs-bar i { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .js .vs-bar i { transform: none; transition: none; } }
.tag-pro { display: inline-block; background: var(--ink); color: var(--yellow); font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; vertical-align: 0.2em; margin-left: 8px; }

/* Pro band */
.band { background: var(--ink); color: var(--on-dark); border-radius: 36px; padding: clamp(40px, 6vw, 88px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.band h2 { font-size: var(--t-head); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; }
.band .lead { margin-top: 20px; color: var(--on-dark-muted); max-width: 40ch; }
.band ul { margin-top: 28px; padding: 0; list-style: none; display: grid; gap: 12px; }
.band li { padding-left: 28px; position: relative; } .band li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 7px; border-radius: 99px; background: var(--yellow); }
.band .pics { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: end; }
.band .ui-screen, .band .ui-result { width: 100%; }
.band .cap { margin-top: 10px; font-size: var(--t-small); color: var(--on-dark-muted); }

/* Price */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { background: var(--paper); border-radius: var(--r); padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; transition: transform 200ms var(--ease); }
.plan:hover { transform: translateY(-4px); }
.plan.pro { background: var(--ink); color: #fff; }
.plan h3 { font-size: var(--t-title); font-weight: 600; }
.plan .amt { margin-top: 8px; font-size: clamp(64px, 7vw, 96px); line-height: 1; letter-spacing: -0.045em; font-weight: 600; }
.plan .amt small { font-size: 18px; letter-spacing: 0; font-weight: 500; margin-left: 8px; }
.plan .for { margin-top: 12px; color: var(--muted); } .plan.pro .for { color: var(--on-dark-muted); }
.plan ul { margin-top: 28px; padding: 0; list-style: none; display: grid; gap: 12px; flex: 1; }
.plan li { padding-left: 28px; position: relative; } .plan li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 7px; border-radius: 99px; background: var(--muted); }
.plan.pro li::before { background: var(--yellow); }
.plan .btn { margin-top: 40px; align-self: flex-start; } .plan.pro .btn { background: var(--yellow); color: var(--ink); }

/* Steps with a phone that stays */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.steps > ol { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 24px; }
.steps > ol > li { counter-increment: s; background: var(--paper); border-radius: var(--r); padding: clamp(32px, 3.6vw, 48px); min-height: 46svh; display: flex; flex-direction: column; justify-content: center; }
.steps > ol > li::before { content: counter(s); width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 26px; font-weight: 600; margin-bottom: 24px; }
.steps h3 { font-size: var(--t-title); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.steps > ol > li p { margin-top: 12px; max-width: 40ch; }
.steps .time { color: var(--muted); font-size: var(--t-small); }
.steps .link { margin-top: 20px; }
.steps .inline { display: none; }
.stage { position: sticky; top: 96px; height: calc(100svh - 120px); min-height: 560px; background: var(--step); border-radius: var(--r); display: grid; place-items: center; overflow: hidden; }
.stage figure { grid-area: 1 / 1; width: min(360px, 74%); opacity: 0; transform: translateY(16px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
.stage figure.on { opacity: 1; transform: none; }
.stage figure .phone { width: 100%; }
.stage figcaption { margin-top: 14px; text-align: center; font-size: var(--t-small); color: var(--muted); }

/* Tested phones */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0; list-style: none; }
.phones li { background: var(--paper); border-radius: 20px; padding: 22px 24px; }
.phones b { display: block; font-size: 20px; font-weight: 600; } .phones span { color: var(--muted); font-size: var(--t-small); }

/* Buy */
.buy { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.buy ol { list-style: none; padding: 0; counter-reset: b; display: grid; gap: 12px; }
.buy ol li { counter-increment: b; background: var(--paper); border-radius: 22px; padding: 24px 28px 24px 84px; position: relative; }
.buy ol li::before { content: counter(b); position: absolute; left: 24px; top: 22px; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 600; }
.buy ol b { display: block; font-size: 20px; font-weight: 600; }
.buy .card { background: var(--ink); color: #fff; border-radius: var(--r); padding: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; }
.buy .card h3 { font-size: var(--t-title); font-weight: 600; }
.buy .card p { margin-top: 12px; color: var(--on-dark-muted); }
.buy .card label { margin-top: 24px; font-size: var(--t-small); color: var(--on-dark-muted); }
.buy .card input { margin-top: 8px; height: 56px; border-radius: 16px; border: 0; background: var(--ink-2); color: #fff; font: inherit; padding: 0 18px; }
.buy .card pre { margin: 24px 0 0; background: var(--ink-2); border-radius: 16px; padding: 18px; font: inherit; font-size: 16px; white-space: pre-wrap; }
.buy .card .acts { margin-top: 24px; }

/* FAQ: answers as reading text */
.faq { columns: 2; column-gap: 64px; }
.faq p { break-inside: avoid; margin-bottom: 24px; }
.faq b { font-weight: 600; }

/* Download */
.dl { background: var(--paper); border-radius: 36px; padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.dl h2 { font-size: var(--t-head); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; }
.dl .lead { margin-top: 16px; color: var(--muted); max-width: 40ch; }
.dl dl { display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; margin-top: 28px; }
.dl dt { color: var(--muted); } .dl dd { overflow-wrap: anywhere; } .dl .sum { font-size: var(--t-small); }
.dl .big { display: flex; align-items: center; gap: 20px; background: var(--yellow); border-radius: 28px; padding: 28px; text-decoration: none; transition: transform 200ms var(--ease); }
.dl .big:hover { transform: translateY(-4px); }
.dl .big img { width: 72px; height: 72px; border-radius: 18px; }
.dl .big b { display: block; font-size: 26px; } .dl .big span { font-size: var(--t-small); }

/* More from the store */
.more { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.prodcard { background: var(--paper); border-radius: var(--r); padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 16px; text-decoration: none; transition: transform 200ms var(--ease); }
a.prodcard:hover { transform: translateY(-4px); }
.prodcard .top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.prodcard .top img { width: 64px; height: 64px; border-radius: 16px; }
.prodcard h3 { font-size: var(--t-title); font-weight: 600; }
.prodcard .soon { background: var(--step); border-radius: 999px; padding: 4px 14px; font-size: var(--t-small); font-weight: 500; }
.prodcard p { color: var(--muted); }
.prodcard .price { margin-top: auto; font-weight: 600; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prodcard.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 7fr; gap: 24px 56px; align-items: center; }
.prodcard.wide .info { display: flex; flex-direction: column; gap: 16px; }
.prodcard.wide .info .price { margin-top: 8px; }
@media (max-width: 1080px) { .prodcard.wide { grid-template-columns: minmax(0, 1fr); } }
.trio .phone { width: 100%; border-radius: 18px; }

/* Footer */
.foot { margin-top: var(--gap-sec); background: var(--ink); color: var(--on-dark); padding: 72px 0 40px; }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot .mark { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 600; }
.foot .mark img { width: 36px; height: 36px; }
.foot .about { margin-top: 16px; color: var(--on-dark-muted); max-width: 34ch; font-size: 16px; }
.foot h3 { font-size: var(--t-small); font-weight: 600; color: #fff; }
.foot ul { margin-top: 14px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 16px; }
.foot ul a { color: var(--on-dark-muted); text-decoration: none; } .foot ul a:hover { color: #fff; }
.foot .last { margin-top: 64px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--on-dark-muted); font-size: var(--t-small); }

/* Store home */
.home-hero { padding-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.home-hero h1 { font-size: var(--t-display); line-height: 1; letter-spacing: -0.035em; font-weight: 600; }
.home-hero .lead { margin-top: 28px; font-size: 21px; max-width: 36ch; }
.feat { background: var(--ink); color: #fff; border-radius: 36px; padding: 28px; display: grid; gap: 20px; text-decoration: none; transition: transform 220ms var(--ease); }
a.feat:hover { transform: translateY(-4px); }
.feat .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 4px 8px 0; }
.feat .row div { display: flex; align-items: center; gap: 14px; }
.feat .row img { width: 52px; height: 52px; border-radius: 14px; }
.feat b { font-size: 24px; } .feat small { display: block; color: var(--on-dark-muted); font-size: var(--t-small); }
.feat .shot img { border-radius: 20px; }
.feat .price { background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 16px; white-space: nowrap; }
.store-buy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0; list-style: none; counter-reset: h; }
.store-buy li { counter-increment: h; background: var(--paper); border-radius: var(--r); padding: 36px; }
.store-buy li::before { content: counter(h); width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 20px; margin-bottom: 20px; }
.store-buy b { display: block; font-size: var(--t-title); line-height: 1.15; font-weight: 600; }
.store-buy p { margin-top: 10px; color: var(--muted); }
.safe { background: var(--paper); border-radius: 36px; padding: clamp(24px, 5vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.safe h2 { font-size: var(--t-head); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; }
.safe ul { padding: 0; list-style: none; display: grid; gap: 18px; }
.safe li { padding-left: 32px; position: relative; } .safe li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 16px; height: 8px; border-radius: 99px; background: var(--teal); }
.maker { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.maker h2 { font-size: var(--t-head); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; }
.maker p { margin-top: 20px; max-width: 44ch; }
.maker .acts { margin-top: 28px; }
.maker .yt { background: var(--ink); border-radius: var(--r); aspect-ratio: 16 / 9; display: grid; place-items: center; color: var(--on-dark-muted); text-align: center; padding: 24px; }

/* Entrances: content is visible without script; with it, parts rise in once */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .plan, .prodcard, .feat, .dl .big, .stage figure { transition: none; }
}

/* Tablet */
@media (max-width: 1080px) {
  .hero, .home-hero { grid-template-columns: minmax(0, 1fr); } .hero .chip { right: 16px; }
  .band, .dl, .safe, .maker { grid-template-columns: minmax(0, 1fr); }
  .phones { grid-template-columns: 1fr 1fr; }
}
/* Phone */
@media (max-width: 760px) {
  :root { --t-body: 17px; }
  .store .wrap > nav { display: none; }
  .prodbar .wrap > nav a:not(.btn) { display: none; } .prodbar .wrap { height: 64px; } .prodbar .name { font-size: 19px; } .prodbar .name img { width: 32px; height: 32px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 36px; }
  .hero { gap: 40px; } .hero .lead, .home-hero .lead { font-size: 19px; }
  .acts .btn { flex: 1 1 100%; }
  .hero .chip { right: 12px; bottom: -24px; padding: 10px 14px; } .chip b { font-size: 30px; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 32px; } .feature:nth-child(even) .text { order: 0; }
  .stagebox { padding: 28px 20px; }
  .band { border-radius: 28px; padding: 36px 24px; } .band .pics { grid-template-columns: minmax(0, 1fr); }
  .plans, .buy, .more, .store-buy { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); } .stage { display: none; } .steps > ol > li { min-height: 0; }
  .steps .inline { display: block; margin-top: 24px; width: min(300px, 100%); }
  .phones { grid-template-columns: minmax(0, 1fr); }
  .faq { columns: 1; }
  .dl { border-radius: 28px; padding: 32px 24px; } .dl dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .dl dd { margin-bottom: 10px; }
  .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > div:first-child { grid-column: 1 / -1; }
}

/* ---------- Added for the real pages ---------- */
.skip { position: absolute; left: 12px; top: -60px; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; z-index: 50; }
.skip:focus { top: 12px; }
.hero h1 { max-width: 14ch; }
code { font-family: ui-monospace, Consolas, monospace; font-size: 0.92em; }

/* Everything in TrueTrace: a real table, Free and Pro side by side */
.ftable-wrap { background: var(--paper); border-radius: var(--r); padding: clamp(8px, 2vw, 24px) clamp(16px, 3vw, 40px); }
.ftable { width: 100%; border-collapse: collapse; }
.ftable th, .ftable td { text-align: left; padding: 16px 12px; vertical-align: top; }
.ftable thead th { font-size: var(--t-small); color: var(--muted); font-weight: 500; }
.ftable thead th.c, .ftable td.c { text-align: center; width: 18%; }
.ftable tbody tr + tr td, .ftable tbody tr + tr th { border-top: 1px solid var(--step); }
.ftable tbody th { font-weight: 600; }
.ftable tbody th span { display: block; font-weight: 400; color: var(--muted); font-size: var(--t-small); margin-top: 2px; }
.ftable tr.group th { padding-top: 32px; font-size: var(--t-title); letter-spacing: -0.02em; }
.ftable tr.group th, .ftable tr.group + tr th, .ftable tr.group + tr td { border-top: 0; }
.yes { display: inline-block; width: 26px; height: 13px; border-radius: 99px; background: var(--teal); }
.yes.pro { background: var(--yellow); }
.part { font-size: var(--t-small); color: var(--muted); }
.no { color: var(--muted); }

/* Pro band with a real screenshot */
.band .phone { width: 100%; }
.band .phone img { max-height: 640px; object-fit: cover; object-position: top; }

/* Messages, copy and warnings */
.buy .card input.warn { box-shadow: inset 0 0 0 2px #f0605d; }
.buy .card .hint { margin-top: 14px; font-size: var(--t-small); color: var(--on-dark-muted); }
.buy .card .hint.warn { color: #ff9b98; }
.more-link { display: inline-block; margin-top: 28px; }

/* Download and check */
.dl .check { margin-top: 28px; background: var(--bg); border-radius: 22px; padding: 22px 24px; }
.dl .check h3 { font-size: 20px; font-weight: 600; }
.dl .check p { margin-top: 8px; font-size: 16px; color: var(--muted); }
.dl .check pre { margin: 12px 0 0; white-space: pre-wrap; word-break: break-all; font-size: 15px; }

/* ---------- Guide page ---------- */
.g-hero { padding-top: clamp(40px, 5vw, 80px); display: grid; grid-template-columns: 7fr 5fr; gap: 24px 64px; align-items: end; }
.g-hero h1 { font-size: var(--t-display); line-height: 1; letter-spacing: -0.035em; font-weight: 600; }
.g-hero .lead { font-size: 20px; }
.toc { grid-column: 1 / -1; margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.toc a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--paper); text-decoration: none; font-weight: 500; transition: background-color 160ms; }
.toc a:hover { background: var(--step); }
.picker { position: sticky; top: 72px; z-index: 15; background: var(--bg); padding: 16px 0; margin-top: 40px; }
.picker .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.picker p { font-weight: 600; margin-right: 8px; }
.picker button { font: inherit; font-size: 16px; font-weight: 500; height: 46px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; transition: background-color 160ms, transform 160ms var(--ease); }
.picker button:hover { transform: translateY(-2px); }
.picker button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chapter { padding-top: clamp(88px, 9vw, 136px); }
.chapter > header { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 64px; align-items: end; margin-bottom: 40px; }
.chapter > header h2 { font-size: var(--t-head); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; }
.chapter > header p { color: var(--muted); max-width: 46ch; }
.gsteps { list-style: none; padding: 0; counter-reset: g; display: grid; gap: 20px; }
.gsteps > li { counter-increment: g; background: var(--paper); border-radius: var(--r); padding: clamp(24px, 3vw, 44px); display: grid; grid-template-columns: 5fr 7fr; gap: 24px 48px; align-items: start; }
.gsteps > li > .say { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 18px; align-content: start; }
.gsteps > li > .say::before { content: counter(g); grid-row: span 8; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 22px; font-weight: 600; }
.gsteps h3 { font-size: clamp(22px, 1.8vw, 27px); line-height: 1.15; letter-spacing: -0.015em; font-weight: 600; }
.gsteps .say > p, .gsteps .say > ul, .gsteps .say > div { margin-top: 8px; }
.gsteps ul { padding-left: 1.2em; display: grid; gap: 6px; }
.gsteps b { font-weight: 600; }
.gsteps .tip { margin-top: 12px; background: var(--bg); border-radius: 16px; padding: 12px 16px; font-size: 16px; }
.gsteps .pics { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-items: start; }
.gsteps .pics.one { grid-template-columns: minmax(0, 340px); justify-content: center; }
.gsteps figure img { border-radius: 22px; background: var(--step); width: 100%; }
.gsteps .phone-shot img { max-height: 620px; object-fit: cover; object-position: top; }
.gsteps figcaption { margin-top: 8px; font-size: var(--t-small); color: var(--muted); }
.brandnote { display: inline-block; margin-top: 10px; font-size: var(--t-small); font-weight: 600; background: var(--step); border-radius: 999px; padding: 3px 12px; }
.nopic { background: var(--bg); border-radius: 22px; padding: 28px; color: var(--muted); }
/* Brand picker: with script, only the chosen phone's parts show. Without it, everything shows, labelled. */
.js body[data-brand="xiaomi"] [data-brand]:not([data-brand~="xiaomi"]),
.js body[data-brand="tecno"] [data-brand]:not([data-brand~="tecno"]),
.js body[data-brand="realme"] [data-brand]:not([data-brand~="realme"]),
.js body[data-brand="redmagic"] [data-brand]:not([data-brand~="redmagic"]),
.js body[data-brand="other"] [data-brand]:not([data-brand~="other"]) { display: none; }
.js [data-brand] .brandnote { display: none; }

/* ---------- Policies and 404 ---------- */
.doc-hero { padding-top: clamp(40px, 5vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: start; }
.doc-hero h1 { font-size: var(--t-display); line-height: 1; letter-spacing: -0.035em; font-weight: 600; }
.doc-hero .lead { margin-top: 24px; font-size: 20px; max-width: 34ch; }
.short { background: var(--paper); border-radius: var(--r); padding: clamp(28px, 3vw, 40px); }
.short h2 { font-size: var(--t-title); font-weight: 600; }
.short ul, .doc-sec ul { margin-top: 16px; padding: 0; list-style: none; display: grid; gap: 12px; }
.short li, .doc-sec li { padding-left: 28px; position: relative; }
.short li::before, .doc-sec li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 7px; border-radius: 99px; background: var(--teal); }
.doc-sec { padding-top: clamp(72px, 7vw, 112px); display: grid; grid-template-columns: 4fr 8fr; gap: 24px 64px; }
.doc-sec h2 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.doc-sec .body { display: grid; gap: 16px; max-width: 64ch; }
.doc-sec .updated { color: var(--muted); font-size: var(--t-small); }
.nf { min-height: 60svh; display: grid; place-content: center; text-align: center; gap: 20px; padding-block: 80px; }
.nf h1 { font-size: var(--t-display); line-height: 1; letter-spacing: -0.035em; font-weight: 600; }
.nf .acts { justify-content: center; }

@media (max-width: 1080px) {
  .g-hero, .doc-hero { grid-template-columns: minmax(0, 1fr); }
  .gsteps > li { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .picker { top: 64px; padding: 12px 0; } .picker p { width: 100%; }
  .picker button { height: 42px; padding: 0 14px; font-size: 15px; }
  .chapter > header { grid-template-columns: minmax(0, 1fr); }
  .gsteps > li { padding: 24px 20px; }
  .gsteps > li > .say { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; }
  .gsteps > li > .say::before { width: 44px; height: 44px; font-size: 19px; }
  .gsteps .pics { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gsteps .pics.one { grid-template-columns: minmax(0, 300px); }
  .ftable thead th.c, .ftable td.c { width: 22%; } .ftable th, .ftable td { padding: 14px 6px; }
  .doc-sec { grid-template-columns: minmax(0, 1fr); }
}

/* Home: follow links beside the maker block */
.follow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.follow .prodcard { gap: 8px; }
@media (max-width: 760px) { .follow { grid-template-columns: minmax(0, 1fr); } }
.nf .lead { font-size: 20px; max-width: 44ch; margin-inline: auto; }
@media (max-width: 760px) {
  .feat { padding: 16px; border-radius: 28px; } .feat .row { padding: 4px 4px 0; } .feat .price { font-size: 15px; }
  .safe { border-radius: 28px; }
  .sec-head h2, .safe h2, .maker h2, .band h2, .dl h2, .chapter > header h2 { overflow-wrap: anywhere; }
}
/* Lists set as grids shrink with the screen; long addresses break instead of pushing out */
.safe ul, .feature ul, .band ul, .plan ul, .buy ol, .short ul, .doc-sec ul, .gsteps ul, .faq p, .safe li { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.link, .safe li, .faq p, .doc-sec p, .doc-sec li, .gsteps p, .gsteps li { overflow-wrap: anywhere; }
/* Small phones (Galaxy Fold cover, 320px phones) */
@media (max-width: 400px) {
  :root { --gutter: 18px; }
  .btn { white-space: normal; height: auto; min-height: 52px; padding: 12px 20px; text-align: center; line-height: 1.25; }
  .btn.small { min-height: 40px; padding: 8px 14px; font-size: 14px; }
  .prodbar .name { font-size: 17px; gap: 8px; } .prodbar .name img { width: 28px; height: 28px; }
  .store .mark { font-size: 16px; }
  .plan .amt { font-size: clamp(48px, 17vw, 64px); display: flex; flex-wrap: wrap; align-items: baseline; }
  .ftable-wrap { padding: 4px 10px; }
  .ftable { table-layout: fixed; font-size: 15px; }
  .ftable th, .ftable td { padding: 12px 4px; overflow-wrap: anywhere; }
  .ftable thead th.c, .ftable td.c { width: 25%; }
  .ftable tr.group th { font-size: 20px; }
  .dl .big { padding: 18px; gap: 14px; } .dl .big img { width: 48px; height: 48px; } .dl .big b { font-size: 21px; }
}
/* Phones: the picker scrolls away (you pick once), and each guide picture gets the full width to be readable */
@media (max-width: 760px) {
  .picker { position: static; margin-top: 32px; }
  .gsteps .pics, .gsteps .pics.one { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .gsteps .pics figure { width: 100%; max-width: 320px; }
  .gsteps .pics .nopic { width: 100%; }
}
.ui-result .ui-foot { gap: 12px; }

/* ---------- Phone layout v2 (2026-12-01): menu, buy bar, swipe rows, tap-to-open FAQ ---------- */
/* FAQ: questions open on tap, at every width */
.faq details { break-inside: avoid; background: var(--paper); border-radius: 20px; margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: center; padding: 20px 24px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 28px; height: 28px; border-radius: 50%; background: var(--step); display: grid; place-items: center; font-size: 20px; line-height: 1; transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; }
/* Menu button: phones only */
.menu { display: none; }
.store .wrap, .prodbar .wrap { position: relative; }
.menu summary { list-style: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--paper); }
.store .menu summary { background: var(--ink-2); }
.menu summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 200ms var(--ease), opacity 200ms; }
.burger { position: relative; } .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.store .burger, .store .burger::before, .store .burger::after { background: #fff; }
.menu[open] .burger { background: transparent; } .menu[open] .burger::before { transform: translateY(6px) rotate(45deg); } .menu[open] .burger::after { transform: translateY(-6px) rotate(-45deg); }
details.menu .menu-panel { position: absolute; right: var(--gutter); top: calc(100% + 4px); width: min(220px, calc(100vw - 2 * var(--gutter))); background: var(--ink); border-radius: 16px; padding: 6px; display: grid; gap: 0; font-size: 15px; z-index: 40; outline: 4px solid var(--bg); }
details.menu .menu-panel a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; }
details.menu .menu-panel a:hover, details.menu .menu-panel a[aria-current] { background: var(--ink-2); color: #fff; } /* beats the product bar's dark hover text */
.menu-panel hr { border: 0; height: 1px; margin: 4px 12px; background: #2a2f37; }
/* Buy bar: phones only */
.buybar { display: none; }
/* Swipe rows: phones only (on wider screens these stay grids) */
.dots { display: none; }

@media (max-width: 760px) {
  :root { --gap-sec: 84px; }
  .store .wrap > nav, .prodbar .wrap > nav { display: none; }
  .menu { display: block; }
  .store .wrap { height: 56px; }
  .sec-head { margin-bottom: 28px; }
  .feature + .feature { margin-top: 64px; }
  .feature { gap: 24px; }
  .stagebox { padding: 20px; }
  .feature .phone { width: min(290px, 100%); }
  .feature .phone img { max-height: 470px; }
  .chapter { padding-top: 72px; } .chapter > header { margin-bottom: 24px; }
  .gsteps { gap: 14px; }
  .faq details { margin-bottom: 10px; } .faq summary { padding: 18px 20px; } .faq details p { padding: 0 20px 20px; }

  .buybar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--ink); transition: transform 320ms var(--ease); }
  .buybar .btn { flex: 1 1 0; min-width: 0; height: 50px; padding: 0 12px; font-size: 16px; }
  .buybar .btn:not(.primary) { background: #fff; color: var(--ink); }
  .js .buybar:not(.show) { transform: translateY(110%); }
  body:has(.buybar) .foot { padding-bottom: 120px; }

  .swipe { display: flex !important; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; position: relative; align-items: start; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 min(80%, 300px); scroll-snap-align: center; min-width: 0; }
  .swipe.single { justify-content: center; }
  .gsteps .pics.swipe { margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; }
  .gsteps .pics.swipe figure { max-width: none; }
  .gsteps .pics.swipe > .nopic { flex-basis: 100%; }
  .band .pics.swipe { margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; align-items: end; }
  .band .pics.swipe > * { flex-basis: 84%; }
  .trio.swipe { margin-inline: -28px; padding-inline: 28px; scroll-padding-inline: 28px; }
  .trio.swipe > * { flex-basis: 58%; }
  .steps > ol.swipe { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); gap: 12px; align-items: stretch; }
  .steps > ol.swipe > li { flex-basis: min(86%, 340px); justify-content: flex-start; }
  .steps .inline { width: 100%; }
  .steps .inline img { max-height: 420px; object-fit: cover; object-position: top; }
  .dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .dots:empty { display: none; }
  .dots i { width: 8px; height: 8px; border-radius: 99px; background: #c4c9d1; transition: width 220ms var(--ease), background-color 220ms; }
  .dots i.on { width: 22px; background: var(--ink); }
  .band .dots i { background: #4a525e; } .band .dots i.on { background: var(--yellow); }
}
@media (max-width: 400px) {
  .ftable td.c, .ftable th.c { overflow-wrap: normal; word-break: normal; hyphens: auto; }
  .ftable .part { font-size: 13px; }
  .buybar .btn { font-size: 15px; min-height: 48px; height: auto; }
}
@media (max-width: 760px) {
  .store-buy { gap: 12px; } .store-buy li { padding: 24px; } .store-buy li::before { width: 40px; height: 40px; font-size: 18px; margin-bottom: 14px; }
  .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .phones li { padding: 16px 18px; border-radius: 18px; } .phones b { font-size: 17px; line-height: 1.25; }
}

/* ---------- v3 (2026-12-01, approved from the design/v3 mockup): a plain Android phone frame around every
   full-screen screenshot, bigger whole phones, and the "guide" links as real buttons ---------- */

/* The frame: thin black bezel, rounded corners, a punch-hole camera at the top */
.phone, .device { position: relative; width: min(400px, 100%); background: #0b0d10; border-radius: 46px; padding: 10px; outline: 2px solid #3a404a; outline-offset: -1px; overflow: visible; }
.phone img, .device img { display: block; width: 100%; height: auto; aspect-ratio: 720 / 1565; object-fit: contain; object-position: top; border-radius: 36px; background: #0b0d10; max-height: none; }
.phone::after, .device::after { content: ""; position: absolute; top: 22px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #000; outline: 2px solid #1b1f25; }

/* Features: the phone fills its grey box, whole and uncut */
.feature .phone img { max-height: none; }
.feature .stagebox { padding: clamp(28px, 3vw, 40px); }
/* Setup steps (desktop): the phone fits the sticky stage's height */
.stage figure { width: min(360px, 74%, calc((100svh - 230px) * 720 / 1565)); }
/* Pro band: the drawn report becomes a phone too */
.band .ui-screen { border-radius: 40px; outline: 10px solid #0b0d10; box-shadow: 0 0 0 12px #3a404a; }

/* Guide pictures: medium phones */
.gsteps .pics .device { width: 100%; border-radius: 38px; padding: 8px; }
.gsteps .pics .device img { border-radius: 30px; }
.gsteps .pics .device::after { top: 17px; width: 9px; height: 9px; margin-left: -4.5px; }
.gsteps .pics figure > img { border-radius: 18px; }   /* crops (notifications, dialogs) stay as cards */

/* Home: three small phones */
.trio .phone { border-radius: 22px; padding: 5px; outline-width: 1.5px; }
.trio .phone img { border-radius: 17px; }
.trio .phone::after { top: 10px; width: 6px; height: 6px; margin-left: -3px; outline-width: 1px; }

/* Guide links become buttons */
.btn.guide { height: auto; min-height: 50px; padding: 12px 24px; line-height: 1.25; white-space: normal; text-align: left; font-size: 16px; margin-top: 24px; align-self: flex-start; }
@media (min-width: 761px) { .buy { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.btn.guide::after { content: "→"; font-size: 18px; line-height: 1; }

@media (max-width: 760px) {
  .feature .phone { width: min(290px, 82%); }
  .steps .inline { width: min(280px, 100%); margin-inline: auto; }
  .gsteps .pics .device { border-radius: 34px; }
  .btn.guide { width: 100%; }
  .steps .inline img { max-height: none; object-fit: contain; }
}

/* ---------- v4 (2026-12-01, approved from the design/v4 mockup): the phones are the star. Je's answers, 4 rounds:
   whole screenshot (black below a short one), medium soft dark shadow, no grey box behind feature phones,
   straight on; mouse: floats 12px in 0.4s and tilts toward the mouse (max 6deg); touch: rises once as it
   scrolls in; side keys on the frame; all buttons and cards lift with a shadow; reduced motion: shadows only. */
:root {
  --sh-phone: 0 30px 60px -20px rgb(11 13 16 / .35), 0 12px 24px -12px rgb(11 13 16 / .25);
  --sh-phone-up: 0 54px 86px -24px rgb(11 13 16 / .40), 0 24px 40px -18px rgb(11 13 16 / .26);
  --sh-card: none;
  --sh-card-up: 0 30px 50px -26px rgb(11 13 16 / .32), 0 10px 18px -10px rgb(11 13 16 / .14);
  --sh-btn: none;          /* flat at rest; the shadow only comes with the lift */
  --sh-btn-up: 0 14px 24px -12px rgb(11 13 16 / .50);
  --sh-btn-down: 0 4px 8px -6px rgb(11 13 16 / .40);
  --float: 400ms;
}

/* 1. The screenshot fits the screen exactly, never cut at the sides. A full-height shot (1565 or 1576 px tall)
      fills the screen edge to edge (a 1576 one loses at most its last 11 px, the gesture bar).
      A shorter shot sits at the top, whole, with the app's own black below it. */
.phone img, .device img, .feature .phone img, .steps .phone img, .gsteps .pics .device img { object-fit: cover; object-position: top; background-color: #0c0d11; }
.phone img:not([height="1565"]):not([height="1576"]), .device img:not([height="1565"]):not([height="1576"]) { object-fit: contain; }
.phone img[src$="app-home.jpg"], .phone img[src$="app-tests.jpg"] { background-color: #181a1e; } /* ends on the app's tab bar */

/* 2. The phone: shadow at rest; floats and tilts on the mouse; side keys on the right edge */
.phone, .device {
  --lift: 0px; --rx: 0deg; --ry: 0deg;
  box-shadow: var(--sh-phone);
  transform: perspective(1400px) translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform var(--float) var(--ease), box-shadow var(--float) var(--ease);
}
.phone::before, .device::before {
  content: ""; position: absolute; right: -4px; top: 19%; width: 3px; height: 17%; pointer-events: none;
  background: #3a404a; border-radius: 0 2px 2px 0;
  clip-path: polygon(0 0, 100% 0, 100% 52%, 0 52%, 0 64%, 100% 64%, 100% 100%, 0 100%); /* volume, a gap, power */
}
.trio .phone::before { right: -2.5px; width: 2px; }
.gsteps .pics .device::before { right: -3.5px; }
@media (hover: hover) and (pointer: fine) {
  .phone:hover, .device:hover { --lift: -12px; box-shadow: var(--sh-phone-up); }
  .trio .phone:hover { --lift: -8px; }
}
/* Touch screens: each phone rises once as it scrolls in (store.js adds .up) */
.phone.up, .device.up { --lift: -12px; box-shadow: var(--sh-phone-up); transition-duration: 800ms; transition-delay: 120ms; }
.trio .phone.up { --lift: -6px; }

/* Feature phones stand on the page: no grey box. (The accuracy bars keep theirs.) */
.feature .stagebox:has(> .phone), .feature .stagebox:has(> .wide-shot) { background: none; padding: 0; border-radius: 0; }

/* The Pro band's drawn report phone floats too (a dark shadow can't show on black; the rim stays) */
.band .ui-screen { --lift: 0px; --rx: 0deg; --ry: 0deg; transform: perspective(1400px) translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform var(--float) var(--ease), box-shadow var(--float) var(--ease); box-shadow: 0 0 0 12px #3a404a, 0 40px 70px -24px rgb(0 0 0 / .8); }
@media (hover: hover) and (pointer: fine) { .band .ui-screen:hover { --lift: -12px; } }
.band .ui-screen.up { --lift: -12px; transition-duration: 800ms; }

/* Wide pictures: the same shadow and a gentler 6px lift, no tilt */
.wide-shot, .hero .shot img { box-shadow: var(--sh-phone); transition: translate var(--float) var(--ease), box-shadow var(--float) var(--ease); }
.js .hero .shot[data-reveal] { transition: opacity 700ms var(--ease), transform 700ms var(--ease), translate var(--float) var(--ease); transition-delay: calc(var(--d, 0) * 80ms), calc(var(--d, 0) * 80ms), 0s; }
@media (hover: hover) and (pointer: fine) {
  .wide-shot:hover { translate: 0 -6px; box-shadow: var(--sh-phone-up); }
  .hero .shot:hover { translate: 0 -6px; } .hero .shot:hover img { box-shadow: var(--sh-phone-up); }
}
/* Guide: cropped pictures (notifications, dialogs) are cards with a soft shadow, no frame, no float */
.gsteps .pics figure > img { box-shadow: 0 18px 36px -18px rgb(11 13 16 / .32); }

/* 3. Buttons: rise 3px with a soft shadow; pressing pushes them down */
.btn, .picker button, .toc a, .menu summary { box-shadow: var(--sh-btn); transition: translate 300ms var(--ease), box-shadow 300ms var(--ease), transform 160ms var(--ease), background-color 160ms, color 160ms; }
.btn:hover, .picker button:hover { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .picker button:hover, .toc a:hover, .menu summary:hover { translate: 0 -3px; box-shadow: var(--sh-btn-up); }
}
.btn:active, .picker button:active, .toc a:active, .menu summary:active { translate: 0 0; transform: scale(.98); box-shadow: var(--sh-btn-down); transition-duration: 90ms; }

/* Cards that lift: price plans, product cards, the download box, the home TrueTrace card */
.plan, .prodcard, .dl .big, .feat { box-shadow: var(--sh-card); transition: translate 400ms var(--ease), box-shadow 400ms var(--ease); }
.plan:hover, a.prodcard:hover, .dl .big:hover, a.feat:hover { transform: none; }
/* these also rise in on scroll ([data-reveal]), so their own transitions join the entrance's */
.js .plan[data-reveal], .js .prodcard[data-reveal], .js .feat[data-reveal] { transition: opacity 700ms var(--ease), transform 700ms var(--ease), translate 400ms var(--ease), box-shadow 400ms var(--ease); transition-delay: calc(var(--d, 0) * 80ms), calc(var(--d, 0) * 80ms), 0s, 0s; }
@media (hover: hover) and (pointer: fine) {
  .plan:hover, a.prodcard:hover, .dl .big:hover, a.feat:hover { translate: 0 -6px; box-shadow: var(--sh-card-up); }
}

/* Phones: swipe rows clip at their edges, so they get room for the lift and the shadow */
@media (max-width: 760px) {
  .gsteps .pics.swipe, .trio.swipe, .band .pics.swipe { padding-top: 18px; padding-bottom: 48px; margin-top: -18px; margin-bottom: -34px; }
}

/* Reduced motion: shadows stay (and still deepen on the mouse), nothing moves or tilts */
@media (prefers-reduced-motion: reduce) {
  .phone, .device, .band .ui-screen { --lift: 0px !important; --rx: 0deg !important; --ry: 0deg !important; }
  .btn, .picker button, .toc a, .menu summary, .plan, .prodcard, .dl .big, a.feat, .wide-shot, .hero .shot { translate: none !important; }
  .btn:active, .picker button:active { transform: none; }
}

/* ---------- v5 (2026-12-01, approved from the design/v5 mockup): real gameplay video, recorded on a REDMAGIC 12 Pro with TrueTrace running.
   Je's answers: a sideways v4 phone around each clip; short muted loops that play by themselves (phones get a
   lighter file, loaded only near the screen); MLBB in the hero and the home card; a "See it in a real game" section
   with MLBB and Blood Strike tabs; the first feature shows the overlay zoomed in; the hero chip follows the overlay's
   own number; Blood Strike points at its own FPS counter as proof. Videos play for everyone (reduced motion too). */

/* The sideways phone: the v4 frame turned landscape. Camera on the left, keys on the top edge. */
.phone.land { width: 100%; border-radius: 40px; padding: 10px; }
.phone.land .screen { position: relative; border-radius: 30px; overflow: hidden; background: #0b0d10; }
.phone.land video { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 580; object-fit: cover; background: #0b0d10; }
.phone.land::after { top: 50%; left: 20px; margin: -5.5px 0 0; }
.phone.land::before { top: -4px; right: auto; left: 19%; width: 17%; height: 3px; border-radius: 2px 2px 0 0;
  clip-path: polygon(0 0, 52% 0, 52% 100%, 64% 100%, 64% 0, 100% 0, 100% 100%, 0 100%); }
/* a wide phone leans less sharply */
.phone.land { transform: perspective(2600px) translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry)); }

/* Hero: the phone takes the picture's place; the yellow outline sits on the overlay inside the screen */
.hero .shot .phone.land { margin: 0; }
.hero .shot .pointer { left: 40.4%; top: 0.6%; width: 27%; height: 8.6%; border-radius: 12px; }
.hero .chip { z-index: 2; }

/* Home card: the phone sits on black, so its rim carries the edge */
.feat .shot .phone.land { box-shadow: none; outline-color: #4a525e; }
.feat .shot .phone.land .screen { border-radius: 26px; }

/* First feature: the overlay, zoomed in, moving */
video.wide-shot { display: block; height: auto; aspect-ratio: 1000 / 612; object-fit: cover; background: #0b0d10; }

/* See it in a real game */
.games { display: grid; gap: 28px; }
.tabs { display: none; gap: 8px; flex-wrap: wrap; }
.js .tabs { display: flex; }
.tabs button { font: inherit; font-size: 16px; font-weight: 600; height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--paper); color: var(--ink); cursor: pointer;
  box-shadow: none; transition: translate 300ms var(--ease), box-shadow 300ms var(--ease), transform 160ms var(--ease), background-color 160ms, color 160ms; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .tabs button:hover { translate: 0 -3px; box-shadow: var(--sh-btn-up); } }
.tabs button:active { translate: 0 0; transform: scale(.98); box-shadow: var(--sh-btn-down); }
.game { display: grid; gap: 32px; }
.js .game[hidden] { display: none; }
.game figcaption { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px; align-items: baseline; }
.game figcaption b { font-size: var(--t-display); line-height: 1; letter-spacing: -0.03em; font-weight: 600; font-variant-numeric: tabular-nums; grid-row: span 2; }
.game figcaption span { color: var(--muted); }
.game figcaption strong { font-weight: 600; color: var(--ink); }
/* Proof: outlines on TrueTrace's number and on the game's own counter */
.proof { position: absolute; border: 3px solid var(--yellow); border-radius: 10px; pointer-events: none; }
.proof.tt { left: 40.4%; top: 0.6%; width: 26.4%; height: 8.6%; }
.proof.game { left: 12.8%; top: 94.8%; width: 4.6%; height: 4.6%; border-radius: 6px; }
.proof i { position: absolute; left: 0; top: calc(100% + 6px); background: var(--yellow); color: var(--ink); font: 600 13px/1 Chillax, system-ui, sans-serif; font-style: normal; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.proof.game i { top: auto; bottom: calc(100% + 6px); }

@media (max-width: 760px) {
  .phone.land { border-radius: 26px; padding: 6px; }
  .phone.land .screen { border-radius: 20px; }
  .phone.land::after { left: 11px; width: 7px; height: 7px; margin-top: -3.5px; }
  .feat .shot .phone.land .screen { border-radius: 18px; }
  .hero .shot .pointer { border-width: 2px; border-radius: 6px; }
  .proof { border-width: 2px; border-radius: 6px; }
  .proof i { font-size: 11px; padding: 4px 7px; }
  .game figcaption { grid-template-columns: minmax(0, 1fr); }
  .game figcaption b { grid-row: auto; }
  .tabs button { flex: 1 1 0; padding: 0 12px; }
}

/* ---------- v6 (2026-12-01, approved from the design/v6 mockup): the first section in the "Big numerals" look (row E of the promo style sheet).
   A huge pale FPS number sits behind the sideways phone and follows the video; a white card says "TrueTrace, live";
   Buy Pro (yellow, black ₱199 pill) and Download (black, yellow Free pill) are equally loud: Pro can also be bought
   inside the app. On phones both are compact (44px) and sit side by side. */

/* shared: the big number and the white live card */
.e6 .shot { position: relative; }
.e6 .shot { padding-top: clamp(64px, 9vw, 132px); }
.e6 .bignum { position: absolute; z-index: 0; left: -7%; top: 0; margin-top: -0.14em;
  font-size: clamp(170px, 27vw, 400px); font-weight: 600; line-height: 1; letter-spacing: -0.06em; color: #e1e4e9;
  font-variant-numeric: tabular-nums; pointer-events: none; user-select: none; }
.e6 .shot .phone.land { position: relative; z-index: 1; }
.chipw { position: absolute; z-index: 2; right: -20px; bottom: -34px; background: var(--paper); color: var(--ink); border-radius: 24px; padding: 16px 24px 14px;
  box-shadow: 0 18px 40px -18px rgba(11, 13, 16, .32), 0 2px 6px rgba(11, 13, 16, .05); }
.chipw span { display: block; font-size: 15px; font-weight: 500; color: var(--muted); }
.chipw b { font-size: 52px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; font-variant-numeric: tabular-nums; }
.chipw i { font-style: normal; font-size: 24px; font-weight: 600; margin-left: 6px; }

/* the price button: yellow, with the price in its own black pill */
.btn.buy199 { background: var(--yellow); color: var(--ink); height: 64px; padding: 0 8px 0 24px; gap: 14px; font-size: 17px;
  box-shadow: 0 16px 32px -14px rgba(204, 160, 0, .75); }
.btn.buy199 b { background: var(--ink); color: var(--yellow); border-radius: 999px; height: 48px; padding: 0 16px; display: inline-flex; align-items: center; font-size: 20px; letter-spacing: -0.01em; }
/* Download free: just as loud, in black with a yellow "Free" pill (Pro can also be bought inside the app) */
.btn.dlfree { background: var(--ink); color: #fff; height: 64px; padding: 0 8px 0 24px; gap: 14px; font-size: 17px;
  box-shadow: 0 16px 32px -14px rgba(11, 13, 16, .6); }
.btn.dlfree b { background: var(--yellow); color: var(--ink); border-radius: 999px; height: 48px; padding: 0 16px; display: inline-flex; align-items: center; font-size: 20px; letter-spacing: -0.01em; }
@media (hover: hover) and (pointer: fine) { .btn.dlfree:hover { box-shadow: 0 22px 40px -14px rgba(11, 13, 16, .7); } }
@media (hover: hover) and (pointer: fine) { .btn.buy199:hover { box-shadow: 0 22px 40px -14px rgba(204, 160, 0, .85); } }

/* TrueTrace page */
.hero.e6 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 56px; align-items: center; padding-top: clamp(40px, 5vw, 80px); }
.hero.e6 .copy { grid-column: 1; grid-row: 1; }
.hero.e6 .shot { grid-column: 2; grid-row: 1; margin: 0 0 34px; }
.hero.e6 .facts { grid-row: 2; margin-top: 24px; }
.e6 .tag { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 600; font-size: 15px; padding: 6px 16px; border-radius: 999px; }
.hero.e6 h1 { margin-top: 22px; font-size: clamp(44px, 4.8vw, 70px); line-height: 1; letter-spacing: -0.04em; max-width: none; }
.hero.e6 .lead { margin-top: 22px; font-size: 19px; max-width: 30ch; color: var(--muted); }
.hero.e6 .acts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px 10px; align-items: center; }
.hero.e6 .once { margin-top: 14px; font-size: var(--t-small); color: var(--muted); }

/* Store home: the dark card goes; the phone stands on the page like the TrueTrace hero, name and price under it */
.feat.e6 { background: none; color: var(--ink); padding: 0; box-shadow: none; gap: 52px; }
.feat.e6 .shot { margin: 0; }
.feat.e6 .shot .phone.land { box-shadow: var(--sh-phone); outline-color: #3a404a; }
.feat.e6 .row { padding: 0; }
.feat.e6 small { color: var(--muted); }
.price199 { display: inline-flex; align-items: center; gap: 12px; background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 6px 6px 6px 20px; font-weight: 600; font-size: 17px;
  box-shadow: 0 14px 28px -14px rgba(204, 160, 0, .75); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.price199.free { background: var(--ink); color: #fff; box-shadow: 0 14px 28px -14px rgba(11, 13, 16, .6); }
.price199.free b { background: var(--yellow); color: var(--ink); }
.price199 b { background: var(--ink); color: var(--yellow); border-radius: 999px; padding: 8px 16px; font-size: 18px; }

/* Home card: not one big link. The phone floats on its own; the name, Download Free and Pro ₱199 are separate links. */
.feat.e6 .row .name { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; border-radius: 16px; }
@media (hover: hover) and (pointer: fine) { .feat.e6 .row .name:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; } }
a.price199 { text-decoration: none; transition: translate 300ms var(--ease), box-shadow 300ms var(--ease), transform 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  a.price199:hover { translate: 0 -3px; box-shadow: 0 20px 34px -14px rgba(204, 160, 0, .85); }
  a.price199.free:hover { box-shadow: 0 20px 34px -14px rgba(11, 13, 16, .7); }
}
a.price199:active { translate: 0 0; transform: scale(.98); }
@media (prefers-reduced-motion: reduce) { a.price199 { translate: none !important; } }

/* small laptops and tablets sideways: a wider text column and slightly smaller buttons, so both stay on one line */
@media (min-width: 901px) and (max-width: 1180px) {
  .hero.e6 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 40px; }
  .btn.buy199, .btn.dlfree { height: 56px; padding-left: 20px; gap: 12px; font-size: 16px; }
  .btn.buy199 b, .btn.dlfree b { height: 42px; padding: 0 14px; font-size: 18px; }
}
/* never past the screen's left edge where the home card starts close to it */
@media (max-width: 1180px) { .feat.e6 .bignum { left: -1%; } }
@media (max-width: 900px) {
  .hero.e6 { grid-template-columns: minmax(0, 1fr); }
  .hero.e6 .copy, .hero.e6 .shot, .hero.e6 .facts { grid-column: 1; grid-row: auto; }
  .hero.e6 .shot { margin-top: 24px; }
  .e6 .bignum { font-size: 44vw; left: -3%; }
  .e6 .shot { padding-top: 22vw; }
}
@media (max-width: 600px) {
  .chipw { right: 8px; bottom: -30px; padding: 10px 16px 9px; border-radius: 18px; }
  .chipw span { font-size: 13px; } .chipw b { font-size: 34px; } .chipw i { font-size: 16px; }
  /* phones: smaller, side by side (they wrap under each other on very narrow screens) */
  .hero.e6 .acts { gap: 8px; margin-top: 24px; }
  .hero.e6 .acts .btn { flex: 0 0 auto; }
  .btn.buy199, .btn.dlfree { height: 44px; min-height: 44px; padding: 0 4px 0 13px; gap: 6px; font-size: 13px; justify-content: space-between; box-shadow: 0 10px 20px -12px rgba(11, 13, 16, .45); }
  .btn.buy199 { box-shadow: 0 10px 20px -12px rgba(204, 160, 0, .7); }
  .btn.buy199 b, .btn.dlfree b { height: 36px; padding: 0 10px; font-size: 14px; }
  .wide-only { display: none; }
  .feat.e6 .pills { gap: 8px; }
  .price199 { font-size: 13px; gap: 6px; padding: 3px 3px 3px 12px; box-shadow: 0 10px 20px -12px rgba(204, 160, 0, .7); }
  .price199.free { box-shadow: 0 10px 20px -12px rgba(11, 13, 16, .45); }
  .price199 b { font-size: 14px; padding: 5px 10px; }
  .hero.e6 .once { margin-top: 12px; font-size: 14px; }
  .feat.e6 { gap: 44px; }
}

/* Socials (2026-12-01): YouTube, Facebook, TikTok and Instagram, each with its mark on a dark circle.
   Home: four slim pills (icon, name, handle). Footer on every page: a row of round icon links. */
.socrow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; list-style: none; }
.socrow a { display: flex; align-items: center; gap: 12px; background: var(--paper); border-radius: 999px; padding: 8px 18px 8px 8px; color: var(--ink); text-decoration: none;
  transition: translate 300ms var(--ease), box-shadow 300ms var(--ease); }
.socrow .ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.socrow .ico svg { width: 20px; height: 20px; }
.socrow b { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
.socrow small { display: block; font-size: 14px; color: var(--muted); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.socrow a > span:last-child { min-width: 0; }
@media (hover: hover) and (pointer: fine) { .socrow a:hover { translate: 0 -2px; box-shadow: var(--sh-btn-up); } }
@media (max-width: 420px) { .socrow { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .socrow a { translate: none !important; } }
.foot .socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding: 0; list-style: none; }
.foot .socials a { width: 44px; height: 44px; border-radius: 50%; background: var(--ink-2); color: var(--on-dark-muted); display: grid; place-items: center; transition: background-color 160ms, color 160ms; }
.foot .socials a:hover { background: #2a2f37; color: #fff; }
.foot .socials svg { width: 20px; height: 20px; }

/* A button that also carries .more-link stays a centred flex button (the text was sitting high). */
.btn.more-link { display: inline-flex; }
