/* Νεκρή Γραμμή — site. The app's identity: near-black, high contrast, one red that
   only ever means danger, green only for «Απάντηση», gold for evidence. Mobile first. */

:root {
  --bg: #0B0D10;
  --surface: #14181D;
  --raised: #1C2229;
  --border: #252C34;
  --line: #3A434D;
  --text: #E8E6E1;
  --muted: #8A9199;
  --faint: #5A616A;
  --blood: #B3121D;
  --blood-hi: #E0303C;
  --answer: #1FA855;
  --gold: #C9A227;

  --sans: 'Commissioner', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --gutter: 16px;
  --header: 60px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Film grain over everything, very faint. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 5.4vw, 52px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 820px; }
.kicker {
  font: 700 12px/1.4 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn-blood { background: var(--blood); color: #fff; }
.btn-blood:hover { background: var(--blood-hi); }
.btn-answer { background: var(--answer); color: #04140a; }
.btn-gold { background: var(--gold); color: #1a1405; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn svg { width: 14px; height: 14px; fill: currentColor; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header);
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(11, 13, 16, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--border); }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 40px; height: 20px; fill: none; stroke: var(--blood); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font: 700 13px/1 var(--mono); letter-spacing: .2em; }
.nav { display: none; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--text); }
.nav-toggle {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  display: grid; place-content: center; gap: 7px; position: relative; z-index: 60;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: transform .25s ease; }
.nav-toggle[aria-expanded='true'] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
body.menu-open { overflow: hidden; }
/* A blurred header would trap the fixed menu inside its 60px: while open, the header is the menu. */
body.menu-open .site-header { height: 100vh; height: 100dvh; background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open .header-row { height: var(--header); align-items: center; }
body.menu-open .nav {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px;
  position: fixed; inset: 0; z-index: 55; background: var(--bg); padding: 80px 28px;
}
body.menu-open .nav a { font-size: 28px; color: var(--text); font-weight: 800; }
body.menu-open .nav .nav-cta { font-size: 18px; margin-top: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header) + 28px) 0 120px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; animation: drift 40s ease-in-out infinite alternate; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 70% 40%, transparent 0%, rgba(11,13,16,.55) 55%, var(--bg) 100%), linear-gradient(to bottom, rgba(11,13,16,.6), transparent 30%, transparent 60%, var(--bg)); }
@keyframes drift { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(64px, 17vw, 150px); font-weight: 800; letter-spacing: -.045em; line-height: .86; margin-bottom: 22px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: #cfccc6; max-width: 34em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.facts li { display: flex; flex-direction: column; }
.facts b { font: 700 30px/1 var(--mono); }
.facts span { color: var(--muted); font-size: 14px; margin-top: 6px; }
.hero-phone { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone-hint { font: 500 12px/1.3 var(--mono); color: var(--faint); letter-spacing: .08em; text-transform: uppercase; transition: opacity .4s; }
.pulse-line { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: 90px; pointer-events: none; }

/* ---------- the phone and the call ---------- */
.phone {
  position: relative; width: min(300px, 80vw, calc((100svh - 170px) * 9 / 19)); min-width: 240px; aspect-ratio: 9 / 19;
  border-radius: 46px; padding: 11px; background: #050607;
  box-shadow: 0 0 0 1px #2a3038, 0 40px 80px -20px rgba(0,0,0,.8), 0 0 120px -30px rgba(179,18,29,.0);
  transition: box-shadow .6s ease;
}
.phone[data-state='ringing'] { animation: buzz 1.6s infinite; box-shadow: 0 0 0 1px #2a3038, 0 40px 80px -20px rgba(0,0,0,.8), 0 0 140px -20px rgba(31,168,85,.35); }
.phone[data-state='call'] { box-shadow: 0 0 0 1px #2a3038, 0 40px 80px -20px rgba(0,0,0,.8), 0 0 140px -30px rgba(31,168,85,.25); }
@keyframes buzz {
  0%, 46%, 100% { transform: translate(0, 0) rotate(0); }
  2%, 10%, 18%, 26%, 34%, 42% { transform: translate(-2px, 0) rotate(-1.2deg); }
  6%, 14%, 22%, 30%, 38% { transform: translate(2px, 0) rotate(1.2deg); }
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 20px; background: #050607; z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(170deg, #161b21 0%, #0d1014 60%, #0a0c0f 100%); }

.call { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 56px 18px 26px; text-align: center; }
.call-label { font: 600 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.call-name { font-size: 22px; font-weight: 700; margin-top: 10px; line-height: 1.2; }
.call-sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.call-avatar { position: relative; width: 84px; height: 84px; border-radius: 50%; margin: 24px 0 8px; display: grid; place-items: center; background: var(--raised); border: 1px solid var(--border); font: 700 30px/1 var(--sans); color: var(--muted); flex: 0 0 auto; }
.call-avatar svg { width: 38px; height: 38px; fill: var(--muted); }
.ringing .call-avatar::before, .ringing .call-avatar::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--answer); opacity: 0; animation: ripple 2s ease-out infinite; }
.ringing .call-avatar::after { animation-delay: 1s; }
@keyframes ripple { from { transform: scale(1); opacity: .7; } to { transform: scale(1.9); opacity: 0; } }
.call-transcript {
  flex: 1 1 auto; width: 100%; overflow-y: auto; margin: 10px 0 14px; padding: 4px 4px 30px;
  text-align: left; font-size: 15px; line-height: 1.6; color: var(--text);
  scrollbar-width: none; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 30px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 30px), transparent 100%);
}
.call-transcript::-webkit-scrollbar { display: none; }
.w { opacity: 0; transition: opacity .25s ease; }
.w.on { opacity: 1; }
.sweep .w { opacity: .35; }
.sweep .w.on { opacity: 1; }
.call-spacer { flex: 1 1 auto; }
.call-actions { display: flex; justify-content: center; gap: 46px; width: 100%; }
.call-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; font-size: 12px; color: var(--muted); -webkit-tap-highlight-color: transparent; }
.call-btn i { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; transition: transform .15s ease, filter .2s; }
.call-btn:hover i { filter: brightness(1.12); }
.call-btn:active i { transform: scale(.92); }
.call-btn svg { width: 28px; height: 28px; fill: #fff; }
.call-btn.answer i { background: var(--answer); }
.call-btn.answer.wiggle i { animation: wiggle 1.2s ease-in-out infinite; }
@keyframes wiggle { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-14deg); } 80% { transform: rotate(14deg); } 90% { transform: rotate(-8deg); } }
.call-btn.decline i, .call-btn.hangup i { background: var(--blood); }
.call-btn.decline svg, .call-btn.hangup svg { transform: rotate(135deg); }
.call-timer { font: 500 13px/1 var(--mono); color: var(--answer); margin-top: 8px; }
.call-ended .call-timer { color: var(--muted); }
.call-note { color: var(--muted); font-size: 14px; margin-top: 18px; }
.call-cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.lock-time { font: 700 64px/1 var(--sans); letter-spacing: -.03em; margin-top: 30px; }
.lock-date { color: var(--muted); font-size: 14px; margin-top: 6px; }
.lock-note { margin-top: auto; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 18px; padding: 12px 14px; text-align: left; width: 100%; font-size: 13px; }
.lock-note b { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.missed-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blood-hi); margin-right: 6px; vertical-align: middle; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 11vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-bottom: 16px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* how */
.how-grid { display: grid; gap: 48px; align-items: start; }
.how-grid h2 { margin-bottom: 36px; max-width: 14em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.steps li:last-child { border-bottom: 0; }
.step-n { font: 700 15px/1.6 var(--mono); color: var(--blood-hi); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); }
.film { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.film-frame { width: min(320px, 82vw); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--border), 0 30px 60px -20px rgba(0,0,0,.7); }
.film-frame video { width: 100%; height: 100%; object-fit: cover; }
.film figcaption { color: var(--faint); font-size: 14px; text-align: center; max-width: 22em; }

/* demo */
.section-demo { background: linear-gradient(to bottom, var(--bg), #0e1115 30%, #0e1115 70%, var(--bg)); }
.demo { position: relative; max-width: 1020px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; overflow: clip; min-height: 520px; box-shadow: 0 40px 100px -40px rgba(0,0,0,.8); }
.demo-pad { padding: 22px 18px; }
.demo-file { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
.demo-file .cover { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.demo-file .cover img { width: 100%; height: 100%; object-fit: cover; }
.demo-file .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, var(--surface)); }
.demo-title { font-size: clamp(28px, 5vw, 40px); font-weight: 800; margin-bottom: 14px; }
.demo-text { font-size: 17px; line-height: 1.7; color: #d6d3cd; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.demo-note { margin-top: 16px; color: var(--faint); font-size: 14px; }
.demo-play { display: grid; grid-template-columns: minmax(0, 1fr); }
.demo-bar { flex-wrap: nowrap; position: sticky; top: var(--header); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: rgba(20,24,29,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.clock { display: flex; align-items: baseline; gap: 10px; }
.clock b { font: 700 clamp(20px, 6vw, 28px)/1 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.clock span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.clock.low b { color: var(--blood-hi); }
.timebar { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--gold); transition: width .6s ease; }
.demo-main { display: grid; grid-template-columns: minmax(0, 1fr); }
.demo-main > *, .demo-file > * { min-width: 0; }
.place { position: relative; }
.place-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.place-img img { width: 100%; height: 100%; object-fit: cover; animation: kb 18s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1%, -1%); } }
.place-img .here { position: absolute; left: 14px; top: 14px; font: 700 11px/1 var(--mono); letter-spacing: .14em; background: rgba(0,0,0,.6); padding: 7px 10px; border-radius: 999px; color: var(--gold); }
.place-body { padding: 18px; }
.place-body h3 { font-size: 24px; margin-bottom: 8px; }
.place-body p { color: var(--muted); }
.search-btn { margin-top: 16px; }
.searched { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--gold); font-weight: 600; font-size: 15px; }
.go { padding: 0 18px 18px; }
.go h4, .ev h4 { font: 700 12px/1 var(--mono); letter-spacing: .14em; color: var(--muted); margin: 6px 0 12px; text-transform: uppercase; }
.go-list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.go-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; cursor: pointer; transition: border-color .2s, transform .15s; }
.go-item:hover:not([disabled]) { border-color: var(--muted); }
.go-item:active:not([disabled]) { transform: scale(.99); }
.go-item[disabled] { opacity: .45; cursor: not-allowed; }
.go-item b { font-weight: 600; }
.go-item small { display: block; color: var(--faint); font-size: 13px; margin-top: 2px; }
.cost { font: 700 15px/1 var(--mono); color: var(--gold); white-space: nowrap; }
.ev { padding: 18px; border-top: 1px solid var(--border); }
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ev-empty { color: var(--faint); font-size: 15px; }
.ev-item { background: var(--raised); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--r-sm); padding: 12px 14px; animation: drop .45s ease; }
.ev-item.vm { border-left-color: var(--answer); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ev-item b { display: block; font-size: 15px; margin-bottom: 3px; }
.ev-item p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.listen { margin-top: 8px; background: none; border: 0; padding: 4px 0; color: var(--gold); font: 600 13px/1 var(--sans); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.listen svg { width: 14px; height: 14px; fill: currentColor; }
.listen.playing { color: var(--text); }
.unmute { display: flex; margin: 0 0 10px; font-size: 15px; }
.progress { height: 2px; background: var(--border); border-radius: 2px; margin-top: 8px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--gold); }
.accuse-row { padding: 18px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.toast { position: fixed; left: 50%; top: calc(var(--header) + 74px); transform: translate(-50%, -12px); opacity: 0; z-index: 8; background: var(--raised); border: 1px solid var(--border); padding: 10px 16px; border-radius: 999px; font-size: 14px; white-space: nowrap; pointer-events: none; transition: opacity .3s, transform .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* demo overlay: the call, the accusation */
body.overlay-open { overflow: hidden; }
.overlay { position: fixed; inset: 0; z-index: 80; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); background: rgba(8,10,12,.97); display: flex; align-items: stretch; justify-content: center; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.overlay .call { position: relative; inset: auto; max-width: 440px; width: 100%; padding-top: 40px; }
.choose { width: 100%; max-width: 640px; padding: 34px 18px; overflow-y: auto; }
.choose h3 { font-size: 26px; margin-bottom: 8px; }
.choose > p { color: var(--muted); margin-bottom: 20px; }
.choices { display: grid; gap: 10px; list-style: none; margin: 0 0 18px; padding: 0; }
.choice { width: 100%; text-align: left; background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; cursor: pointer; transition: border-color .2s; }
.choice:hover { border-color: var(--muted); }
.choice[aria-pressed='true'] { border-color: var(--blood-hi); box-shadow: inset 0 0 0 1px var(--blood-hi); }
.choice b { display: block; font-size: 17px; }
.choice small { color: var(--muted); font-size: 14px; }
.choose-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ending { width: 100%; max-width: 640px; padding: 40px 18px; overflow-y: auto; }
.ending h3 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; margin: 6px 0 18px; }
.ending .call-transcript { font-size: 18px; min-height: 8em; max-height: none; overflow: visible; -webkit-mask-image: none; mask-image: none; padding: 0; margin: 0 0 22px; }
.ending .stats { display: flex; flex-wrap: wrap; gap: 22px; margin: 0 0 26px; color: var(--muted); font-size: 14px; }
.ending .stats b { display: block; font: 700 22px/1.2 var(--mono); color: var(--text); }
.ending .demo-actions { margin-top: 0; }
.verdict-solved { color: var(--answer); }
.verdict-half { color: var(--gold); }
.verdict-wrong, .verdict-time { color: var(--blood-hi); }

/* cases */
.cases-grid { display: grid; gap: 32px; }
.map-wrap { position: relative; }
.island { width: 100%; height: auto; overflow: visible; }
.island .land { fill: #12161b; stroke: #39424c; stroke-width: 1.5; }
.island .grid { stroke: #161b21; stroke-width: 1; }
.island .pin { cursor: pointer; }
.island .pin circle.dot { fill: var(--blood); stroke: var(--bg); stroke-width: 3; transition: fill .2s; }
.island .pin circle.halo { fill: none; stroke: var(--blood); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: halo 2.6s ease-out infinite; }
.island .pin.demo circle.dot { fill: var(--gold); }
.island .pin.demo circle.halo { stroke: var(--gold); }
.island .pin text { font: 700 24px var(--mono); fill: var(--text); paint-order: stroke; stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; }
.island .pin text.sub { font: 600 19px var(--sans); fill: var(--muted); }
.island .pin.active circle.dot { fill: var(--gold); }
.island .pin.active text { fill: var(--gold); }
@keyframes halo { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.dossiers { display: grid; gap: 16px; }
.dossier { position: relative; display: grid; grid-template-columns: 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: border-color .25s, transform .25s; }
.dossier.active, .dossier:hover { border-color: var(--gold); }
.dossier .cover { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.dossier .cover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .8s ease; }
.dossier:hover .cover img { transform: scale(1.05); }
.dossier .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11,13,16,.1), rgba(20,24,29,.95)); }
.dossier .num { position: absolute; left: 16px; bottom: 6px; z-index: 1; font: 700 54px/1 var(--mono); color: rgba(232,230,225,.92); letter-spacing: -.04em; }
.dossier .stamp { position: absolute; right: 14px; top: 14px; z-index: 1; font: 700 12px/1 var(--mono); letter-spacing: .12em; padding: 7px 9px; border: 1.5px solid currentColor; border-radius: 4px; color: var(--blood-hi); background: rgba(11,13,16,.55); transform: rotate(4deg); }
.dossier .body { padding: 6px 16px 18px; }
.dossier .where { font: 700 11px/1.4 var(--mono); letter-spacing: .14em; color: var(--gold); text-transform: uppercase; }
.dossier h3 { font-size: 24px; margin: 6px 0 8px; }
.dossier p { color: var(--muted); font-size: 15px; }
.dossier .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.play-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 9px 14px; cursor: pointer; font-weight: 600; font-size: 14px; transition: border-color .2s; }
.play-btn:hover { border-color: var(--text); }
.play-btn svg { width: 12px; height: 12px; fill: currentColor; }
.chip { font: 600 12px/1 var(--mono); color: var(--faint); }

/* roles */
.roles { display: grid; grid-template-columns: 1fr; gap: 12px; }
.role { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px 18px; position: relative; overflow: hidden; }
.role::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); }
.role .icon { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.role h3 { font: 700 13px/1.3 var(--mono); letter-spacing: .14em; color: var(--gold); margin-bottom: 8px; }
.role p { font-size: 16px; }
.role small { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }
.dealer { margin-top: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 18px; }
.dealer-head { margin-bottom: 16px; }
.dealer-head h3 { font-size: 22px; margin-bottom: 6px; }
.dealer-form { display: flex; gap: 10px; }
.dealer-form input { flex: 1 1 auto; min-width: 0; min-height: 50px; padding: 0 16px; background: var(--raised); border: 1px solid var(--border); border-radius: 999px; font-size: 16px; }
.dealer-form input:focus { outline: none; border-color: var(--gold); }
.chips { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-height: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; background: var(--raised); border: 1px solid var(--border); border-radius: 999px; padding: 6px 6px 6px 14px; font-size: 15px; }
.chips button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--border); color: var(--muted); cursor: pointer; line-height: 1; }
.deal { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.deal li { display: grid; grid-template-columns: 1fr; gap: 2px; background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; animation: flip .5s ease both; }
.deal li b { font-size: 18px; }
.deal li span { font: 700 12px/1.5 var(--mono); letter-spacing: .12em; color: var(--gold); }
.deal li small { color: var(--muted); font-size: 14px; }
@keyframes flip { from { opacity: 0; transform: perspective(600px) rotateX(-70deg); } to { opacity: 1; transform: none; } }

/* features */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.features li { background: var(--bg); padding: 26px 20px; }
.features h3 { margin-bottom: 8px; }
.features p { color: var(--muted); font-size: 16px; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 0 18px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 500 22px/1 var(--mono); color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 18px; }

/* final */
.final { text-align: center; overflow: hidden; }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final h2 { font-size: clamp(44px, 10vw, 110px); letter-spacing: -.04em; margin-bottom: 10px; }
.final .muted { font-size: 19px; margin-bottom: 30px; }
.pulse-line-final { position: absolute; top: 50%; transform: translateY(-50%); height: 160px; bottom: auto; opacity: .55; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 20px; border-radius: 14px; background: var(--text); color: var(--bg); text-decoration: none; font-weight: 700; transition: transform .15s; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 24px; height: 24px; fill: currentColor; }
.store small { display: block; font-size: 11px; font-weight: 600; opacity: .7; line-height: 1.2; }
.store span { line-height: 1.2; text-align: left; }
.store.soon { background: transparent; color: var(--muted); border: 1px dashed var(--line); cursor: default; }
.follow { margin: 34px 0 0; font: 700 12px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.follow + .social { margin-top: 12px; }
.faq details a { color: var(--gold); }
.social { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.social:empty { display: none; }
.social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: border-color .2s, color .2s; color: var(--muted); }
.social a:hover { border-color: var(--text); color: var(--text); }
.social svg { width: 20px; height: 20px; fill: currentColor; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 30px 0 40px; }
.footer-row { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--mono); letter-spacing: .2em; }
.site-footer .social { margin: 0; }

/* modal */
.modal { width: min(920px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); color: var(--text); }
.modal::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(4px); }
.modal-inner { position: relative; padding: 22px 18px 18px; }
.modal h3 { font-size: 24px; margin-bottom: 10px; padding-right: 40px; }
.modal-close { position: absolute; right: 10px; top: 10px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 24px; cursor: pointer; line-height: 1; }
.warning { color: var(--muted); font-size: 14px; border-left: 2px solid var(--blood); padding-left: 12px; margin-bottom: 14px; }
.modal-video { aspect-ratio: 16 / 9; background: #000; border-radius: var(--r-md); overflow: hidden; }
.modal-video video { width: 100%; height: 100%; }

/* ---------- wider screens ---------- */
@media (min-width: 560px) {
  .roles { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .deal { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  :root { --gutter: 28px; --header: 68px; }
  .demo-pad { padding: 30px; }
  .place-body, .go, .ev, .accuse-row { padding-left: 24px; padding-right: 24px; }
  .dealer { padding: 28px; }
  .modal-inner { padding: 28px; }
  .dossier { grid-template-columns: 200px 1fr; }
  .dossier .cover { aspect-ratio: auto; min-height: 100%; }
  .dossier .cover::after { background: linear-gradient(to right, transparent 40%, rgba(20,24,29,.9)); }
  .dossier .body { padding: 18px 20px 18px 4px; }
}
@media (min-width: 960px) {
  .nav { display: flex; align-items: center; gap: 26px; }
  .nav-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 60px; }
  .how-grid { grid-template-columns: 1.2fr .8fr; gap: 80px; }
  .film { position: sticky; top: calc(var(--header) + 30px); }
  .demo-main { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .demo-main .side { border-left: 1px solid var(--border); display: flex; flex-direction: column; }
  .demo-main .side .ev { border-top: 0; flex: 1 1 auto; }
  .demo-file { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .demo-file .cover { aspect-ratio: auto; min-height: 100%; }
  .demo-file .cover::after { background: linear-gradient(to right, transparent 50%, var(--surface)); }
  .demo-file .demo-pad { padding: 44px 40px; }
  .cases-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
  .map-wrap { position: sticky; top: calc(var(--header) + 40px); }
  .roles { grid-template-columns: repeat(4, 1fr); }
  .features { grid-template-columns: repeat(3, 1fr); }
  .footer-row { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-row p { max-width: 30em; text-align: right; }
}
@media (hover: none) {
  .dossier:hover { border-color: var(--border); }
  .dossier.active { border-color: var(--gold); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- mini-case: additions ---------- */
.music { padding: 0 14px; }
@media (max-width: 480px) {
  .music .lbl { display: none; }
  .demo-bar { padding: 10px 12px; gap: 8px; }
  .clock { gap: 6px; }
  .clock span { font-size: 11px; }
}
.demo-date { font: 600 13px/1.4 var(--mono); color: var(--muted); letter-spacing: .06em; margin: -6px 0 14px; }
.btn.last, .go-item.last { border-color: var(--blood-hi); }
.btn-gold.last { background: transparent; color: var(--blood-hi); border-color: var(--blood-hi); }
.go-item.last .cost { color: var(--blood-hi); }
.island-mini { max-width: 420px; margin: 0 0 14px; }
.ev-actions { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ev-item.cam { border-left-color: var(--text); }
.people-h { margin-top: 22px !important; }
.people { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.people li { background: var(--raised); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; font-size: 14px; animation: drop .45s ease; }
.people li b { display: block; font-weight: 600; }
.people li small { color: var(--muted); font-size: 12px; }
.people li.victim { border-color: #3a2226; }
.people li.victim b::before { content: '† '; color: var(--blood-hi); }
.call-host { position: relative; width: 100%; max-width: 440px; display: flex; }

/* the camera screen */
.cctv { width: 100%; max-width: 980px; margin: auto; padding: 18px; display: grid; gap: 16px; align-content: center; overflow-y: auto; }
.cctv-stage { position: relative; aspect-ratio: 1344 / 768; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--border); }
.cctv-stage video { width: 100%; height: 100%; object-fit: cover; }
.hud { position: absolute; left: 0; right: 0; display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; font: 700 clamp(10px, 1.6vw, 14px)/1.2 var(--mono); letter-spacing: .08em; color: #f2f2f2; text-shadow: 0 1px 2px #000, 0 0 6px rgba(0,0,0,.8); pointer-events: none; }
.hud-top { top: 0; }
.hud-bottom { bottom: 0; }
.hud .tc { font-size: clamp(13px, 2.2vw, 20px); font-variant-numeric: tabular-nums; }
.rec { display: inline-flex; align-items: center; gap: 6px; }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: #ff2b2b; animation: rec 1.4s steps(1) infinite; }
@keyframes rec { 50% { opacity: 0; } }
.cctv-event { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); background: rgba(179,18,29,.88); color: #fff; font: 700 clamp(10px, 1.5vw, 13px)/1.3 var(--mono); letter-spacing: .1em; padding: 7px 12px; border-radius: 4px; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; animation: fade .3s ease; }
.cctv-caption .kicker { margin-bottom: 6px; }
.cctv-caption p { color: var(--muted); }
.cctv-caption .demo-actions { margin-top: 14px; }

/* the call coming down from the top of a phone's screen */
.heads-up {
  position: fixed; left: 10px; right: 10px; top: calc(10px + env(safe-area-inset-top)); z-index: 90;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px;
  background: rgba(28, 34, 41, .96); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translateY(calc(-100% - 30px)); transition: transform .45s cubic-bezier(.2,.9,.3,1.2);
  max-width: 460px; margin: 0 auto;
}
.heads-up.show { transform: none; }
.heads-up .call-avatar { width: 42px; height: 42px; margin: 0; }
.heads-up .call-avatar svg { width: 22px; height: 22px; }
.hu-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.hu-text b { font-size: 15px; }
.hu-text span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hu-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; flex: none; }
.hu-btn svg { width: 22px; height: 22px; fill: #fff; }
.hu-btn.decline { background: var(--blood); }
.hu-btn.decline svg { transform: rotate(135deg); }
.hu-btn.answer { background: var(--answer); animation: wiggle 1.2s ease-in-out infinite; }
