/* Pulse site: 80s subway graffiti. Brick wall, ink outlines, neon, hazard tape. */
:root {
  --bg: #0b0c0d;
  --wall: #1a1c1e;
  --ink: #0b0b0c;
  --card: #1c1f21;
  --text: #f4f1e8;
  --dim: #a7a9ad;
  --lime: #9cff2e;
  --cyan: #38d6ff;
  --pink: #ff4fa0;
  --yellow: #ffd23f;
  --orange: #ff7a1a;
  --violet: #a267ff;
  --red: #ff4141;
  --comic: 'Bangers', Impact, sans-serif;
  --tag: 'Permanent Marker', cursive;
  --block: 'Russo One', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
body::before {
  /* Brick wall (offset rows) fading into the dark. */
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(162, 103, 255, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(11, 12, 13, 0.25), rgba(11, 12, 13, 0.9) 75%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='52'%3E%3Crect width='64' height='52' fill='%23232628'/%3E%3Cg fill='%232c3033'%3E%3Crect x='2' y='2' width='60' height='22' rx='3'/%3E%3Crect x='-30' y='28' width='60' height='22' rx='3'/%3E%3Crect x='34' y='28' width='60' height='22' rx='3'/%3E%3C/g%3E%3C/svg%3E");
}
a { color: var(--cyan); }
img { max-width: 100%; height: auto; display: block; }

/* ---------- shared bits ---------- */
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.hazard { height: 18px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--ink) 18px 36px); border-block: 3px solid var(--ink); }
.comic { font-family: var(--comic); letter-spacing: 0.04em; font-weight: 400; line-height: 0.95; }
.tag { font-family: var(--tag); }
.block { font-family: var(--block); }
.outline { color: var(--text); text-shadow: 3px 3px 0 var(--ink), -1px -1px 0 var(--ink), 1px -1px 0 var(--ink), -1px 1px 0 var(--ink), 5px 6px 0 var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--comic); font-size: 1.6rem; letter-spacing: 0.05em; text-decoration: none;
  color: var(--ink); background: var(--lime);
  padding: 12px 26px 10px; border: 3px solid var(--ink); border-bottom-width: 7px; border-radius: 14px;
  box-shadow: 0 0 28px rgba(156, 255, 46, 0.45);
  transition: transform 0.08s ease, border-bottom-width 0.08s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); border-bottom-width: 4px; }
.btn.alt { background: var(--cyan); box-shadow: 0 0 28px rgba(56, 214, 255, 0.35); }
.btn.ghost { background: var(--card); color: var(--text); box-shadow: none; }
.btn small { font-family: var(--block); font-size: 0.75rem; letter-spacing: 0; }
.sticker {
  display: inline-block; font-family: var(--comic); font-size: 1.1rem; letter-spacing: 0.06em;
  color: var(--ink); background: var(--yellow); padding: 4px 12px 2px;
  border: 3px solid var(--ink); border-radius: 8px; transform: rotate(-4deg); box-shadow: 4px 4px 0 var(--ink);
}
.panel {
  background: linear-gradient(180deg, #23272a, #16181a);
  border: 3px solid var(--ink); border-radius: 16px;
  box-shadow: 0 0 0 2px #3a3f44 inset, 6px 6px 0 var(--ink);
  padding: 20px;
}

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 12, 13, 0.88); backdrop-filter: blur(8px); border-bottom: 3px solid var(--ink); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 9px; border: 2px solid var(--ink); }
.brand span { font-family: var(--comic); font-size: 1.8rem; letter-spacing: 0.06em; }
.top nav { display: flex; gap: 18px; align-items: center; }
.top nav a { font-family: var(--block); font-size: 0.85rem; color: var(--dim); text-decoration: none; text-transform: uppercase; }
.top nav a:hover { color: var(--lime); }
.top nav .btn { font-size: 1.1rem; padding: 6px 14px 4px; border-bottom-width: 5px; color: var(--ink); }
@media (max-width: 720px) { .top nav a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center; }
.hero .kicker { font-family: var(--tag); color: var(--lime); font-size: 1.3rem; transform: rotate(-2deg); display: inline-block; }
.hero h1 { font-family: var(--comic); font-size: clamp(3.4rem, 9vw, 6.6rem); margin: 8px 0 12px; letter-spacing: 0.03em; line-height: 0.9; }
.hero h1 .drip { color: var(--yellow); position: relative; }
.hero p.lead { font-size: 1.15rem; color: #d8d6cf; max-width: 34em; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.hero .note { font-size: 0.85rem; color: var(--dim); margin-top: 12px; }
.phone {
  position: relative; width: min(300px, 80vw); margin: 0 auto;
  border: 4px solid var(--ink); border-radius: 40px; padding: 8px; background: linear-gradient(135deg, #c9cdd0, #33383b);
  box-shadow: 0 0 60px rgba(156, 255, 46, 0.25), 10px 12px 0 var(--ink); transform: rotate(3deg);
}
.phone img { border-radius: 32px; border: 2px solid var(--ink); }
.phone .sticker { position: absolute; top: 40px; left: -34px; }
.phone .sticker.b { top: auto; bottom: 70px; left: auto; right: -30px; background: var(--pink); transform: rotate(6deg); }
.pulse-line { width: 100%; height: 60px; margin-top: 8px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .phone { margin-top: 24px; } }

/* ---------- sections ---------- */
section { padding: 56px 0; }
.section-title { font-family: var(--comic); font-size: clamp(2.4rem, 6vw, 3.6rem); margin: 0 0 6px; letter-spacing: 0.04em; }
.section-sub { color: var(--dim); margin: 0 0 28px; max-width: 40em; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { position: relative; }
.feature .icon { font-size: 2rem; width: 58px; height: 58px; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 14px; margin-bottom: 12px; box-shadow: 3px 3px 0 var(--ink); }
.feature h3 { font-family: var(--comic); font-size: 1.7rem; letter-spacing: 0.04em; margin: 0 0 6px; }
.feature p { margin: 0; color: #cfcdc6; font-size: 0.97rem; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.shots { position: relative; }
.shots .viewport { overflow: hidden; padding: 12px 0 8px; touch-action: pan-y; }
.shots .track { position: relative; height: 600px; }
.shots figure {
  position: absolute; top: 0; left: 50%; width: 240px; margin: 0 0 0 -120px; cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}
.shots figure.on { cursor: default; z-index: 1; }
.shots figure.jump { transition: none; }
.shots img { border: 3px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); }
.shots figure.on img { box-shadow: 6px 6px 0 var(--ink), 0 0 40px rgba(156, 255, 46, 0.35); }
.shots .arrow {
  position: absolute; top: 42%; z-index: 2; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  font-family: var(--comic); font-size: 2rem; line-height: 1; color: var(--ink); background: var(--lime);
  border: 3px solid var(--ink); border-bottom-width: 6px; box-shadow: 0 0 22px rgba(156, 255, 46, 0.4);
}
.shots .arrow:active { border-bottom-width: 3px; transform: translateY(2px); }
.shots .arrow.prev { left: 0; }
.shots .arrow.next { right: 0; }
.shots .dots { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.shots .dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid var(--ink); background: #3a3f44; cursor: pointer; }
.shots .dots button[aria-current='true'] { background: var(--yellow); width: 30px; border-radius: 6px; }
@media (max-width: 560px) { .shots figure { width: 200px; margin-left: -100px; } .shots .arrow { width: 44px; height: 44px; font-size: 1.6rem; } }
@media (prefers-reduced-motion: reduce) { .shots .track, .shots figure { transition: none; } }
.shots figcaption { font-family: var(--comic); font-size: 1.3rem; letter-spacing: 0.05em; margin-top: 10px; text-align: center; }

.crew { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.crew figure { margin: 0; text-align: center; }
.crew .ring { aspect-ratio: 1; border-radius: 50%; padding: 6px; background: linear-gradient(135deg, #c9cdd0, #6a7074 50%, #33383b); box-shadow: 4px 5px 0 var(--ink); }
.crew .ring img { width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--ink); }
.crew figcaption { font-family: var(--block); font-size: 0.75rem; color: var(--dim); margin-top: 8px; text-transform: uppercase; }
@media (max-width: 560px) { .crew { grid-template-columns: repeat(3, 1fr); } }

/* ---------- install ---------- */
.install { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; align-items: start; }
.install ol { margin: 12px 0 18px; padding-left: 22px; }
.install li { margin: 6px 0; }
.install .badge { font-family: var(--block); font-size: 0.72rem; text-transform: uppercase; color: var(--ink); background: var(--lime); padding: 2px 8px; border-radius: 6px; border: 2px solid var(--ink); }
.install .badge.soon { background: var(--yellow); }
.install .badge.adv { background: var(--violet); }
.install h3 { font-family: var(--comic); font-size: 2rem; letter-spacing: 0.04em; margin: 10px 0 4px; }
.install .side { display: grid; gap: 18px; }
@media (max-width: 860px) { .install { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq details { border-bottom: 2px solid #2a2e31; padding: 14px 0; }
.faq summary { cursor: pointer; font-family: var(--block); font-size: 1rem; list-style: none; }
.faq summary::before { content: '+'; display: inline-block; width: 1.4em; color: var(--lime); font-family: var(--comic); font-size: 1.3rem; }
.faq details[open] summary::before { content: '–'; }
.faq p { margin: 8px 0 0 1.6em; color: #cfcdc6; }

footer { padding: 32px 0 48px; color: var(--dim); font-size: 0.9rem; }
footer .wrap { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
footer a { color: var(--dim); }

/* ---------- legal pages (privacy, terms) ---------- */
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
main h1 { font-family: var(--comic); font-size: 2.8rem; letter-spacing: 0.04em; margin: 0 0 4px; font-weight: 400; }
main h1 span { color: var(--lime); }
main h2 { font-family: var(--block); font-size: 1.1rem; margin: 32px 0 8px; font-weight: 400; color: var(--yellow); }
main p, main li { color: #dcdad3; }
main nav { display: flex; gap: 16px; margin: 8px 0 24px; flex-wrap: wrap; font-family: var(--block); font-size: 0.85rem; text-transform: uppercase; }
.dim { color: var(--dim); font-size: 0.9rem; }
.card { background: var(--card); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--ink); padding: 16px 20px; margin: 16px 0; }
ul { padding-left: 20px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Language picker (i18n.js fills the options). Stays visible on phones, unlike the other nav links. */
select.lang { font-family: var(--block); font-size: 0.8rem; color: var(--text); background: var(--card); border: 2px solid var(--dim); border-radius: 8px; padding: 4px 6px; cursor: pointer; }
select.lang:hover, select.lang:focus { border-color: var(--lime); outline: none; }
main nav select.lang { margin-left: auto; }
