/* TJ Apps — store styles. Layout and feel follow the Google Play web store;
   colours, mark and hero are TJ's own. Light + dark (prefers-color-scheme). */

:root {
  --bg: #ffffff;
  --bg2: #f8fafd;
  --surface: #ffffff;
  --line: #e1e3e1;
  --line2: #c4c7c5;
  --text: #1f1f1f;
  --text2: #444746;
  --muted: #5f6368;
  --green: #01875f;
  --green-h: #056449;
  --green-ink: #ffffff;
  --green-soft: #e6f4ea;
  --link: #01875f;
  --chip: #ffffff;
  --search: #f1f3f4;
  --search-h: #e9ebee;
  --shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
  --shadow-lg: 0 8px 28px rgba(16,24,40,.12), 0 2px 6px rgba(16,24,40,.06);
  --hero1: #04121a;
  --hero2: #071a1c;
  --em: #34d399;
  --cy: #22d3ee;
  --radius: 20px;
  --font: "Google Sans Text", "Google Sans", Roboto, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-d: "Google Sans Display", "Google Sans", Roboto, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131314; --bg2: #1b1b1d; --surface: #1e1f20; --line: #2f3133; --line2: #444746;
    --text: #e3e3e3; --text2: #c4c7c5; --muted: #a0a4a8;
    --green: #5bd6a0; --green-h: #7fe3b6; --green-ink: #002114; --green-soft: #0d2a1f; --link: #5bd6a0;
    --chip: #1e1f20; --search: #282a2c; --search-h: #303235;
    --shadow: 0 1px 3px rgba(0,0,0,.6); --shadow-lg: 0 10px 30px rgba(0,0,0,.55);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-d); color: var(--text); margin: 0; line-height: 1.25; }
p { margin: 0 0 12px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.ico { width: 24px; height: 24px; fill: currentColor; flex: none; }
.ico-sm { width: 18px; height: 18px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--green-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.new { color: var(--green); font-weight: 500; }

/* ------------------------------ header ------------------------------ */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: box-shadow .2s; }
.top.scrolled { box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.06); }
.top-in { max-width: 1440px; margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 8px; padding: 0 16px 0 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; margin-right: 24px; flex: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 2px 8px rgba(8,145,178,.3); }
.brand-name { font: 400 22px/1 var(--font-d); color: var(--muted); letter-spacing: -.2px; }
.brand-name b { color: var(--text); font-weight: 500; }
.tabs { display: flex; gap: 4px; height: 100%; }
.tabs a { display: flex; align-items: center; height: 100%; padding: 0 14px; color: var(--muted); font-weight: 500; font-size: 15px; border-bottom: 3px solid transparent; text-decoration: none; white-space: nowrap; }
.tabs a:hover { color: var(--text); background: var(--bg2); }
.tabs a.on { color: var(--green); border-bottom-color: var(--green); }
.search { position: relative; margin-left: auto; width: min(420px, 38vw); }
.search-box { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 16px; background: var(--search); border-radius: 24px; cursor: text; transition: background .15s, box-shadow .15s; border: 1px solid transparent; }
.search-box:hover { background: var(--search-h); }
.search-box:focus-within { background: var(--surface); box-shadow: var(--shadow); border-color: var(--line); }
.search-ico { width: 24px; height: 24px; fill: var(--muted); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font: 400 16px var(--font); }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.search-clear, .search-back { border: 0; background: transparent; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.search-clear:hover, .search-back:hover { background: var(--search-h); }
.search-clear .ico, .search-back .ico { width: 22px; height: 22px; }
.search-back { display: none; }
.suggest { position: absolute; top: 54px; left: 0; right: 0; margin: 0; padding: 8px 0; list-style: none; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.suggest a { display: flex; align-items: center; gap: 14px; padding: 10px 18px; color: var(--text); text-decoration: none; }
.suggest a:hover, .suggest a.active { background: var(--bg2); }
.suggest img { width: 36px; height: 36px; border-radius: 9px; }
.suggest small { display: block; color: var(--muted); font-size: 13px; }
.suggest .s-all { color: var(--muted); }
.suggest .s-all .ico { margin: 0 6px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: transparent; border: 0; cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--bg2); text-decoration: none; }
.search-open { display: none; }

/* ------------------------------ buttons ------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 24px; border-radius: 10px; border: 1px solid var(--line2); background: var(--surface); color: var(--green); font-weight: 500; font-size: 15px; letter-spacing: .1px; cursor: pointer; text-decoration: none !important; transition: background .15s, box-shadow .15s, transform .1s; white-space: nowrap; }
.btn:hover { background: var(--green-soft); }
.btn:active { transform: scale(.98); }
.btn .ico { width: 20px; height: 20px; }
.btn-install { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.btn-install:hover { background: var(--green-h); border-color: var(--green-h); box-shadow: 0 2px 10px rgba(1,135,95,.35); }
.btn-ghost { background: transparent; }
.btn-block { width: 100%; }

/* ------------------------------ app hero ------------------------------ */
.hero { position: relative; overflow: hidden; color: #f2f6ff; background: radial-gradient(1200px 500px at 85% 20%, rgba(34,211,238,.18), transparent 60%), radial-gradient(900px 500px at 10% 0%, rgba(52,211,153,.22), transparent 60%), linear-gradient(160deg, var(--hero1), var(--hero2) 55%, #0b1020); }
.hero-glow { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 80%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 80%); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: center; padding-top: 28px; padding-bottom: 40px; min-height: 460px; }
.hero h1 { color: #fff; font-size: 56px; font-weight: 500; letter-spacing: -1px; }
.hero .headline { color: #b9c6dc; font-size: 18px; margin: 4px 0 0; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; font-size: 13px; margin-bottom: 22px; color: #8d9ab3; }
.crumbs a { color: #b9c6dc; }
.crumbs .ico { width: 16px; height: 16px; fill: #6b7690; }
.title-row { display: flex; align-items: center; gap: 18px; }
.app-icon { border-radius: 22%; background: #070b14; box-shadow: 0 1px 3px rgba(0,0,0,.25); flex: none; object-fit: cover; }
.app-icon-sm { display: none; width: 72px; height: 72px; }
.dev { display: inline-block; margin: 14px 0 4px; color: var(--em); font-weight: 500; font-size: 17px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 22px; color: #8d9ab3; font-size: 13px; }
.badges span + span::before { content: "·"; margin-right: 14px; color: #4b5568; }
.stats { display: flex; list-style: none; margin: 0 0 26px; padding: 0; }
.stats li { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 22px; min-width: 96px; position: relative; text-align: center; }
.stats li:first-child { padding-left: 0; align-items: flex-start; min-width: 0; }
.stats li + li::before { content: ""; position: absolute; left: 0; top: 18%; height: 64%; width: 1px; background: rgba(255,255,255,.16); }
.stats b { display: flex; align-items: center; gap: 4px; font: 500 16px/24px var(--font); color: #fff; white-space: nowrap; }
.stats b .ico { fill: #a4c639; }
.stats b .new { color: var(--em); }
.stats span { font-size: 12px; color: #8d9ab3; white-space: nowrap; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-install { background: linear-gradient(135deg, var(--em), var(--cy)); border: 0; color: #03121a; height: 48px; padding: 0 30px; font-weight: 600; box-shadow: 0 8px 28px rgba(52,211,153,.3); min-width: 220px; }
.hero .btn-install:hover { filter: brightness(1.06); box-shadow: 0 10px 34px rgba(34,211,238,.4); }
.hero .btn-ghost { color: #e8eefc; border-color: rgba(255,255,255,.22); height: 48px; }
.hero .btn-ghost:hover { background: rgba(255,255,255,.08); }
.soon-line { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; color: #b9c6dc; font-size: 14px; }
.soon-line .ico { fill: var(--em); }
.hero-art { position: relative; height: 420px; }
.app-icon-xl { position: absolute; left: 0; top: 50%; width: 200px; height: 200px; transform: translateY(-50%) rotate(-6deg); z-index: 2; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px rgba(0,0,0,.55), 0 0 80px rgba(34,211,238,.25); animation: float 7s ease-in-out infinite; }
.hero-phone { position: absolute; right: 10px; top: 0; height: 420px; width: auto; border-radius: 30px; border: 8px solid #1b2130; box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); transform: rotate(4deg); }
@keyframes float { 50% { transform: translateY(calc(-50% - 10px)) rotate(-4deg); } }

/* ------------------------------ columns ------------------------------ */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-top: 32px; padding-bottom: 56px; }
.side-col { display: flex; flex-direction: column; gap: 16px; }
.block { padding: 8px 0 28px; }
.block + .block { border-top: 1px solid var(--line); padding-top: 28px; }
.block-h { font-size: 22px; font-weight: 500; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.block-h .count { font: 500 14px var(--font); color: var(--muted); background: var(--bg2); border: 1px solid var(--line); border-radius: 99px; padding: 1px 10px; }
.lead { font-size: 16px; color: var(--text2); }
.about-more h3 { font-size: 17px; font-weight: 500; margin: 20px 0 6px; }
.about-more p { color: var(--text2); }
.about-more.collapsed { max-height: 120px; overflow: hidden; mask-image: linear-gradient(180deg, #000 30%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); }
.more { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; border: 0; background: transparent; color: var(--green); font-weight: 500; cursor: pointer; padding: 6px 0; }
.more .ico { width: 20px; height: 20px; transition: transform .2s; }
.more[aria-expanded="true"] .ico { transform: rotate(180deg); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; margin: 22px 0 18px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { border: 1px solid var(--line2); border-radius: 8px; background: var(--chip); font-size: 14px; font-weight: 500; }
.chip a, .chip-cat { display: block; padding: 6px 14px; color: var(--text2); text-decoration: none; }
.chip a:hover { background: var(--bg2); border-radius: 8px; }
.chip-cat { background: var(--green-soft); border-color: transparent; color: var(--green); }

/* screenshots */
.shots { position: relative; margin: 0 0 24px; }
.shots-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 12px; scrollbar-width: none; overscroll-behavior-x: contain; }
.shots-track::-webkit-scrollbar { display: none; }
.shot { flex: none; padding: 0; border: 0; background: transparent; cursor: zoom-in; scroll-snap-align: start; border-radius: 14px; position: relative; text-decoration: none !important; }
.shot img { height: 400px; width: auto; aspect-ratio: 1 / 2; border-radius: 14px; border: 1px solid var(--line); background: #070b14; transition: transform .25s, box-shadow .25s; }
.shot:hover img { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.shots-nav { position: absolute; top: calc(50% - 30px); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--shadow-lg); display: grid; place-items: center; cursor: pointer; color: var(--text); opacity: 0; transition: opacity .2s; }
.shots:hover .shots-nav, .shots-nav:focus-visible { opacity: 1; }
.shots-nav.prev { left: -18px; } .shots-nav.next { right: -18px; }

/* features */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.features li { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s, box-shadow .2s, transform .2s; }
.features li:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.features h3 { font: 500 15px var(--font); margin-bottom: 2px; }
.features p { color: var(--muted); font-size: 13.5px; margin: 0; }
.f-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, rgba(52,211,153,.18), rgba(34,211,238,.18)); color: var(--green); }
.f-ico .ico { width: 22px; height: 22px; }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { display: flex; gap: 10px; padding: 6px 0; color: var(--text2); }
.ticks .ico { fill: var(--green); margin-top: 3px; }

/* data safety */
.safety { border: 1px solid var(--line); border-radius: 16px; padding: 8px 20px 16px; }
.safety-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.safety-row .ico { fill: var(--muted); margin-top: 2px; }
.safety-row b { display: block; font-weight: 500; }
.safety-row span { color: var(--muted); font-size: 13.5px; }
.safety-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 500; }

/* reviews */
.review-form { border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 6px 0 22px; background: var(--bg2); }
.rf-label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--text2); }
.avatar-ico { width: 32px; height: 32px; padding: 5px; border-radius: 50%; background: var(--green-soft); fill: var(--green); }
.review-form textarea { width: 100%; resize: vertical; min-height: 104px; border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; font: 400 15px/1.5 var(--font); background: var(--surface); color: var(--text); transition: border-color .15s, box-shadow .15s; }
.review-form textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.rf-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; margin: 10px 0; font-size: 14px; }
.note-ok { background: var(--green-soft); color: var(--green); }
.note-ok .ico { fill: var(--green); }
.note-err { background: #fce8e6; color: #b3261e; }
@media (prefers-color-scheme: dark) { .note-err { background: #3b1513; color: #f2b8b5; } }
.empty-reviews { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 10px 0; }
.empty-reviews .ico { fill: var(--green); }
.review-list { list-style: none; margin: 0; padding: 0; }
.review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.r-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.r-ava { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.r-ava .ico { width: 20px; height: 20px; }
.r-ava-0 { background: #1e8e3e; } .r-ava-1 { background: #1a73e8; } .r-ava-2 { background: #e37400; }
.r-ava-3 { background: #a142f4; } .r-ava-4 { background: #12858a; } .r-ava-5 { background: #d93025; }
.r-name { font-weight: 500; }
.r-date { margin-left: auto; color: var(--muted); font-size: 13px; }
.r-body { color: var(--text2); margin: 0; overflow-wrap: anywhere; }
.more-link { display: inline-flex; gap: 6px; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; cursor: pointer; font-weight: 500; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ico { fill: var(--muted); transition: transform .2s; }
.faq details[open] .faq-ico { transform: rotate(180deg); }
.faq details p { color: var(--text2); padding-bottom: 14px; margin: 0; }

/* side cards */
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--surface); }
.card h2 { font-size: 18px; font-weight: 500; margin-bottom: 10px; }
.card-h { display: flex; align-items: center; gap: 10px; }
.card-h .ico { fill: var(--green); }
.soon-card { color: #e8eefc; border: 0; background: radial-gradient(400px 200px at 100% 0, rgba(34,211,238,.25), transparent 70%), linear-gradient(150deg, #052e2b, #0b1020); box-shadow: var(--shadow-lg); }
.soon-card h2 { color: #fff; }
.soon-card p { color: #b9c6dc; margin: 0; font-size: 14px; }
.soon-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: #03121a; background: linear-gradient(135deg, var(--em), var(--cy)); margin-bottom: 12px; }
.soon-badge .ico { fill: #03121a; }
.steps { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 12px 40px; color: var(--text2); font-size: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-weight: 600; font-size: 13px; }
.steps b { color: var(--text); font-weight: 500; }
.hash-label { font-size: 12px; color: var(--muted); margin: 10px 0 4px; }
.hash { display: block; font: 12px/1.5 ui-monospace, "Cascadia Code", Consolas, monospace; word-break: break-all; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--text2); cursor: copy; }
.hash:hover { border-color: var(--green); }
.support { list-style: none; margin: 0; padding: 0; }
.support a { display: flex; gap: 14px; align-items: center; padding: 10px 0; color: var(--text); text-decoration: none; }
.support a:hover b { color: var(--green); }
.support .ico { fill: var(--muted); }
.support b { display: block; font-weight: 500; font-size: 14px; }
.support small { color: var(--muted); font-size: 13px; }
.perm { margin: 0 0 8px; padding-left: 18px; color: var(--text2); font-size: 14px; }
.perm li { margin-bottom: 4px; }

/* sticky download bar (phones) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .25s; }
.sticky-cta.show { transform: none; }
@media (min-width: 901px) { .sticky-cta { display: none !important; } }
.sticky-cta div { flex: 1; min-width: 0; }
.sticky-cta b { display: block; font-weight: 500; }
.sticky-cta span { color: var(--muted); font-size: 13px; }

/* ------------------------------ home ------------------------------ */
.home-hero { padding-top: 16px; }
.feature { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: 420px; border-radius: 28px; overflow: hidden; padding: 48px 56px; color: #e8eefc; text-decoration: none !important; background: radial-gradient(700px 400px at 90% 10%, rgba(34,211,238,.25), transparent 60%), radial-gradient(600px 420px at 0% 100%, rgba(52,211,153,.25), transparent 60%), linear-gradient(150deg, #04121a, #0b1020 60%, #120f2a); box-shadow: var(--shadow-lg); }
.feature-bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); }
.feature-text { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--em); margin-bottom: 14px; }
.eyebrow .ico { fill: var(--em); }
.feature h1 { color: #fff; font-size: 52px; font-weight: 500; letter-spacing: -1.2px; line-height: 1.08; margin-bottom: 16px; }
.grad { background: linear-gradient(135deg, var(--em), var(--cy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feature p { color: #b9c6dc; font-size: 17px; max-width: 520px; }
.feature-app { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 12px 12px 12px 12px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); max-width: 460px; backdrop-filter: blur(8px); }
.feature-app div { flex: 1; min-width: 0; }
.feature-app b { display: block; color: #fff; font-weight: 500; font-size: 16px; }
.feature-app span { color: #8d9ab3; font-size: 13px; }
.feature-app .btn-install { background: linear-gradient(135deg, var(--em), var(--cy)); border: 0; color: #03121a; font-weight: 600; }
.feature-phones { position: relative; height: 380px; }
.ph { position: absolute; height: 380px; width: auto; border-radius: 28px; border: 7px solid #1b2130; box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.ph-front { right: 18%; top: 10px; transform: rotate(-5deg); z-index: 2; transition: transform .5s; }
.ph-back { right: 0; top: 30px; height: 340px; transform: rotate(8deg); opacity: .85; transition: transform .5s; }
.feature:hover .ph-front { transform: rotate(-3deg) translateY(-6px); }
.feature:hover .ph-back { transform: rotate(10deg) translateX(6px); }

.shelf { padding-top: 40px; }
.shelf-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.shelf-h h2 { font-size: 22px; font-weight: 500; }
.shelf-more { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--text); }
.shelf-more:hover { background: var(--bg2); }
.app-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.app-card { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 18px; color: var(--text); text-decoration: none !important; transition: background .15s; }
a.app-card:hover { background: var(--bg2); }
.ac-text { display: flex; flex-direction: column; min-width: 0; }
.ac-text b { font-weight: 500; font-size: 16px; }
.ac-text span { color: var(--muted); font-size: 14px; }
.ac-meta { font-size: 13px !important; margin-top: 2px; }
.app-card-soon { border: 1px dashed var(--line2); }
.soon-icon { width: 72px; height: 72px; display: grid; place-items: center; background: var(--bg2); color: var(--green); box-shadow: none; }
.soon-icon .ico { width: 32px; height: 32px; }
.home-shots .shot { cursor: pointer; }
.home-shots img { height: 360px; }
.shot-cap { display: block; max-width: 180px; margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.soon { padding-top: 40px; }
.soon-in { border-radius: 28px; padding: 40px 44px; color: #e8eefc; background: radial-gradient(500px 260px at 100% 0, rgba(34,211,238,.22), transparent 70%), radial-gradient(500px 300px at 0 100%, rgba(52,211,153,.2), transparent 70%), linear-gradient(150deg, #052e2b, #0b1020); }
.soon-in h2 { color: #fff; font-size: 30px; font-weight: 500; max-width: 720px; margin-bottom: 12px; letter-spacing: -.4px; }
.soon-in p { color: #b9c6dc; max-width: 760px; margin: 0; font-size: 16px; }
.why { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why li { padding: 20px; border: 1px solid var(--line); border-radius: 18px; }
.why h3 { font: 500 16px var(--font); margin: 14px 0 4px; }
.why p { color: var(--muted); font-size: 14px; margin: 0; }

/* search results */
.results { padding-top: 24px; padding-bottom: 56px; min-height: 50vh; }
.results-h { font-size: 22px; font-weight: 500; margin-bottom: 16px; }
.result-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.result { display: flex; align-items: center; gap: 20px; padding: 16px; border-radius: 18px; color: var(--text); text-decoration: none !important; }
.result:hover { background: var(--bg2); }
.result .ac-text { flex: 1; }
.result .ac-text b { font-size: 18px; }
.dev-s { color: var(--green) !important; font-weight: 500; }
.empty { text-align: center; padding: 56px 0 16px; }
.empty h1 { font-size: 24px; font-weight: 500; margin: 12px 0 8px; }
.empty-ico { width: 56px; height: 56px; fill: var(--line2); }
.empty .btn { margin-top: 12px; }

/* prose (privacy) */
.prose { max-width: 760px; padding-top: 32px; padding-bottom: 56px; }
.prose h1 { font-size: 34px; font-weight: 500; margin-bottom: 6px; }
.prose h2 { font-size: 20px; font-weight: 500; margin: 26px 0 8px; }
.prose p { color: var(--text2); }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--bg2); }
.foot-in { max-width: 1200px; margin: 0 auto; padding: 40px 24px 28px; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-cols h2 { font: 500 14px var(--font); margin-bottom: 10px; }
.foot-cols a:not(.brand) { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; }
.foot-note { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 360px; }
.legal { color: var(--muted); font-size: 12px; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }

/* lightbox + toast */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5,8,14,.92); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 24px; backdrop-filter: blur(6px); }
.lightbox img { max-height: calc(100vh - 110px); width: auto; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-cap { color: #c4c7c5; margin: 14px 0 0; text-align: center; }
.lb-close, .lb-nav { position: absolute; border: 0; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 95; background: #303030; color: #f2f2f2; padding: 12px 20px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 14px; }

/* ------------------------------ responsive ------------------------------ */
@media (max-width: 1100px) {
  .tabs a:nth-child(3) { display: none; }
  .hero-in { grid-template-columns: minmax(0, 1fr) 320px; }
  .hero-phone { height: 360px; } .hero-art { height: 360px; }
  .app-icon-xl { width: 160px; height: 160px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tabs { display: none; }
  .search { display: none; }
  .search-open { display: grid; margin-left: auto; }
  .top.searching .brand, .top.searching .icon-btn { display: none; }
  .top.searching .search { display: block; width: 100%; margin: 0; }
  .top.searching .search-back { display: grid; position: absolute; left: 4px; top: 4px; z-index: 2; }
  .top.searching .search-box { padding-left: 48px; }
  .cols { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: 28px; }
  .hero-art { display: none; }
  .app-icon-sm { display: block; }
  .hero h1 { font-size: 34px; }
  .hero .headline { font-size: 15px; }
  .feature { grid-template-columns: minmax(0, 1fr); padding: 32px 24px 0; }
  .feature h1 { font-size: 38px; }
  .feature-phones { height: 300px; }
  .ph { height: 300px; } .ph-back { height: 270px; right: 6%; } .ph-front { right: 38%; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .top-in { padding: 0 8px 0 16px; height: 60px; }
  .brand { margin-right: 0; }
  .brand-name { font-size: 20px; }
  .hero h1 { font-size: 28px; }
  .stats { overflow-x: auto; scrollbar-width: none; margin-right: -16px; }
  .stats::-webkit-scrollbar { display: none; }
  .stats li { padding: 0 16px; min-width: 84px; }
  .badges { gap: 4px 8px; }
  .badges span { background: rgba(255,255,255,.07); border-radius: 99px; padding: 3px 10px; }
  .badges span + span::before { content: none; }
  .hero-in { padding-top: 18px; }
  .cta .btn-install { flex: 1; min-width: 0; }
  .shot img { height: 300px; }
  .home-shots img { height: 300px; }
  .shots-nav { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .feature h1 { font-size: 32px; }
  .feature p { font-size: 15px; }
  .feature-app .btn-install { padding: 0 16px; }
  .soon-in { padding: 28px 22px; }
  .soon-in h2 { font-size: 23px; }
  .result { gap: 14px; padding: 12px 8px; }
  .result .app-icon { width: 64px; height: 64px; }
  .result-btn { display: none; }
  .foot-cols { grid-template-columns: 1fr; gap: 20px; }
  .lb-nav { display: none; }
  .r-date { font-size: 12px; }
  body.has-sticky { padding-bottom: 76px; }
}
