/* ScamSecurity marketing site — one stylesheet for every page. */
:root {
  --bg: #060b18;
  --bg-2: #0a1122;
  --card: #111a2e;
  --card-2: #16213a;
  --line: #1e2a46;
  --primary: #6366f1;
  --primary-2: #818cf8;
  --accent: #8b5cf6;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --safe: #22c55e;
  --danger: #ef4444;
  --warn: #f59e0b;
  --radius: 18px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary-2); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 3px; border-radius: 6px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
/* Hidden by clipping, not by moving it off-screen: an off-screen element scrolls the page sideways in RTL. */
.skip { position: absolute; top: 12px; inset-inline-start: 16px; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; z-index: 100; background: var(--card); padding: 8px 12px; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 11, 24, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(30, 42, 70, 0.7);
}
.nav { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; gap: 2px; margin-inline-start: auto; align-items: center; }
.nav-links a { color: var(--soft); font-size: 15px; padding: 8px 10px; border-radius: 10px; white-space: nowrap; }
.nav-links a:hover { color: var(--text); background: var(--card); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--text); }
.lang-menu { position: relative; margin-inline-start: 6px; }
.lang-menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px;
  color: var(--soft); font-size: 14px; font-weight: 600; white-space: nowrap;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary svg { width: 16px; height: 16px; flex-shrink: 0; }
.lang-menu summary::after { content: ""; width: 6px; height: 6px; margin: 0 2px 3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .7; }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--text); border-color: var(--primary); }
.lang-menu ul {
  list-style: none; position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 70;
  display: grid; grid-template-columns: repeat(3, auto); gap: 2px; padding: 8px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .7);
}
.lang-menu li a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--soft); font-size: 14px; white-space: nowrap; }
.lang-menu li a:hover { background: var(--card); color: var(--text); text-decoration: none; }
.lang-menu li a[aria-current="true"] { background: var(--card-2); color: var(--text); font-weight: 600; }
.nav-cta { margin-inline-start: 8px; }
.menu-btn { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 40px; height: 40px; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; margin: auto; }

/* Wide enough for the longest translated menu (Malay, Russian). */
@media (max-width: 1100px) {
  .menu-btn { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 10px 16px 16px;
    max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; white-space: normal; }
  .lang-menu { margin: 8px 0 0; }
  .lang-menu ul { position: static; margin-top: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); box-shadow: none; }
  .lang-menu li a { white-space: normal; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; box-shadow: 0 8px 24px -8px rgba(99, 102, 241, .6); }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; border: 1px solid #3a4258; border-radius: 12px;
  padding-block: 9px; padding-inline: 14px 18px; min-width: 186px; transition: border-color .15s ease, transform .15s ease;
}
.store:hover { text-decoration: none; border-color: var(--primary-2); transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; flex-shrink: 0; }
.store small { display: block; font-size: 11px; line-height: 1.2; color: #d1d5db; }
.store strong { display: block; font-size: 18px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 440px) {
  .store { min-width: 0; flex: 1 1 140px; padding-block: 8px; padding-inline: 10px 12px; gap: 9px; }
  .store strong { font-size: 16px; }
  .store small { font-size: 10px; }
  .store svg { width: 22px; height: 22px; }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 680px; z-index: -1;
  background:
    radial-gradient(520px 340px at 20% 30%, rgba(99, 102, 241, .28), transparent 70%),
    radial-gradient(460px 320px at 85% 20%, rgba(139, 92, 246, .22), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--primary-2); background: rgba(99, 102, 241, .12); border: 1px solid rgba(99, 102, 241, .3);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.hero h1 { font-size: clamp(36px, 5.6vw, 60px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; }
.grad { background: linear-gradient(135deg, var(--primary-2), #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--soft); margin: 20px 0 30px; max-width: 560px; }
.hero .badges-note { margin-top: 18px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero .badges-note span::before { content: "✓ "; color: var(--safe); font-weight: 700; }
.hero-shot { position: relative; justify-self: center; width: min(360px, 100%); }
.hero-shot img { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6)); }
.hero-shot .float {
  position: absolute; inset-inline-start: -36px; bottom: 64px; background: rgba(17, 26, 46, .95); border: 1px solid rgba(239, 68, 68, .45);
  border-radius: 16px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; max-width: 250px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7);
}
.hero-shot .float b { display: block; font-size: 14px; color: #fca5a5; }
.hero-shot .float small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }
.hero-shot .float i { font-style: normal; font-size: 22px; }

@media (max-width: 860px) {
  .hero { padding: 44px 0 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-shot { width: min(300px, 86%); }
  .hero-shot .float { inset-inline-start: -18px; bottom: 40px; }
}

/* ── Sections ───────────────────────────────────────────── */
section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: var(--primary-2); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 14px; }
.alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }

.trust { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.trust-row b { display: block; font-size: 22px; letter-spacing: -0.01em; }
.trust-row span { color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .trust-row { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s ease, transform .2s ease; }
.feature:hover { border-color: rgba(99, 102, 241, .5); transform: translateY(-2px); }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; background: rgba(99, 102, 241, .14); }
.feature h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; border-radius: 6px; margin-inline-start: 6px; vertical-align: 2px; }
.tag-plus { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }
.tag-new { background: rgba(34, 197, 94, .16); color: #86efac; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* SMS spotlight */
.spotlight {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-areas: "shot head" "shot rest"; column-gap: 56px; align-items: start;
}
.spot-head { grid-area: head; }
.spot-rest { grid-area: rest; }
.spot-shot { grid-area: shot; position: sticky; top: 96px; justify-self: center; width: min(380px, 100%); }
.spot-shot::before {
  content: ""; position: absolute; inset: 10% -12% 20%; z-index: -1;
  background: radial-gradient(closest-side, rgba(239, 68, 68, .22), transparent);
}
.spot-shot img {
  width: 100%; height: auto; border-radius: 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent);
  mask-image: linear-gradient(180deg, #000 74%, transparent);
}
.signals { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 4px 0 34px; }
.signal { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.signal h3 { font-size: 16px; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.signal p { color: var(--muted); font-size: 14.5px; }
.spot-sub { font-size: 18px; margin-bottom: 14px; letter-spacing: -0.01em; }
.spot-notes { margin-top: 20px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.spot-notes span::before { content: "✓ "; color: var(--safe); font-weight: 700; }
@media (max-width: 860px) {
  .spotlight { grid-template-columns: 1fr; grid-template-areas: "head" "shot" "rest"; row-gap: 8px; }
  .spot-shot { position: relative; top: auto; width: min(300px, 86%); margin-bottom: 20px; }
}
@media (max-width: 560px) { .signals { grid-template-columns: 1fr; } }

/* Screenshot strip */
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 18px; margin: 0 -20px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.shots figure { flex: 0 0 auto; width: 236px; scroll-snap-align: start; }
.shots img { border-radius: 20px; border: 1px solid var(--line); width: 236px; height: 420px; object-fit: cover; background: var(--card); }
@media (max-width: 620px) { .shots figure, .shots img { width: 200px; } .shots img { height: 356px; } }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; width: 32px; height: 32px; border-radius: 10px; align-items: center; justify-content: center; font-weight: 800; background: rgba(99, 102, 241, .16); color: var(--primary-2); margin-bottom: 14px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Privacy band */
.privacy-band { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--soft); font-size: 15px; }
.checklist li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: rgba(34, 197, 94, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.lead-sm { color: var(--muted); font-size: 17px; margin: 14px 0 24px; }
@media (max-width: 860px) { .privacy-band { grid-template-columns: 1fr; gap: 28px; } }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin: 0 auto; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; }
.plan.plus { border-color: rgba(99, 102, 241, .6); background: linear-gradient(180deg, rgba(99, 102, 241, .12), var(--card) 40%); position: relative; }
.plan h3 { font-size: 22px; letter-spacing: -0.01em; }
.plan .price-note { color: var(--muted); font-size: 14px; margin: 6px 0 20px; min-height: 44px; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--soft); }
.plan li::before { content: "✓"; color: var(--safe); font-weight: 800; flex-shrink: 0; }
.plan li.no { color: var(--muted); }
.plan li.no::before { content: "–"; color: var(--muted); }
.plan .ribbon { position: absolute; top: -12px; inset-inline-end: 20px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .03em; }
.plans-foot { max-width: 900px; margin: 22px auto 0; color: var(--muted); font-size: 14px; text-align: center; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin: 18px auto 0; }
.extra { background: var(--card); border: 1px dashed var(--line); border-radius: 18px; padding: 20px 22px; }
.extra h4 { font-size: 16px; margin-bottom: 4px; }
.extra p { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .plans, .extras { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq details[open] { border-color: rgba(99, 102, 241, .45); }
.faq summary { cursor: pointer; list-style: none; padding-block: 18px; padding-inline: 0 28px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 14px; font-size: 22px; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--muted); font-size: 15px; }
.faq details > div p + p { margin-top: 10px; }

/* CTA band */
.cta-band { text-align: center; background: radial-gradient(600px 260px at 50% 0%, rgba(99, 102, 241, .25), transparent 70%), var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 56px 24px; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 26px; font-size: 17px; }
.cta-band .store-badges { justify-content: center; }

/* ── Document pages (privacy, terms, support) ──────────── */
.doc { padding: 48px 0 80px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 42px); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 8px; }
.doc .meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.doc .summary { background: var(--card); border: 1px solid var(--line); border-inline-start: 3px solid var(--primary); border-radius: 14px; padding: 18px 20px; margin-bottom: 32px; color: var(--soft); }
.doc .summary ul { margin: 8px 0 0; margin-inline-start: 18px; }
.doc .summary li { margin: 4px 0; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.01em; scroll-margin-top: 84px; }
.doc h3 { font-size: 17px; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--soft); }
.doc p { margin: 10px 0; }
.doc ul, .doc ol { margin-block: 10px; margin-inline: 22px 0; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
.doc .toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 8px; }
.doc .toc ol { margin: 6px 0 0; margin-inline-start: 20px; columns: 2; column-gap: 28px; }
.doc .toc li { margin: 3px 0; font-size: 14px; break-inside: avoid; }
@media (max-width: 620px) { .doc .toc ol { columns: 1; } }
.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
th, td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--soft); }
th { background: var(--card); color: var(--text); font-weight: 600; }
tr:last-child td { border-bottom: none; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.pill-local { background: rgba(34, 197, 94, .14); color: #86efac; }
.pill-net { background: rgba(245, 158, 11, .14); color: #fcd34d; }
.note { background: rgba(245, 158, 11, .08); border: 1px solid rgba(245, 158, 11, .3); border-radius: 12px; padding: 12px 16px; margin: 14px 0; color: var(--soft); font-size: 15px; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0 8px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.contact-card h3 { margin: 0 0 6px; font-size: 17px; }
.contact-card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
@media (max-width: 620px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 36px; margin-top: 40px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot-grid p { color: var(--muted); font-size: 14px; margin-top: 10px; max-width: 340px; }
.foot-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.foot-grid ul { list-style: none; display: grid; gap: 8px; }
.foot-grid ul a { color: var(--soft); font-size: 14px; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* Language suggestion banner */
.lang-banner { background: var(--card-2); border-bottom: 1px solid var(--line); font-size: 14px; }
.lang-banner .container { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
.lang-banner a { font-weight: 600; }
.lang-banner button { margin-inline-start: auto; background: none; border: none; color: var(--muted); font-size: 20px; cursor: pointer; padding: 0 6px; line-height: 1; }
.lang-banner[hidden] { display: none; }

/* Download page */
.center-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 48px 0; }
.center-page .app-icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 20px; box-shadow: 0 18px 40px -14px rgba(99, 102, 241, .7); }
.center-page h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.02em; margin-bottom: 10px; }
.center-page p { color: var(--muted); margin-bottom: 26px; }
.center-page .store-badges { justify-content: center; }
.center-page .status { margin-top: 18px; font-size: 14px; color: var(--muted); min-height: 22px; }

/* ── Scripts and languages ─────────────────────────────── */
/* Negative tracking breaks Arabic joining and crowds CJK, Thai and Devanagari. */
html:is([lang="ar"], [lang="hi"], [lang="ja"], [lang="ko"], [lang="th"]) * { letter-spacing: 0 !important; }
html:is([lang="ar"], [lang="hi"], [lang="th"]) :is(h1, h2, h3) { line-height: 1.4; }
html:is([lang="ar"], [lang="hi"], [lang="th"]) body { line-height: 1.75; }
html[lang="ko"] body { word-break: keep-all; }
html[lang="ja"] body { line-break: strict; }
/* Break Japanese headings between phrases, not inside words (Chromium; others fall back). */
html[lang="ja"] :is(h1, h2, h3) { word-break: auto-phrase; }
@media (max-width: 620px) {
  h1, h2 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
