/* Psalmcast marketing site. One stylesheet for every page (home, legal, 404). */

:root {
  color-scheme: dark;
  --bg: #05070e;
  --bg-2: #080c18;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --solid: #0c1222;
  --solid-2: #111a30;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f5fb;
  --muted: #9aa3bb;
  --faint: #6a7390;
  --cyan: #22c7f2;
  --blue: #2b6dff;
  --blue-soft: #7ea6ff;
  --amber: #ffb627;
  --amber-2: #ff8a1f;
  --green: #31d07f;
  --red: #ff5a5f;
  --grad: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  --grad-warm: linear-gradient(135deg, var(--amber) 0%, var(--amber-2) 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Plus Jakarta Sans", var(--font);
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  --wrap: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.03em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.1rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; font-weight: 700; line-height: 1.25; }
::selection { background: rgba(43, 109, 255, 0.5); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
kbd {
  display: inline-flex; align-items: center; justify-content: center; min-width: 1.9em; height: 1.9em; padding: 0 0.5em;
  font: 600 0.78rem/1 var(--font); color: var(--text);
  background: linear-gradient(#1a2440, #121a30); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 7px;
}
code { font-family: var(--mono); font-size: 0.88em; background: var(--surface-2); padding: 0.15em 0.45em; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { left: 12px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.warm-text { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font: 600 0.98rem/1 var(--font); letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: #fff; color: #05070e; box-shadow: 0 10px 40px -10px rgba(120, 170, 255, 0.55); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 16px 50px -12px rgba(120, 170, 255, 0.75); }
.btn--brand { background: var(--grad); color: #fff; box-shadow: 0 12px 40px -12px rgba(43, 109, 255, 0.8); }
.btn--brand:hover { transform: translateY(-1px); box-shadow: 0 18px 50px -12px rgba(43, 109, 255, 0.95); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.24); }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 0.9rem; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-soft); font-weight: 600; }
.link-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(5, 7, 14, 0.72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.2rem/1 var(--display); letter-spacing: -0.03em; }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.brand b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a:not(.btn) { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 0.94rem; transition: color 0.2s, background 0.2s; }
.nav__links a:not(.btn):hover { color: var(--text); background: var(--surface); }
.nav__cta { display: flex; gap: 8px; margin-left: 10px; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; margin: 0 auto; position: relative; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -72px 0 auto; height: 1100px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(43, 109, 255, 0.32), transparent 70%),
    radial-gradient(30% 30% at 82% 18%, rgba(34, 199, 242, 0.18), transparent 70%),
    radial-gradient(25% 25% at 14% 30%, rgba(255, 182, 39, 0.08), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: -72px 0 auto; height: 900px; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 10%, #000 20%, transparent 75%);
  mask-image: radial-gradient(60% 55% at 50% 10%, #000 20%, transparent 75%);
}
.hero__copy { text-align: center; max-width: 920px; margin: 0 auto; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 26px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem; color: var(--muted); transition: border-color 0.2s, background 0.2s;
}
.pill:hover { border-color: rgba(255, 255, 255, 0.26); background: rgba(255, 255, 255, 0.06); }
.pill b { padding: 3px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.02em; }
.hero h1 { margin-bottom: 22px; }
.hero__lede { font-size: clamp(1.08rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 720px; margin: 0 auto 34px; line-height: 1.6; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__meta { margin-top: 20px; color: var(--faint); font-size: 0.88rem; display: flex; gap: 8px 20px; justify-content: center; flex-wrap: wrap; }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

/* Product stage (hero visual) */
.stage { position: relative; margin: 72px auto 0; max-width: 1120px; perspective: 2000px; }
.stage__glow { position: absolute; inset: 10% 8% -6%; background: var(--grad); filter: blur(90px); opacity: 0.28; z-index: -1; border-radius: 50%; }
.app {
  border-radius: 18px; overflow: hidden; background: #0a0f1d;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: rotateX(8deg) scale(0.98); transform-origin: 50% 0; transition: transform 1.2s var(--ease);
}
.stage.in .app { transform: rotateX(0) scale(1); }
.app__bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; background: #0d1324; border-bottom: 1px solid var(--line); }
.app__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3350; }
.app__bar i:nth-child(1) { background: #ff5f57; } .app__bar i:nth-child(2) { background: #febc2e; } .app__bar i:nth-child(3) { background: #28c840; }
.app__title { margin-left: 12px; font-size: 0.78rem; color: var(--faint); font-weight: 500; }
.app__plan { margin-left: auto; font-size: 0.72rem; font-weight: 600; color: var(--amber); border: 1px solid rgba(255, 182, 39, 0.35); padding: 3px 9px; border-radius: 999px; }
.app__body { display: grid; grid-template-columns: 176px 1fr 250px; min-height: 470px; }
.app__side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; background: #0b1120; }
.app__side span { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; font-size: 0.8rem; color: var(--muted); }
.app__side span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); }
.app__side span.on { background: rgba(43, 109, 255, 0.16); color: #fff; }
.app__side span.on::before { background: var(--grad); }
.app__main { padding: 16px; display: grid; grid-template-rows: auto auto 1fr; gap: 14px; }
.monitors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mon { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #070b16; }
.mon__label { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; color: var(--faint); }
.mon__label .live { color: #fff; background: var(--red); padding: 2px 8px; border-radius: 5px; box-shadow: 0 0 18px rgba(255, 90, 95, 0.6); }
.slide {
  position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 6%;
  font: 700 clamp(0.62rem, 1.15vw, 0.98rem)/1.35 var(--display); color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  background: radial-gradient(120% 90% at 30% 20%, #3a2a6b 0%, #14234f 45%, #070b16 100%);
}
.slide--b { background: radial-gradient(120% 90% at 70% 30%, #0e4a63 0%, #0d2147 50%, #070b16 100%); }
.slide small { display: block; margin-top: 0.6em; font: 600 0.62em/1 var(--font); letter-spacing: 0.12em; opacity: 0.7; text-transform: uppercase; }
.grid-slides { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.thumb { aspect-ratio: 16 / 9; border-radius: 6px; background: #121a2e; border: 1px solid var(--line); position: relative; overflow: hidden; }
.thumb::after { content: ""; position: absolute; left: 18%; right: 18%; top: 38%; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.22); box-shadow: 0 7px 0 rgba(255, 255, 255, 0.14); }
.thumb b { position: absolute; left: 6px; top: 4px; font-size: 0.55rem; color: var(--faint); font-weight: 700; }
.thumb.on { border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 0 22px -4px var(--red); }
.thumb.next { border-color: rgba(43, 109, 255, 0.8); }
.controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; align-self: end; }
.controls span { font-size: 0.72rem; font-weight: 600; padding: 7px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.controls span.primary { background: var(--blue); border-color: transparent; color: #fff; }
.controls kbd { height: 1.5em; min-width: 1.5em; font-size: 0.62rem; }
.app__rail { border-left: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 14px; background: #0b1120; }
.rail-card { border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); padding: 12px; }
.rail-card h4 { font: 700 0.68rem/1 var(--font); letter-spacing: 0.1em; color: var(--faint); margin: 0 0 10px; text-transform: uppercase; }
.order { display: flex; flex-direction: column; gap: 6px; }
.order span { font-size: 0.76rem; color: var(--muted); display: flex; gap: 8px; align-items: center; padding: 5px 7px; border-radius: 6px; }
.order span em { font-style: normal; font-size: 0.62rem; color: var(--faint); width: 34px; flex: none; }
.order span.on { background: rgba(255, 90, 95, 0.12); color: #fff; }
.stage-timer { font: 800 2rem/1 var(--display); letter-spacing: -0.02em; }
.stage-msg { margin-top: 8px; font-size: 0.74rem; color: var(--amber); font-weight: 600; }

/* Floating cards over the product */
.float { position: absolute; z-index: 2; border-radius: 16px; background: rgba(12, 18, 34, 0.82); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8); }
.float--heard { left: -34px; top: 22%; padding: 14px 16px; width: 270px; animation: bob 7s ease-in-out infinite; }
.float--heard .tag { display: inline-flex; gap: 8px; align-items: center; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.float--heard .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34, 199, 242, 0.6); animation: ping 2s infinite; }
.float--heard q { display: block; margin: 8px 0 10px; font-size: 0.86rem; color: var(--muted); quotes: "“" "”"; }
.float--heard q mark { background: rgba(34, 199, 242, 0.16); color: #fff; border-radius: 4px; padding: 0 3px; }
.float--heard .ref { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.float--heard .ref span { font-size: 0.7rem; padding: 5px 10px; border-radius: 999px; background: var(--grad); color: #fff; }
.phone-wrap { position: absolute; right: -40px; bottom: -60px; z-index: 3; animation: bob 8s ease-in-out -2s infinite; }

/* Phone mockup (used in hero and remote section) */
.phone {
  width: 230px; border-radius: 38px; padding: 9px; background: linear-gradient(145deg, #2a3350, #0d1220);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.phone__screen { border-radius: 30px; overflow: hidden; background: #0b0f19; padding: 34px 14px 16px; position: relative; display: flex; flex-direction: column; gap: 10px; }
.phone__screen::before { content: ""; position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 74px; height: 20px; border-radius: 999px; background: #000; }
.ph-now { display: flex; gap: 8px; align-items: center; font-size: 0.76rem; font-weight: 600; }
.ph-now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); flex: none; }
.ph-now small { display: block; color: var(--faint); font-weight: 500; font-size: 0.66rem; }
.ph-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; color: var(--faint); text-transform: uppercase; }
.ph-timer { font: 800 2.3rem/1 var(--display); text-align: center; letter-spacing: -0.03em; }
.ph-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.ph-row span, .ph-btns span { font-size: 0.62rem; font-weight: 600; text-align: center; padding: 7px 0; border-radius: 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--muted); }
.ph-msg { font-size: 0.7rem; padding: 8px 10px; border-radius: 9px; background: rgba(255, 182, 39, 0.1); border: 1px solid rgba(255, 182, 39, 0.3); color: var(--amber); font-weight: 600; }
.ph-nav { display: grid; grid-template-columns: 1fr 1.6fr; gap: 6px; }
.ph-nav span { padding: 13px 0; border-radius: 12px; text-align: center; font-weight: 700; font-size: 0.82rem; background: rgba(255, 255, 255, 0.07); }
.ph-nav span:last-child { background: var(--blue); }
.ph-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.ph-tabs { display: flex; justify-content: space-around; font-size: 0.56rem; color: var(--faint); padding-top: 8px; border-top: 1px solid var(--line); }
.ph-tabs b { color: var(--blue-soft); }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 199, 242, 0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(34, 199, 242, 0); } }

/* ---------- Marquee (import sources) ---------- */
.logos { padding: 96px 0 24px; text-align: center; }
.logos p { color: var(--faint); font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 700 0.98rem/1 var(--display); color: #c9d0e3; white-space: nowrap; letter-spacing: -0.01em; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Sections ---------- */
.section { padding: 130px 0; position: relative; }
.section--tight { padding: 90px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.head { max-width: 760px; margin-bottom: 64px; }
.head--center { text-align: center; margin-inline: auto; }
.head--center .eyebrow { justify-content: center; }
.head p { font-size: 1.14rem; color: var(--muted); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stats div { padding: 34px 28px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font: 800 clamp(2.2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -0.04em; margin-bottom: 10px; }
.stats span { color: var(--muted); font-size: 0.95rem; }

/* Spotlights */
.spot { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.spot + .spot { margin-top: 150px; }
.spot--flip .spot__copy { order: 2; }
.spot__copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.spot__copy > p { font-size: 1.1rem; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: #d4daea; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: rgba(43, 109, 255, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ea6ff' 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; border: 1px solid rgba(43, 109, 255, 0.35); }
.checks li b { color: #fff; font-weight: 600; }
.visual { position: relative; border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(120% 100% at 0% 0%, rgba(43, 109, 255, 0.14), transparent 60%), var(--bg-2); padding: 34px; min-height: 420px; display: grid; place-items: center; overflow: hidden; }
.visual::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 50% at 100% 100%, rgba(34, 199, 242, 0.1), transparent 70%); }

/* Listener visual */
.listener { width: 100%; max-width: 440px; display: grid; gap: 14px; position: relative; z-index: 1; }
.lst-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.mic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 90, 95, 0.16); border: 1px solid rgba(255, 90, 95, 0.4); flex: none; }
.mic::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); }
.lst-head div { flex: 1; font-size: 0.86rem; font-weight: 600; }
.lst-head small { display: block; color: var(--faint); font-weight: 500; font-size: 0.74rem; }
.wave { display: flex; gap: 3px; align-items: center; height: 26px; }
.wave i { width: 3px; border-radius: 3px; background: var(--grad); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(1) { height: 30%; animation-delay: -0.9s; } .wave i:nth-child(2) { height: 70%; animation-delay: -0.7s; } .wave i:nth-child(3) { height: 100%; animation-delay: -0.5s; } .wave i:nth-child(4) { height: 55%; animation-delay: -0.3s; } .wave i:nth-child(5) { height: 80%; animation-delay: -0.1s; } .wave i:nth-child(6) { height: 40%; animation-delay: -0.6s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
.transcript { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); font-size: 0.95rem; line-height: 1.7; color: var(--faint); }
.transcript span { color: var(--muted); }
.transcript mark { background: linear-gradient(90deg, rgba(34, 199, 242, 0.22), rgba(43, 109, 255, 0.22)); color: #fff; border-radius: 5px; padding: 1px 4px; }
.detected { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(43, 109, 255, 0.2), rgba(34, 199, 242, 0.08)); border: 1px solid rgba(43, 109, 255, 0.45); box-shadow: 0 20px 50px -20px rgba(43, 109, 255, 0.6); }
.detected div { flex: 1; }
.detected b { font: 800 1.15rem/1.2 var(--display); display: block; }
.detected small { color: var(--muted); font-size: 0.8rem; }
.detected span { font-size: 0.78rem; font-weight: 700; padding: 9px 14px; border-radius: 999px; background: #fff; color: #05070e; }

/* Screens visual */
.screens { width: 100%; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 16px; position: relative; z-index: 1; }
.scr { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: #070b16; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); }
.scr__label { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line); background: #0b1120; }
.scr__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.scr--main { grid-row: span 2; }
.scr--main .slide { aspect-ratio: auto; height: calc(100% - 31px); min-height: 220px; font-size: clamp(0.8rem, 1.5vw, 1.1rem); }
.stage-scr { padding: 12px; display: grid; gap: 6px; font-size: 0.7rem; color: var(--muted); }
.stage-scr .cur { color: #fff; font-weight: 700; font-size: 0.8rem; line-height: 1.35; }
.stage-scr .nxt { color: var(--faint); }
.stage-scr .meta { display: flex; justify-content: space-between; align-items: end; margin-top: 4px; }
.stage-scr .meta b { font: 800 1.3rem/1 var(--display); color: #fff; }
.stage-scr .meta span { color: var(--amber); font-weight: 700; }
.cam { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(60% 80% at 40% 40%, #4b3b2a, #1b1712 60%, #0a0906); overflow: hidden; }
.cam::before { content: ""; position: absolute; left: 34%; top: 18%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #8a6a52, #3b2a20); }
.cam::after { content: ""; position: absolute; left: 24%; top: 48%; width: 42%; height: 60%; border-radius: 40% 40% 0 0; background: linear-gradient(#26324a, #141b2b); }
.cam__band { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 7px 10px; background: rgba(0, 0, 0, 0.6); color: #fff; font: 700 0.62rem/1.35 var(--display); text-align: center; }
.cam__rec { position: absolute; top: 7px; left: 8px; z-index: 1; font-size: 0.55rem; font-weight: 800; color: #fff; background: var(--red); padding: 2px 6px; border-radius: 4px; letter-spacing: 0.06em; }

/* Remote visual */
.visual--remote { min-height: 560px; }
.visual--remote .phone { width: 260px; }
.qr { position: absolute; left: 30px; top: 30px; z-index: 2; padding: 14px; border-radius: 16px; background: rgba(12, 18, 34, 0.85); border: 1px solid var(--line-2); backdrop-filter: blur(10px); display: grid; gap: 8px; justify-items: center; font-size: 0.7rem; color: var(--muted); }
.qr svg { width: 88px; height: 88px; border-radius: 8px; background: #fff; padding: 6px; }
.qr b { font: 800 1rem/1 var(--mono); color: #fff; letter-spacing: 0.2em; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  grid-column: span 2; position: relative; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)); overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s;
}
.tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(43, 109, 255, 0.12), transparent 45%); opacity: 0; transition: opacity 0.3s; }
.tile:hover::before { opacity: 1; }
.tile--wide { grid-column: span 3; }
.tile--xl { grid-column: span 4; }
.tile h3 { margin: 18px 0 8px; }
.tile p { color: var(--muted); font-size: 0.96rem; margin: 0; }
.tile ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tile li { font-size: 0.76rem; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: #c3cadc; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(34, 199, 242, 0.18), rgba(43, 109, 255, 0.18)); border: 1px solid rgba(43, 109, 255, 0.35); color: var(--blue-soft); }
.ico svg { width: 22px; height: 22px; }
.ico--warm { background: linear-gradient(135deg, rgba(255, 182, 39, 0.18), rgba(255, 138, 31, 0.14)); border-color: rgba(255, 182, 39, 0.38); color: var(--amber); }
.big-num { font: 800 3.6rem/1 var(--display); letter-spacing: -0.05em; margin-top: 6px; }
.hymn-demo { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.hymn-demo kbd { height: 2.4em; min-width: 2.4em; font-size: 0.95rem; }
.hymn-demo span { color: var(--faint); font-size: 0.85rem; }

/* ---------- Trust / reliability ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust article { padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.trust h3 { margin: 18px 0 8px; font-size: 1.08rem; }
.trust p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; position: relative; }
.timeline li { position: relative; padding: 28px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.timeline time { display: inline-block; font: 700 0.78rem/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.timeline h3 { margin-bottom: 8px; }
.timeline p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Keys strip ---------- */
.keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin-top: 48px; color: var(--muted); font-size: 0.92rem; }
.keys div { display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Pricing ---------- */
.price-controls { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: -24px 0 46px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }
.seg button { border: 0; background: transparent; color: var(--muted); font: 600 0.9rem/1 var(--font); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background 0.2s, color 0.2s; display: inline-flex; gap: 8px; align-items: center; }
.seg button[aria-pressed="true"] { background: #fff; color: #05070e; }
.seg button em { font-style: normal; font-size: 0.72rem; color: var(--green); font-weight: 700; }
.seg button[aria-pressed="true"] em { color: #0a8a4a; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; padding: 40px 36px; border-radius: 26px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.plan--pro { background: radial-gradient(120% 80% at 100% 0%, rgba(43, 109, 255, 0.22), transparent 60%), linear-gradient(180deg, #0f1730, #0a0f1f); border-color: rgba(43, 109, 255, 0.5); box-shadow: 0 40px 100px -40px rgba(43, 109, 255, 0.6); }
.plan__tag { position: absolute; top: -13px; left: 36px; padding: 6px 14px; border-radius: 999px; background: var(--grad-warm); color: #1a0f00; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.02em; }
.plan h3 { font-size: 1.4rem; margin-bottom: 6px; }
.plan > p { color: var(--muted); margin-bottom: 26px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; min-height: 64px; }
.plan__price b { font: 800 3.4rem/1 var(--display); letter-spacing: -0.05em; }
.plan__price span { color: var(--muted); font-weight: 500; }
.plan__note { color: var(--faint); font-size: 0.86rem; min-height: 1.4em; margin-bottom: 28px; }
.plan .checks { margin: 0 0 34px; gap: 12px; }
.plan .checks li { font-size: 0.96rem; }
.plan .btn { margin-top: auto; }
.plan--free .checks li::before { background-color: rgba(255, 255, 255, 0.06); border-color: var(--line-2); }
.price-fineprint { text-align: center; color: var(--faint); font-size: 0.88rem; margin-top: 30px; }
.skeleton { display: inline-block; width: 150px; height: 52px; border-radius: 10px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Download ---------- */
.dl { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.dl__main { padding: 44px; border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(100% 120% at 0% 0%, rgba(43, 109, 255, 0.2), transparent 60%), var(--bg-2); }
.dl__main h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.dl__main > p { color: var(--muted); font-size: 1.05rem; }
.dl__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.dl__meta { color: var(--faint); font-size: 0.88rem; margin: 0; }
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; color: #d4daea; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 0.82rem; font-weight: 700; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); }
.dl__side { display: grid; gap: 22px; align-content: start; }
.dl__card { padding: 30px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.dl__card h3 { margin-bottom: 14px; }
.reqs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); font-size: 0.94rem; }
.reqs li { display: flex; gap: 10px; }
.reqs li::before { content: "—"; color: var(--faint); }
.reqs li span { color: var(--faint); }
.soon { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.soon p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; align-items: start; }
.faq details { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.2s, background 0.2s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 56px 22px 24px; font-weight: 600; position: relative; font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; border: 1px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9d0e3' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); font-size: 0.96rem; }
.faq details a { color: var(--blue-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Final CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding: 100px 30px; border-radius: 32px; border: 1px solid rgba(43, 109, 255, 0.35); background: radial-gradient(60% 100% at 50% 0%, rgba(43, 109, 255, 0.35), transparent 70%), linear-gradient(180deg, #0c1430, #070b18); }
.cta::before { content: ""; position: absolute; inset: 0; opacity: 0.5; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(50% 70% at 50% 0%, #000, transparent); mask-image: radial-gradient(50% 70% at 50% 0%, #000, transparent); }
.cta > * { position: relative; }
.cta img { width: 64px; height: 64px; margin: 0 auto 26px; object-fit: contain; filter: drop-shadow(0 10px 30px rgba(43, 109, 255, 0.6)); }
.cta h2 { max-width: 760px; margin-inline: auto; }
.cta p { color: var(--muted); font-size: 1.12rem; max-width: 600px; margin: 0 auto 34px; }

/* ---------- Footer ---------- */
.footer { padding: 90px 0 40px; border-top: 1px solid var(--line); margin-top: 130px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer__brand p { color: var(--muted); font-size: 0.94rem; max-width: 320px; margin-top: 16px; }
.footer h4 { font: 700 0.78rem/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin: 6px 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a { color: var(--muted); font-size: 0.94rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--text); }
.footer__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.86rem; }
.footer__base nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__base a:hover { color: var(--text); }

/* ---------- Legal / simple pages ---------- */
.doc { padding: 70px 0 20px; }
.doc__head { max-width: 760px; margin: 0 auto 56px; }
.doc__head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.doc__head p { color: var(--muted); font-size: 1.1rem; }
.doc__body { max-width: 760px; margin: 0 auto; color: #cdd3e3; }
.doc__body h2 { font-size: 1.5rem; margin: 52px 0 14px; letter-spacing: -0.02em; }
.doc__body h3 { font-size: 1.1rem; margin: 30px 0 10px; }
.doc__body p, .doc__body li { font-size: 1.02rem; line-height: 1.75; }
.doc__body ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.doc__body li { margin-bottom: 0.4em; }
.doc__body a { color: var(--blue-soft); text-decoration: underline; text-underline-offset: 3px; }
.doc__body strong { color: #fff; }
.doc__summary { padding: 24px 26px; border-radius: 18px; border: 1px solid rgba(43, 109, 255, 0.35); background: rgba(43, 109, 255, 0.08); margin-bottom: 20px; }
.doc__summary h2 { margin-top: 0 !important; font-size: 1.1rem !important; }
.doc__summary ul { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--faint); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound b { display: block; font: 800 clamp(5rem, 16vw, 10rem)/1 var(--display); letter-spacing: -0.06em; }
.notfound p { color: var(--muted); font-size: 1.1rem; margin-bottom: 30px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.08s; } .js .reveal-d2 { transition-delay: 0.16s; } .js .reveal-d3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .app__body { grid-template-columns: 150px 1fr 210px; }
  .float--heard { left: -10px; }
  .phone-wrap { right: -10px; }
  .phone-wrap .phone { width: 200px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav__links { position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; margin: 0; background: rgba(5, 7, 14, 0.97); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s; }
  .nav__links.open { opacity: 1; transform: none; visibility: visible; }
  .nav__links a:not(.btn) { padding: 14px 12px; font-size: 1.02rem; }
  .nav__cta { margin: 10px 0 0; flex-direction: column; }
  .nav__cta .btn { --h: 48px; }
  .nav__toggle { display: block; }
  .app__body { grid-template-columns: 1fr; min-height: 0; }
  .app__side, .app__rail { display: none; }
  .spot, .dl { grid-template-columns: 1fr; gap: 48px; }
  .spot--flip .spot__copy { order: 0; }
  .spot + .spot { margin-top: 110px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile--wide, .tile--xl { grid-column: span 1; }
  .tile--xl { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .plans, .faq { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .section { padding: 100px 0; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 40px; }
  .stage { margin-top: 48px; }
  .float--heard { position: relative; left: auto; top: auto; width: auto; margin: 0 0 14px; animation: none; }
  .phone-wrap { display: none; }
  .monitors { grid-template-columns: 1fr; }
  .monitors .mon:nth-child(2) { display: none; }
  .grid-slides { grid-template-columns: repeat(4, 1fr); }
  .grid-slides .thumb:nth-child(5) { display: none; }
  .bento, .trust, .timeline { grid-template-columns: 1fr; }
  .tile--xl { grid-column: span 1; }
  .screens { grid-template-columns: 1fr; }
  .scr--main { grid-row: auto; }
  .visual { padding: 20px; min-height: 0; }
  .visual--remote { min-height: 520px; }
  .qr { left: 14px; top: 14px; transform: scale(0.85); transform-origin: 0 0; }
  .plan { padding: 34px 24px; }
  .dl__main { padding: 30px 22px; }
  .cta { padding: 70px 20px; border-radius: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .app { transform: none; }
}
