/* PhoneProof website. Brand tokens match shared/design (dark surface, mint accent, Space Grotesk + Inter). */
@font-face { font-family: "Space Grotesk"; src: url("fonts/SpaceGrotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0B0D10; --bg-2: #101318; --surface: #15181D; --surface-2: #1B1F26; --border: #23272E; --border-2: #2E343D;
  --text: #F2F4F7; --muted: #A0A8B4; --dim: #6B7380;
  --accent: #3EE6B0; --accent-2: #2BC79A; --accent-ink: #062A1F; --accent-soft: rgba(62, 230, 176, .12);
  --warn: #F5B84B; --fail: #FF6B6B;
  --display: "Space Grotesk", "Kohinoor Devanagari", "Noto Sans Devanagari", system-ui, sans-serif;
  --body: "Inter", "Kohinoor Devanagari", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 22px; --radius-sm: 14px; --container: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 68px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:lang(hi) body, body:lang(hi) { line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #7CF2CB; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
:lang(hi) h1, :lang(hi) h2 { line-height: 1.3; letter-spacing: 0; }
.accent { color: var(--accent); background: linear-gradient(100deg, #3EE6B0 10%, #9AF7D6 50%, #3EE6B0 90%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: sheen 6s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.muted { color: var(--muted); } .dim { color: var(--dim); } .small { font-size: .875rem; } .center { text-align: center; }
.mono { font-family: var(--mono); }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container.narrow { width: min(100% - 32px, 780px); }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.icon-sm { width: 1em; height: 1em; } .icon-lg { width: 30px; height: 30px; }
.icon.ok { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* ---------- buttons, badges, links ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 1rem var(--body);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .3s, color .2s; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .925rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 30px -8px rgba(62, 230, 176, .55); }
.btn-primary:hover { color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(62, 230, 176, .7); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 10px; }
.cta-panel .badges { justify-content: center; }
.store-badge { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 20px 8px 16px; border-radius: 16px;
  background: linear-gradient(180deg, #1A1E25, #121519); border: 1px solid var(--border-2); color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); position: relative; overflow: hidden; }
.store-badge::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.08) 50%, transparent 70%);
  transform: translateX(-100%); animation: shine 5s var(--ease) infinite; }
.store-badge:nth-child(2)::after { animation-delay: .6s; }
@keyframes shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.store-icon { width: 28px; height: 28px; }
.store-badge small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.2; }
.store-badge strong { display: block; font: 600 1.15rem/1.2 var(--display); letter-spacing: -.01em; }
.badge-note { display: flex; align-items: center; gap: .45em; color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.badge-note .icon { color: var(--accent); }
.cta-panel .badge-note { justify-content: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font: 600 .8rem/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--accent);
  padding: 8px 14px; border-radius: 999px; background: var(--accent-soft); border: 1px solid rgba(62, 230, 176, .25); margin-bottom: 22px; }
:lang(hi) .eyebrow { text-transform: none; letter-spacing: .02em; font-size: .9rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(11, 13, 16, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-color: var(--border); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 1.2rem var(--display); letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand img { border-radius: 9px; }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .2s, background .2s; }
.nav a:hover, .nav a.active { color: var(--text); background: rgba(255, 255, 255, .05); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.nav + .header-actions { margin-inline-start: 0; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border-2);
  cursor: pointer; color: var(--text); font-weight: 600; font-size: .85rem; transition: border-color .2s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { border-color: var(--accent); }
.lang .caret { transition: transform .2s; } .lang[open] .caret { transform: rotate(180deg); }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 190px; list-style: none; margin: 0; padding: 6px; border-radius: 16px;
  background: rgba(21, 24, 29, .96); backdrop-filter: blur(16px); border: 1px solid var(--border-2); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6);
  animation: pop .18s var(--ease-out); z-index: 60; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.lang li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: .95rem; }
.lang li a:hover { background: rgba(255, 255, 255, .06); }
.lang li a[aria-current] { color: var(--accent); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-2); background: transparent; color: var(--text); cursor: pointer; place-items: center; }
.menu-toggle .icon-close { display: none; }
@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 auto; margin: 0; padding: 12px 16px 24px; background: rgba(11, 13, 16, .97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 14px 12px; font-size: 1.1rem; }
  .menu-open .menu-toggle .icon-open { display: none; } .menu-open .menu-toggle .icon-close { display: block; }
  .menu-open .site-header { background: rgba(11, 13, 16, .97); }
}

/* ---------- backgrounds ---------- */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.aurora { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.a1 { width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; background: radial-gradient(circle, rgba(62, 230, 176, .55), transparent 65%); top: -22%; right: -12%; animation: drift1 18s ease-in-out infinite alternate; }
.a2 { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 65%); bottom: -18%; left: -14%; animation: drift2 22s ease-in-out infinite alternate; }
.a3 { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; background: radial-gradient(circle, rgba(167, 139, 250, .28), transparent 65%); top: 30%; left: 38%; animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-8vw, 6vh) scale(1.1); } }
@keyframes drift2 { to { transform: translate(10vw, -8vh) scale(1.15); } }
@keyframes drift3 { to { transform: translate(-6vw, 10vh) scale(.9); } }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + clamp(40px, 8vh, 96px)) 0 clamp(60px, 10vh, 120px); min-height: min(100vh, 980px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 30px; }
.hero-visual { position: relative; height: min(640px, 72vh); min-height: 520px; perspective: 1400px; }
.device { position: absolute; border-radius: 44px; padding: 10px; background: linear-gradient(145deg, #2A2F37, #0E1013 60%); border: 1px solid #343A44;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255,255,255,.03) inset, 0 30px 80px -40px rgba(62, 230, 176, .35); overflow: hidden; }
.device .screen { border-radius: 35px; width: 100%; height: auto; }
.device-front { width: 300px; left: 50%; top: 50%; transform: translate(-38%, -50%) rotateY(-14deg) rotateX(4deg) translate3d(var(--tx, 0px), var(--ty, 0px), 0); z-index: 2; transition: transform .6s var(--ease-out); }
.device-back { width: 260px; left: 50%; top: 50%; transform: translate(-108%, -44%) rotateY(-14deg) rotateX(4deg) rotate(-5deg) translate3d(calc(var(--tx, 0px) * -.5), calc(var(--ty, 0px) * -.5), 0); opacity: .75; filter: saturate(.85); transition: transform .6s var(--ease-out); }
.scanline { position: absolute; inset-inline: 10px; top: 10px; height: 80px; border-radius: 35px 35px 0 0; background: linear-gradient(180deg, transparent, rgba(62, 230, 176, .22) 70%, rgba(62, 230, 176, .65) 100%);
  mix-blend-mode: screen; animation: scan 4.5s cubic-bezier(.45, 0, .55, 1) infinite; pointer-events: none; }
.scanline::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); box-shadow: 0 0 18px 4px rgba(62, 230, 176, .7); }
@keyframes scan { 0% { transform: translateY(-80px); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(620px); opacity: 0; } }
.orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(62, 230, 176, .2); transform: translate(-50%, -50%); }
.o1 { width: 520px; height: 520px; animation: spin 60s linear infinite; }
.o2 { width: 700px; height: 700px; border-style: solid; border-color: rgba(255, 255, 255, .04); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-size: .88rem; font-weight: 600; white-space: nowrap;
  background: rgba(21, 24, 29, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border-2);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7); animation: float 6s ease-in-out infinite; }
.chip > .icon:first-child { color: var(--accent); }
.chip-1 { top: 12%; right: 0; animation-delay: -1s; }
.chip-2 { top: 44%; right: -4%; animation-delay: -3s; }
.chip-3 { bottom: 12%; left: 4%; animation-delay: -2s; border-color: rgba(62, 230, 176, .45); box-shadow: 0 0 0 4px rgba(62, 230, 176, .08), 0 20px 40px -16px rgba(0,0,0,.7); }
.chip-4 { top: 6%; left: 2%; animation-delay: -4.5s; }
@keyframes float { 50% { transform: translateY(-12px); } }
@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; } .hero .badges, .hero .badge-note { justify-content: center; }
  .hero-visual { height: 560px; min-height: 0; margin-top: 10px; }
  .o2 { display: none; }
}
@media (max-width: 520px) {
  .hero-visual { height: 470px; }
  .device-front { width: 230px; } .device-back { width: 200px; }
  .o1 { width: 380px; height: 380px; }
  .chip { font-size: .78rem; padding: 8px 10px; }
  .chip-2 { right: 0; } .chip-4 { left: 0; }
}

/* ---------- stats ---------- */
.stats { border-block: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.015), transparent); }
.stats-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid li { padding: 34px 20px; text-align: center; border-inline-start: 1px solid var(--border); }
.stats-grid li:first-child { border-inline-start: 0; }
.stat-num { display: block; font: 700 clamp(2.2rem, 4.4vw, 3.4rem)/1 var(--display); letter-spacing: -.03em; margin-bottom: 8px;
  background: linear-gradient(180deg, #fff, #9EA6B3); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stats-grid span { color: var(--muted); font-size: .95rem; }
.stat-num .dim { -webkit-text-fill-color: var(--dim); margin: 0 .08em; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stats-grid li:nth-child(3) { border-inline-start: 0; } .stats-grid li:nth-child(n+3) { border-top: 1px solid var(--border); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 140px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { text-align: center; } .section-head.center .lead { margin-inline: auto; }
.card { position: relative; padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), #111419); border: 1px solid var(--border); overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.card .icon-lg { color: var(--accent); margin-bottom: 18px; }
.card h3 { margin-bottom: 8px; } .card p { color: var(--muted); margin: 0; font-size: .98rem; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(62, 230, 176, .11), transparent 45%); }
.spot:hover::before { opacity: 1; }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-grid li:nth-child(1), .feature-grid li:nth-child(6), .feature-grid li:nth-child(7), .feature-grid li:nth-child(8) { grid-column: span 2; }
.feature-grid li:nth-child(1) { background: radial-gradient(120% 140% at 100% 0%, rgba(62, 230, 176, .14), transparent 55%), linear-gradient(180deg, var(--surface), #111419); }
.feature-grid li:nth-child(6) { background: radial-gradient(120% 140% at 0% 100%, rgba(56, 189, 248, .12), transparent 55%), linear-gradient(180deg, var(--surface), #111419); }
@media (max-width: 960px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } .feature-grid li { grid-column: auto !important; } }

/* ---------- how it works ---------- */
.how-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps-line { position: absolute; inset-inline-start: 27px; top: 30px; bottom: 30px; width: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.steps-line span { position: absolute; inset: 0; background: linear-gradient(180deg, var(--accent), #38BDF8); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.step { display: flex; gap: 22px; padding: 22px 22px 22px 0; border-radius: var(--radius); transition: background .3s; }
.step-num { position: relative; z-index: 1; flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 700 1.3rem var(--display);
  background: var(--surface); border: 1px solid var(--border-2); color: var(--muted); transition: all .4s var(--ease-out); }
.step h3 { font-size: 1.4rem; margin-top: 12px; } .step p { color: var(--muted); margin: 0; }
.step.current .step-num { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 0 0 8px var(--accent-soft), 0 0 30px rgba(62, 230, 176, .5); }
.how-visual { position: sticky; top: calc(var(--header-h) + 40px); display: flex; justify-content: center; }
.device-sticky { position: relative; width: min(320px, 80%); display: grid; }
.device-sticky .screen { grid-area: 1 / 1; opacity: 0; transform: scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease-out); }
.device-sticky .screen.active { opacity: 1; transform: none; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } .how-visual { position: relative; top: 0; } }

/* ---------- signed report demo ---------- */
.reports { background: radial-gradient(60% 50% at 80% 40%, rgba(62, 230, 176, .08), transparent 70%); }
.reports-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; } .checks .icon { margin-top: .2em; }
.demo { padding: 26px; border-radius: 28px; background: linear-gradient(180deg, rgba(27, 31, 38, .9), rgba(17, 20, 25, .9)); border: 1px solid var(--border-2);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9); }
.demo-head h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; } .demo-head .icon { color: var(--accent); }
.demo-head p { margin-bottom: 18px; }
.report-card { padding: 20px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--border); transition: border-color .4s; }
.report-card.tampered { border-color: rgba(255, 107, 107, .6); animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.report-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.report-top strong { display: block; font-family: var(--display); font-size: 1.15rem; }
.ring { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 700 1.5rem var(--display); color: var(--accent);
  background: conic-gradient(var(--accent) calc(var(--p, 97) * 1%), var(--border) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--bg-2); }
.ring span { position: relative; }
.report-rows { margin: 0 0 14px; display: grid; gap: 2px; }
.report-rows div { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.report-rows dt { color: var(--muted); } .report-rows dd { margin: 0; }
.editable { font: 600 1rem var(--body); color: var(--text); background: rgba(255, 255, 255, .04); border: 1px dashed var(--border-2); border-radius: 10px; padding: 6px 12px; min-height: 36px; cursor: pointer;
  transition: border-color .2s, background .2s; }
.editable:hover { border-color: var(--accent); background: var(--accent-soft); }
.editable.changed { color: var(--fail); border-color: rgba(255, 107, 107, .6); border-style: solid; }
.editable[data-state="failed"] { color: var(--fail); }
.hashes { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, .3); margin-bottom: 14px; }
.hashes div { display: flex; gap: 10px; } .hashes span { color: var(--dim); min-width: 64px; }
.hashes code { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .3s; }
.tampered .hashes [data-hash-now] { color: var(--fail); }
.verdict { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); transition: all .3s; }
.verdict .icon { width: 24px; height: 24px; } .verdict .v-bad { display: none; }
.tampered .verdict { color: var(--fail); background: rgba(255, 107, 107, .1); }
.tampered .verdict .v-ok { display: none; } .tampered .verdict .v-bad { display: block; }
.demo [data-demo-reset] { margin-top: 14px; }
@media (max-width: 860px) { .reports-grid { grid-template-columns: 1fr; } }

/* ---------- split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-visual { position: relative; display: flex; justify-content: center; }
.split-visual .glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(62, 230, 176, .25), transparent 65%); filter: blur(40px); top: 15%; }
.device-flat { position: relative; width: min(320px, 82%); }
.split-visual .chip { opacity: 1; }
.split-visual .chip-a { top: 18%; inset-inline-start: 0; }
.split-visual .chip-b { bottom: 16%; inset-inline-end: 0; animation-delay: -3s; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* ---------- privacy ---------- */
.privacy-panel { position: relative; padding: clamp(40px, 7vw, 90px) clamp(20px, 5vw, 70px); border-radius: 36px; overflow: hidden;
  background: radial-gradient(80% 60% at 50% 0%, rgba(62, 230, 176, .14), transparent 60%), linear-gradient(180deg, #12161B, #0D0F13); border: 1px solid var(--border-2); }
.shield { width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 26px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft);
  border: 1px solid rgba(62, 230, 176, .3); box-shadow: 0 0 60px rgba(62, 230, 176, .35); animation: pulse 3.5s ease-in-out infinite; }
.shield .icon { width: 44px; height: 44px; }
@keyframes pulse { 50% { box-shadow: 0 0 90px rgba(62, 230, 176, .55); } }
.privacy-grid { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.privacy-grid .card { background: rgba(11, 13, 16, .6); }
@media (max-width: 960px) { .privacy-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .privacy-grid { grid-template-columns: 1fr; } }

/* ---------- audience ---------- */
.audience-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); margin-bottom: 18px; }
.audience-icon .icon-lg { margin: 0; }
@media (max-width: 860px) { .audience-grid { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery { overflow: hidden; }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.gallery-nav { display: flex; gap: 10px; margin-bottom: clamp(36px, 5vw, 60px); }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border-2); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, transform .2s; }
.round-btn:hover { border-color: var(--accent); transform: scale(1.05); }
.round-btn:disabled { opacity: .35; cursor: default; transform: none; }
.gallery-track { list-style: none; margin: 0; padding: 0 max(16px, calc((100vw - var(--container)) / 2)) 30px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: max(16px, calc((100vw - var(--container)) / 2)); scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track li { flex: none; width: clamp(220px, 24vw, 300px); scroll-snap-align: start; }
.shot { border-radius: 26px; border: 1px solid var(--border); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); transition: transform .4s var(--ease-out); }
.gallery-track li:hover .shot { transform: translateY(-6px); }
@media (max-width: 640px) { .gallery-nav { display: none; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: border-color .3s; }
.faq-item[open] { border-color: var(--border-2); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font: 600 1.08rem var(--display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .caret { transition: transform .3s var(--ease); color: var(--muted); }
.faq-item[open] .caret { transform: rotate(180deg); color: var(--accent); }
.faq-body { padding: 0 22px 20px; color: var(--muted); } .faq-body p { margin: 0; }

/* ---------- CTA ---------- */
.cta-panel { position: relative; overflow: hidden; text-align: center; padding: clamp(50px, 8vw, 100px) 24px; border-radius: 40px; border: 1px solid rgba(62, 230, 176, .3);
  background: linear-gradient(180deg, #10241D, #0C1014); }
.cta-glow { position: absolute; inset: -40% 10% auto; height: 120%; background: radial-gradient(circle at 50% 30%, rgba(62, 230, 176, .35), transparent 60%); filter: blur(30px); animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .6; transform: scale(1.1); } }
.cta-panel > * { position: relative; }
.cta-icon { margin: 0 auto 26px; border-radius: 22px; box-shadow: 0 20px 60px -10px rgba(62, 230, 176, .55); animation: float 6s ease-in-out infinite; }
.cta-panel .lead { margin-inline: auto; margin-bottom: 26px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 30px; background: linear-gradient(180deg, #0D0F12, var(--bg)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 30px; }
.site-footer h2 { font: 600 .85rem var(--body); color: var(--dim); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.site-footer a:hover { color: var(--text); }
.footer-brand p { color: var(--muted); margin: 14px 0 0; max-width: 34ch; }
.footer-brand .small { display: flex; gap: 8px; align-items: center; } .footer-brand .icon { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom p { margin: 0; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; color: var(--dim); }
.footer-langs a[aria-current] { color: var(--accent); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- text pages ---------- */
.doc-hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + 60px) 0 30px; overflow: hidden; }
.doc-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.prose { padding-bottom: 90px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .6em; }
.prose h2 { font-size: 1.5rem; margin: 2.2em 0 .6em; padding-top: .4em; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose p, .prose li { color: #C9CFD8; }
.prose ul, .prose ol { padding-inline-start: 1.3em; } .prose li { margin: .4em 0; } .prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); }
.doc-note { display: flex; align-items: center; gap: 8px; margin-top: 40px; }
.doc-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border); }
.support-faq { padding-bottom: 90px; } .support-faq h2 { font-size: 1.6rem; margin: 30px 0 20px; }
.notfound { min-height: 80vh; display: grid; place-items: center; }
.big-404 { font: 700 clamp(6rem, 20vw, 12rem)/1 var(--display); letter-spacing: -.05em; margin: 0; background: linear-gradient(180deg, var(--accent), transparent);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- language suggestion toast ---------- */
.toast { position: fixed; z-index: 70; inset-inline: 16px; bottom: 16px; margin-inline: auto; max-width: 460px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 16px; border-radius: 18px; background: rgba(21, 24, 29, .96); backdrop-filter: blur(16px); border: 1px solid var(--border-2);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); animation: rise .4s var(--ease-out); }
.toast[hidden] { display: none; }
.toast p { margin: 0; flex: 1 1 200px; font-size: .95rem; }
.toast .actions { display: flex; gap: 8px; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* ---------- scroll reveal (only when JS runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero [data-reveal] { transition-delay: calc(var(--d, 0) * 1ms); }
.js .device-front, .js .device-back, .js .chip { opacity: 0; }
.js .loaded .device-front, .js .loaded .device-back, .js .loaded .chip { opacity: 1; }
.loaded .device-front { animation: enter-front 1.2s var(--ease-out) both; }
.loaded .device-back { animation: enter-back 1.2s .15s var(--ease-out) both; }
.loaded .chip { animation: chip-in .8s var(--ease-out) both, float 6s ease-in-out 1s infinite; }
.loaded .chip-1 { animation-delay: .5s, -1s; } .loaded .chip-2 { animation-delay: .65s, -3s; } .loaded .chip-3 { animation-delay: .8s, -2s; } .loaded .chip-4 { animation-delay: .95s, -4.5s; }
@keyframes enter-front { from { opacity: 0; translate: 0 60px; } }
@keyframes enter-back { from { opacity: 0; translate: -40px 40px; } }
@keyframes chip-in { from { opacity: 0; scale: .8; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .scanline, .orbit { display: none; }
  .js [data-reveal], .js .device-front, .js .device-back, .js .chip { opacity: 1; transform: none; }
}

/* ---------- verify page (QR target) ---------- */
.verify-code { display: grid; gap: 14px; margin: 26px 0 6px; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid rgba(62, 230, 176, .35);
  box-shadow: 0 0 0 6px var(--accent-soft); }
.verify-code > div { display: grid; gap: 4px; }
.verify-code strong { font-size: clamp(1.6rem, 6vw, 2.4rem); color: var(--accent); letter-spacing: .06em; }
.verify-code code { color: var(--muted); word-break: break-all; }
.verify-code.empty strong { font-size: 1rem; color: var(--warn); letter-spacing: 0; font-family: var(--body); }
.verify-steps { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; }
.verify-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.verify-steps .step-num { width: 40px; height: 40px; font-size: 1rem; background: var(--accent-soft); color: var(--accent); border-color: rgba(62, 230, 176, .3); }
.verify-steps p { margin: 6px 0 0; }

/* "How PhoneProof works" video (docs/VIDEO.md) */
.howto { margin: 24px auto 34px; max-width: 460px; }
.howto-frame { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: #0B0D10; border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.howto-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.howto-transcript { margin-top: 14px; padding: 12px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.howto-transcript summary { cursor: pointer; font-weight: 600; }
.howto-transcript ol { margin: 10px 0 0; padding-inline-start: 22px; display: grid; gap: 6px; }
.howto-section h2.center { text-align: center; }
.howto-frame { position: relative; }
.howto-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border: 0; cursor: pointer; color: #fff; font: inherit; font-weight: 600; background: linear-gradient(180deg, rgba(11, 13, 16, .15), rgba(11, 13, 16, .6)); transition: opacity .2s; }
.howto-play-icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: #0B0D10; box-shadow: 0 12px 40px rgba(62, 230, 176, .45); transition: transform .2s; }
.howto-play-icon svg { margin-inline-start: 4px; }
.howto-play:hover .howto-play-icon, .howto-play:focus-visible .howto-play-icon { transform: scale(1.06); }
.howto-play > span:last-child { padding: 6px 14px; border-radius: 999px; background: rgba(11, 13, 16, .72); }
.howto-frame.playing .howto-play { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .howto-play, .howto-play-icon { transition: none; } }
