/* =========================================================
   CALM × LUST — Everworks website
   Editorial dark, neon accents, dual-product toggle
   ========================================================= */

:root {
  /* Base canvas */
  --bg: #050507;
  --bg-2: #08080c;
  --bg-3: #0d0d12;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.16);
  --ink: #f4f4ee;
  --ink-2: #c5c5be;
  --ink-3: #7a7a72;
  --ink-4: #4a4a45;

  /* CALM palette (cool teal) */
  --calm-1: #5eead4;
  --calm-2: #34d3b6;
  --calm-3: #0ea5b7;
  --calm-bg: #061018;
  --calm-bg-2: #0a1620;
  --calm-glow: rgba(94, 234, 212, .18);

  /* LUST palette (neutral graphite) */
  --lust-1: #d4d4d0;
  --lust-2: #a3a39d;
  --lust-3: #6b6b66;
  --lust-bg: #0c0c0e;
  --lust-bg-2: #16161a;
  --lust-glow: rgba(212, 212, 208, .14);

  /* Active accents — swap via [data-product] */
  --acc-1: var(--calm-1);
  --acc-2: var(--calm-2);
  --acc-3: var(--calm-3);
  --acc-bg: var(--calm-bg);
  --acc-bg-2: var(--calm-bg-2);
  --acc-glow: var(--calm-glow);

  --serif: 'Fraunces', 'Inter Tight', serif;
  --sans: 'Inter Tight', 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1480px;
  --pad: clamp(20px, 4vw, 64px);
}

[data-product="lust"] {
  --acc-1: var(--lust-1);
  --acc-2: var(--lust-2);
  --acc-3: var(--lust-3);
  --acc-bg: var(--lust-bg);
  --acc-bg-2: var(--lust-bg-2);
  --acc-glow: var(--lust-glow);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  cursor: none;
  transition: background-color .8s ease;
}

/* whole page tint with product */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background: radial-gradient(80% 60% at 70% 0%, var(--acc-glow), transparent 60%);
  opacity: .55;
  z-index: 0;
  transition: background .8s ease;
}

a { color: inherit; text-decoration: none; }
button { cursor: none; font: inherit; color: inherit; background: none; border: 0; padding: 0; }

::selection { background: var(--acc-1); color: #000; }

/* ===== Custom cursor ===== */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--acc-1);
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 9999;
  transition: width .25s ease, height .25s ease, border-color .4s ease, background-color .25s ease;
}
.cursor.is-hover {
  width: 56px; height: 56px;
  background: var(--acc-1);
}
@media (hover: none) { body { cursor: auto; } .cursor { display: none; } }

/* ===== Grain ===== */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px var(--pad);
  background: linear-gradient(to bottom, rgba(5,5,7,.9), rgba(5,5,7,.5) 60%, transparent);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.brand-group,
.brand {
  display: flex; align-items: center;
}
.brand-group {
  gap: 16px;
  min-width: 0;
}
.brand {
  gap: 12px;
}
.brand-mark {
  display: inline-flex; gap: 3px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
}
.brand-mark .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-3);
}
.brand-mark .dot--accent {
  background: var(--acc-1);
  box-shadow: 0 0 8px var(--acc-1);
}
.brand-words {
  display: flex; flex-direction: column;
  font-family: var(--mono);
  line-height: 1.1;
}
.brand-line {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
}
.brand-sub {
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: .2em;
}
.fluge-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(170,174,177,.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 34%, rgba(42,219,196,.18), transparent 58%),
    rgba(252,253,254,.025);
  box-shadow:
    inset 0 1px 0 rgba(252,253,254,.08),
    0 0 24px rgba(42,219,196,.05);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.fluge-link::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  background: rgba(252,253,254,.04);
  opacity: 0;
  transition: opacity .25s ease;
}
.fluge-link img {
  position: relative;
  width: 23px;
  height: 23px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(42,219,196,.18));
}
.fluge-link:hover {
  transform: translateY(-1px);
  border-color: rgba(42,219,196,.45);
  box-shadow:
    inset 0 1px 0 rgba(252,253,254,.12),
    0 0 30px rgba(42,219,196,.14);
}
.fluge-link:hover::before {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.nav-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 8px 12px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color .25s ease, background-color .25s ease;
}
.nav-link .dash {
  width: 10px; height: 1px;
  background: var(--ink-4);
  transition: width .3s ease, background-color .3s ease;
}
.nav-link:hover {
  color: var(--ink);
  background: rgba(255,255,255,.04);
}
.nav-link:hover .dash,
.nav-link.is-active .dash {
  width: 18px;
  background: var(--acc-1);
}
.nav-link.is-active {
  color: var(--ink);
  background: rgba(42,219,196,.07);
}

.nav-tools {
  display: flex; align-items: center; gap: 10px;
  justify-content: flex-end;
}
.lang {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .15em;
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 4px;
  transition: border-color .3s ease;
}
.lang:hover { border-color: var(--line-2); }
.lang .lang-sep { color: var(--ink-4); }
.lang-en, .lang-es { color: var(--ink-3); transition: color .25s ease; }
[data-lang="en"] .lang-en, [data-lang="es"] .lang-es { color: var(--acc-1); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .25s ease;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-1px); }
.btn--small { padding: 10px 16px; font-size: 11px; }
.btn--lg { padding: 18px 28px; font-size: 13px; }

.btn--primary {
  background: var(--acc-1);
  color: #000;
  border-color: var(--acc-1);
}
.btn--primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn--ghost {
  border-color: var(--line-2);
  color: var(--ink);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.06);
}

.btn-arrow {
  display: inline-block;
  transform: rotate(0);
  transition: transform .3s ease;
}
.btn:hover .btn-arrow { transform: translateX(2px) rotate(0); }

.btn-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--acc-1);
  box-shadow: 0 0 0 0 var(--acc-1);
  animation: btnpulse 2s ease-in-out infinite;
}
@keyframes btnpulse {
  0%,100% { box-shadow: 0 0 0 0 var(--acc-1); opacity: 1; }
  50% { box-shadow: 0 0 0 6px transparent; opacity: .6; }
}

/* ===== SWITCHER ===== */
.switcher {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: inline-flex; align-items: center; gap: 0;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(8,8,12,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.7);
}
.switcher-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  position: relative; z-index: 2;
  transition: color .35s ease;
}
.switcher-pill .sw-num { color: var(--ink-4); font-size: 9px; }
.switcher-pill .sw-name { font-weight: 700; font-size: 12px; letter-spacing: .18em; }
.switcher-pill .sw-tag { font-size: 9px; color: var(--ink-4); }
.switcher-pill[aria-selected="true"] { color: #000; }
.switcher-pill[aria-selected="true"] .sw-num,
.switcher-pill[aria-selected="true"] .sw-tag { color: rgba(0,0,0,.7); }

.switcher-rail {
  position: absolute; inset: 6px;
  pointer-events: none;
  z-index: 1;
}
.switcher-thumb {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 50%;
  border-radius: 999px;
  background: var(--acc-1);
  transition: transform .45s cubic-bezier(.7,-.05,.2,1), background-color .45s ease;
}
[data-product="lust"] .switcher-thumb { transform: translateX(100%); }

@media (max-width: 720px) {
  .switcher-pill .sw-tag { display: none; }
  .switcher-pill { padding: 10px 16px; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 140px var(--pad) 60px;
  min-height: 100vh;
  z-index: 2;
  overflow: hidden;
}

.aurora {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: .8;
}

.telemetry {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: .12em;
  display: flex; flex-direction: column; gap: 4px;
  z-index: 3;
}
.telemetry--tl { top: 110px; left: var(--pad); }
.telemetry--tr { top: 110px; right: var(--pad); align-items: flex-end; }
.t-row { display: flex; gap: 10px; }
.t-k { color: var(--ink-4); }
.t-v { color: var(--acc-1); }

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 24px;
}

.hero-meta { margin-bottom: 28px; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
}
.kdot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--acc-1);
  box-shadow: 0 0 8px var(--acc-1);
  animation: btnpulse 2s ease-in-out infinite;
}
.kdiv { color: var(--ink-4); }

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 12vw, 196px);
  line-height: .9;
  letter-spacing: -.04em;
  margin: 0 0 32px;
  text-wrap: balance;
}
.hero-pre, .hero-after {
  display: block;
  color: var(--ink-2);
  font-style: italic;
  font-weight: 300;
}
.hero-pre { font-size: .65em; }
.hero-after { font-size: .65em; text-align: right; padding-right: .5em; }

.hero-word {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 800;
  font-size: 1em;
  letter-spacing: -.06em;
  color: var(--acc-1);
  text-align: center;
  line-height: .85;
  background: linear-gradient(180deg, var(--acc-1) 0%, var(--acc-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px var(--acc-glow));
  position: relative;
}

.hero-lede {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 580px;
  margin: 0 0 36px;
}

.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 80px;
}

/* hero stage with plugin UI */
.hero-stage {
  position: relative;
  margin-top: 60px;
  border-radius: 24px;
  padding: 40px;
  background:
    radial-gradient(140% 100% at 50% 0%, var(--acc-bg-2) 0%, var(--bg) 60%, var(--bg) 100%);
  border: 1px solid var(--line);
  overflow: visible;
}

.stage-frame {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  box-shadow:
    0 60px 120px -40px rgba(0,0,0,.7),
    inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
}

.stage-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}
.chrome-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink-4);
}
.chrome-dot:first-child { background: #ff5f57; }
.chrome-dot:nth-child(2) { background: #febc2e; }
.chrome-dot:nth-child(3) { background: #28c840; }

.chrome-name {
  margin-left: 12px;
  letter-spacing: .12em;
}
.chrome-meter {
  margin-left: auto;
  display: flex; flex-direction: column; gap: 3px;
  width: 110px;
}
.meter-bar {
  height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}
.meter-fill {
  display: block; height: 100%; width: 30%;
  background: linear-gradient(to right, var(--acc-3), var(--acc-1));
  transition: width .1s linear;
}

.stage-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #000;
  overflow: hidden;
}
.stage-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .8s ease, transform .8s ease;
  filter: contrast(1.05) saturate(1.05);
  z-index: 1;
}
.stage-img.is-active {
  opacity: 1;
  transform: scale(1);
}
.stage-halo {
  position: absolute; inset: -20%;
  background: radial-gradient(50% 50% at 50% 50%, var(--acc-glow), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .6;
  z-index: 0;
}

/* animated CALM plugin mockup */
.calm-demo {
  display: flex;
  flex-direction: column;
  padding: clamp(12px, 2vw, 24px);
  background:
    radial-gradient(70% 55% at 50% 42%, rgba(42,219,196,.16), transparent 62%),
    linear-gradient(135deg, #171818 0%, #0b0d0e 42%, #050607 100%);
  border: 1px solid rgba(170,174,177,.16);
  box-shadow:
    inset 0 1px 0 rgba(252,253,254,.08),
    inset 0 -24px 80px rgba(0,0,0,.55);
  overflow: hidden;
}
.calm-demo::before {
  content: "";
  position: absolute; inset: 0;
  opacity: .18;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49.7%, rgba(252,253,254,.07) 50%, transparent 50.3%),
    repeating-linear-gradient(0deg, rgba(252,253,254,.03) 0 1px, transparent 1px 8px);
  mix-blend-mode: screen;
}
.calm-demo__top {
  display: grid;
  grid-template-columns: 1fr repeat(4, minmax(76px, 112px)) 1fr;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  font-family: var(--mono);
  font-size: clamp(8px, .72vw, 11px);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #858b8f;
  position: relative;
  z-index: 2;
}
.calm-demo__mark {
  color: #fcfdfe;
  font-weight: 700;
  letter-spacing: .16em;
}
.calm-demo__mode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(170,174,177,.12);
  background: linear-gradient(180deg, rgba(252,253,254,.12), rgba(69,73,74,.18));
  box-shadow: inset 0 1px 0 rgba(252,253,254,.10);
}
.calm-demo__mode.is-on {
  color: #2adbc4;
  border-color: rgba(42,219,196,.42);
  box-shadow: 0 0 18px rgba(42,219,196,.16), inset 0 1px 0 rgba(252,253,254,.12);
}
.calm-demo__status {
  justify-self: end;
  color: #2adbc4;
  text-shadow: 0 0 14px rgba(42,219,196,.5);
}
.calm-demo__rta {
  height: 25%;
  min-height: 112px;
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid rgba(170,174,177,.18);
  background:
    linear-gradient(90deg, transparent, rgba(42,219,196,.08), transparent),
    linear-gradient(180deg, rgba(252,253,254,.04), rgba(0,0,0,.58));
  box-shadow:
    0 18px 42px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(252,253,254,.03);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.calm-demo__rta svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.calm-demo__grid-line {
  fill: none;
  stroke: rgba(170,174,177,.10);
  stroke-width: 1;
}
.calm-demo__tail,
.calm-demo__notch,
.calm-demo__scan {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.calm-demo__tail {
  stroke: rgba(170,174,177,.28);
  stroke-width: 2;
}
.calm-demo__notch {
  stroke: rgba(42,219,196,.75);
  stroke-width: 3;
  filter: drop-shadow(0 0 8px rgba(42,219,196,.7));
}
.calm-demo__scan {
  stroke: url(#calmTrace);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 90 760;
  animation: calmTraceScan 4.8s linear infinite;
  opacity: .95;
}
.calm-demo__body {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.05fr .48fr 1.18fr 1.65fr 1.18fr .48fr 1fr;
  align-items: center;
  gap: clamp(10px, 1.8vw, 24px);
  padding: clamp(12px, 2vw, 26px) 0 4px;
}
.calm-demo__analysis {
  align-self: stretch;
  min-width: 110px;
  border-radius: 10px;
  border: 1px solid rgba(170,174,177,.12);
  background: linear-gradient(135deg, rgba(252,253,254,.05), rgba(0,0,0,.22));
  padding: 14px 12px;
  font-family: var(--mono);
  color: #858b8f;
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  display: grid;
  grid-template-rows: auto 1fr 1fr 1fr 1fr;
  gap: 14px;
}
.calm-demo__analysis i,
.calm-demo__analysis b,
.calm-demo__analysis em {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2adbc4 0 34%, rgba(170,174,177,.14) 34% 100%);
  animation: calmMeterPulse 2.8s ease-in-out infinite;
}
.calm-demo__analysis i:nth-of-type(2) {
  animation-delay: .5s;
  background: linear-gradient(90deg, #fcfdfe 0 18%, rgba(170,174,177,.13) 18% 100%);
}
.calm-demo__analysis b {
  background: repeating-linear-gradient(90deg, #2adbc4 0 12px, transparent 12px 20px);
  opacity: .82;
}
.calm-demo__analysis em {
  height: 28px;
  background:
    linear-gradient(90deg, #aaaeb1 0 8%, transparent 8% 12%, #aaaeb1 12% 18%, transparent 18% 28%, #aaaeb1 28% 35%, transparent 35% 100%);
  animation-delay: 1s;
}
.calm-demo__controls {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #858b8f;
}
.calm-demo__controls button {
  min-width: 105px;
  height: 27px;
  border-radius: 6px;
  border: 1px solid rgba(170,174,177,.18);
  background: linear-gradient(180deg, rgba(252,253,254,.14), rgba(69,73,74,.20));
  color: #aaaeb1;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .24em;
  box-shadow: inset 0 1px 0 rgba(252,253,254,.12);
}
.calm-demo__controls button.is-on {
  color: #2adbc4;
  border-color: rgba(42,219,196,.55);
  box-shadow: 0 0 18px rgba(42,219,196,.22), inset 0 1px 0 rgba(252,253,254,.14);
}
.calm-demo__controls button.is-hot {
  color: #171818;
  border-color: rgba(252,253,254,.72);
  background: linear-gradient(90deg, #2adbc4, #fcfdfe, #ff706c);
  animation: calmTurboGlow 2.2s ease-in-out infinite;
}
.calm-demo__controls button.is-red {
  color: #ff6a70;
  border-color: rgba(255,106,112,.54);
  box-shadow: 0 0 18px rgba(255,106,112,.18);
}
.calm-demo__slider {
  height: min(76%, 260px);
  min-height: 150px;
  border-radius: 10px;
  border: 1px solid rgba(42,219,196,.34);
  background: linear-gradient(180deg, rgba(42,219,196,.06), rgba(0,0,0,.16));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 14px;
  position: relative;
  box-shadow: 0 0 24px rgba(42,219,196,.08), inset 0 0 24px rgba(0,0,0,.20);
}
.calm-demo__slider--bleed {
  border-color: rgba(255,106,112,.34);
  box-shadow: 0 0 24px rgba(255,106,112,.07), inset 0 0 24px rgba(0,0,0,.20);
}
.calm-demo__slider strong {
  position: absolute;
  top: -22px;
  color: #2adbc4;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .32em;
}
.calm-demo__slider--bleed strong { color: #ff6a70; }
.calm-demo__slider::before {
  content: "";
  position: absolute;
  width: 22px;
  top: 28px;
  bottom: 22px;
  border-radius: 7px;
  border: 1px solid rgba(252,253,254,.32);
  background: rgba(252,253,254,.03);
}
.calm-demo__slider span {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 62%;
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(252,253,254,.62), #2adbc4 18%, #20bca9 100%);
  box-shadow: 0 0 22px rgba(42,219,196,.36);
  animation: calmSliderSerene 5s ease-in-out infinite;
}
.calm-demo__slider--bleed span {
  height: 42%;
  animation-name: calmSliderBleed;
}
.calm-demo__slider span::before {
  content: "";
  position: absolute;
  left: -8px; right: -8px; top: -4px;
  height: 2px;
  background: #fcfdfe;
  box-shadow: 0 0 6px rgba(252,253,254,.55);
}
.calm-demo__knob {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 310px);
  justify-self: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, rgba(252,253,254,.12), transparent 32%),
    radial-gradient(circle at 50% 54%, #171818 0 36%, #070808 64%, #020303 100%);
  border: 1px solid rgba(170,174,177,.22);
  box-shadow:
    0 24px 60px rgba(0,0,0,.48),
    0 0 38px rgba(42,219,196,.22),
    inset 0 0 0 16px rgba(170,174,177,.06),
    inset 0 0 0 34px rgba(0,0,0,.30);
}
.calm-demo__knob::before,
.calm-demo__knob::after {
  content: "";
  position: absolute; inset: 11%;
  border-radius: 50%;
  border: 2px solid rgba(42,219,196,.45);
  border-left-color: transparent;
  border-bottom-color: rgba(42,219,196,.08);
  animation: calmKnobRotate 6s linear infinite;
}
.calm-demo__knob::after {
  inset: 20%;
  border-color: rgba(252,253,254,.35);
  border-right-color: transparent;
  animation-duration: 9s;
  animation-direction: reverse;
}
.calm-demo__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.calm-demo__ring--a {
  inset: -9%;
  border: 8px solid rgba(42,219,196,.66);
  border-left-color: transparent;
  border-bottom-color: rgba(42,219,196,.18);
  filter: drop-shadow(0 0 12px rgba(42,219,196,.72));
  animation: calmOuterRing 4.8s ease-in-out infinite;
}
.calm-demo__ring--b {
  inset: -17%;
  border: 7px solid rgba(170,174,177,.20);
  border-top-color: rgba(252,253,254,.70);
  border-right-color: transparent;
  animation: calmOuterRing 7s ease-in-out infinite reverse;
}
.calm-demo__core {
  position: absolute;
  inset: 29.5%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(252,253,254,.14), rgba(0,0,0,.14)),
    radial-gradient(circle, rgba(42,219,196,.20), transparent 68%);
  border: 1px solid rgba(252,253,254,.20);
  box-shadow:
    0 0 34px rgba(42,219,196,.24),
    inset 0 1px 0 rgba(252,253,254,.16),
    inset 0 -18px 44px rgba(0,0,0,.42);
  overflow: hidden;
}
.calm-demo__core img {
  width: 106%;
  height: 106%;
  object-fit: contain;
  object-position: center center;
  filter:
    drop-shadow(0 0 12px rgba(42,219,196,.34))
    contrast(1.08)
    saturate(1.08);
}
.calm-demo__core::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 24%, rgba(252,253,254,.26), transparent 28%),
    linear-gradient(145deg, rgba(252,253,254,.12), transparent 42%, rgba(0,0,0,.28));
  pointer-events: none;
  mix-blend-mode: screen;
}

/* ===== DOCS ===== */
.docs {
  padding: 40px var(--pad) 90px;
}
.docs-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.doc-card {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(90% 90% at 50% 0%, rgba(42,219,196,.12), transparent 62%),
    linear-gradient(180deg, rgba(252,253,254,.045), rgba(252,253,254,.01)),
    rgba(8,10,10,.72);
  box-shadow:
    0 24px 80px -48px rgba(0,0,0,.9),
    inset 0 1px 0 rgba(252,253,254,.06);
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.doc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(42,219,196,.12), transparent),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 42px);
  opacity: .48;
  pointer-events: none;
}
.doc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(42,219,196,.38);
  box-shadow:
    0 32px 90px -46px rgba(0,0,0,.94),
    0 0 44px rgba(42,219,196,.08),
    inset 0 1px 0 rgba(252,253,254,.08);
}
.doc-tag,
.doc-card strong,
.doc-card p {
  position: relative;
}
.doc-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--acc-1);
  text-transform: uppercase;
}
.doc-card strong {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 4vw, 54px);
  line-height: .98;
  letter-spacing: -.03em;
}
.doc-card p {
  max-width: 540px;
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .docs-grid {
    grid-template-columns: 1fr;
  }
}
.calm-demo__kalman {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
  min-width: 118px;
}
.calm-demo__kalman span {
  aspect-ratio: 1;
  border-radius: 4px;
  border: 1px solid rgba(42,219,196,.20);
  background: rgba(42,219,196,.14);
  animation: calmKalman 3.5s ease-in-out infinite;
}
.calm-demo__kalman span:nth-child(5n) {
  background: rgba(255,190,80,.48);
  border-color: rgba(255,190,80,.36);
  animation-delay: .7s;
}
.calm-demo__kalman span:nth-child(7n) {
  background: rgba(170,174,177,.18);
  animation-delay: 1.2s;
}
@keyframes calmTraceScan {
  from { stroke-dashoffset: 860; }
  to { stroke-dashoffset: 0; }
}
@keyframes calmMeterPulse {
  0%, 100% { transform: scaleX(.76); opacity: .65; transform-origin: left; }
  50% { transform: scaleX(1); opacity: 1; transform-origin: left; }
}
@keyframes calmTurboGlow {
  0%, 100% { filter: saturate(1); box-shadow: 0 0 12px rgba(42,219,196,.22); }
  50% { filter: saturate(1.35); box-shadow: 0 0 24px rgba(255,112,108,.36); }
}
@keyframes calmSliderSerene {
  0%, 100% { height: 54%; }
  45% { height: 68%; }
  72% { height: 60%; }
}
@keyframes calmSliderBleed {
  0%, 100% { height: 36%; }
  55% { height: 48%; }
}
@keyframes calmKnobRotate {
  to { transform: rotate(360deg); }
}
@keyframes calmOuterRing {
  0%, 100% { transform: rotate(-12deg); opacity: .66; }
  50% { transform: rotate(22deg); opacity: 1; }
}
@keyframes calmKalman {
  0%, 100% { opacity: .38; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1); }
}
@media (max-width: 980px) {
  .calm-demo__top {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .calm-demo__mode:nth-of-type(3),
  .calm-demo__mode:nth-of-type(4),
  .calm-demo__status,
  .calm-demo__analysis,
  .calm-demo__kalman {
    display: none;
  }
  .calm-demo__body {
    grid-template-columns: .8fr .85fr 1.5fr .85fr .8fr;
  }
}
@media (max-width: 680px) {
  .calm-demo { padding: 10px; }
  .calm-demo__rta { min-height: 82px; }
  .calm-demo__body {
    grid-template-columns: .75fr 1.4fr .75fr;
    gap: 10px;
  }
  .calm-demo__controls,
  .calm-demo__slider--bleed {
    display: none;
  }
  .calm-demo__slider { min-height: 118px; }
}

/* floating callouts pointing to plugin */
.callout {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
  opacity: 0;
  animation: calloutIn 1.2s cubic-bezier(.2,.7,.2,1) forwards;
}
.callout--a { top: 30%; left: -8px; animation-delay: .8s; }
.callout--b { top: 55%; right: -8px; flex-direction: row-reverse; animation-delay: 1s; }
.callout--c { bottom: 22%; left: 8%; animation-delay: 1.2s; }
.co-line {
  width: 60px; height: 1px;
  background: linear-gradient(to right, transparent, var(--acc-1));
}
.callout--b .co-line {
  background: linear-gradient(to left, transparent, var(--acc-1));
}
.co-num { color: var(--acc-1); font-weight: 600; }
.co-text { white-space: nowrap; }
@keyframes calloutIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
.callout--b { animation-name: calloutInR; }
@keyframes calloutInR {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 980px) {
  .callout { display: none; }
  .telemetry { display: none; }
}

/* ticker */
.ticker {
  margin-top: 48px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--ink-3);
}
.ticker-track {
  display: flex; gap: 28px;
  white-space: nowrap;
  animation: tick 50s linear infinite;
  width: max-content;
}
@keyframes tick {
  to { transform: translateX(-50%); }
}

/* ===== Section heads ===== */
section { position: relative; z-index: 2; }
.section-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px var(--pad) 32px;
  display: flex; flex-direction: column; gap: 22px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eb-num { color: var(--acc-1); }
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 5.4vw, 84px);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0;
  text-wrap: balance;
  max-width: 18ch;
}
.section-title em {
  font-style: italic;
  color: var(--acc-1);
}

/* ===== WHAT ===== */
.what {
  padding: 0 var(--pad) 60px;
}
.what-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr .8fr;
  gap: 60px;
}
@media (max-width: 900px) { .what-grid { grid-template-columns: 1fr; } }

.what-lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 32px;
}
.what-lede strong {
  color: var(--acc-1);
  font-weight: 500;
  font-style: italic;
}

.what-points {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.what-points li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-2);
  align-items: baseline;
}
.what-points .p-num {
  font-family: var(--mono);
  color: var(--acc-1);
  font-size: 11px;
  letter-spacing: .14em;
}

.what-stat {
  display: flex; flex-direction: column; gap: 18px;
}
.stat-card {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)),
    radial-gradient(120% 80% at 100% 0%, var(--acc-glow), transparent 50%);
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 10px;
}
.stat-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--acc-1);
}
.stat-unit {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-2);
}
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink-3);
  text-transform: uppercase;
  text-align: right;
  line-height: 1.4;
}

/* ===== HOW ===== */
.how { padding: 0 var(--pad) 60px; }
.how-flow {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
  overflow: hidden;
}
@media (max-width: 900px) {
  .how-flow {
    grid-template-columns: 1fr;
  }
  .flow-arrow { display: none; }
}
.flow-step {
  padding: 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.flow-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--acc-1);
}
.flow-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.flow-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0;
}
.flow-body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}
.flow-arrow {
  display: flex; align-items: center; justify-content: center;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
}
.arrow-line {
  position: absolute;
  left: 12px; right: 12px;
  height: 1px;
  background: linear-gradient(to right, var(--ink-4), var(--acc-1), var(--ink-4));
}
.arrow-head {
  font-size: 12px;
  color: var(--acc-1);
  background: var(--bg);
  padding: 0 6px;
  position: relative;
  z-index: 1;
}

/* A/B player */
.ab-player {
  max-width: var(--maxw);
  margin: 60px auto 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
}
.ab-head {
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.ab-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--acc-1);
  text-transform: uppercase;
}
.ab-title {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 26px;
  margin: 0;
  color: var(--ink);
}
.ab-deck {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 300px;
}
.ab-side {
  padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-start;
  border-right: 1px solid var(--line);
  text-align: left;
  position: relative;
  z-index: 2;
  transition: background-color .35s ease;
}
.ab-side:last-of-type { border-right: 0; }
.ab-side.is-active {
  background: rgba(255,255,255,.03);
}
.ab-side.is-active::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--acc-1);
}
.ab-key {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: .2em;
}
.ab-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -.02em;
  color: var(--ink);
}
.ab-side.is-active .ab-name {
  color: var(--acc-1);
}
.ab-meter {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}
.ab-meter-fill {
  display: block; height: 100%;
  width: 30%;
  background: var(--acc-1);
  transition: width .1s linear;
}

.ab-canvas {
  position: absolute;
  bottom: 80px;
  left: 0; right: 0;
  width: 100%;
  height: 120px;
  z-index: 1;
  pointer-events: none;
  opacity: .6;
}

.ab-controls {
  position: absolute;
  bottom: 20px; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 18px;
  z-index: 3;
}
.ab-play {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(0,0,0,.4);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  transition: all .25s ease;
}
.ab-play:hover {
  background: var(--acc-1);
  border-color: var(--acc-1);
  color: #000;
}
.ab-time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .14em;
}

/* ===== FEATURES ===== */
.features { padding: 0 var(--pad) 60px; }
.feature-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.feat {
  background: var(--bg-2);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  transition: background-color .3s ease;
}
.feat:hover {
  background: var(--bg-3);
}
.feat-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--acc-1);
  letter-spacing: .14em;
}
.feat-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0;
}
.feat-body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.feat-art {
  margin-top: 16px;
  width: 100%; height: 80px;
  color: var(--acc-1);
  opacity: .6;
  transition: opacity .3s ease;
}
.feat:hover .feat-art { opacity: 1; }

/* ===== MODULES ===== */
.modules { padding: 0 var(--pad) 60px; }
.modules-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 900px) { .modules-grid { grid-template-columns: 1fr 1fr; } }
.mod {
  background: var(--bg-2);
  padding: 22px 20px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background-color .3s ease;
}
.mod:hover { background: var(--bg-3); }
.mod-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--acc-1);
}
.mod-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
  color: var(--ink);
}

/* Support toggling between CALM and LUST module grids */
[data-product="calm"] .modules[data-product-show="calm"],
[data-product="lust"] .modules[data-product-show="lust"] {
  display: block;
}
[data-product="calm"] .modules[data-product-show="lust"],
[data-product="lust"] .modules[data-product-show="calm"] {
  display: none;
}
.community { padding: 0 var(--pad) 60px; }
.comm-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .comm-grid { grid-template-columns: 1fr; } }

.comm-card {
  margin: 0;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
  display: flex; flex-direction: column; gap: 20px;
}
.comm-icon {
  font-size: 28px;
  line-height: 1;
}
.comm-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0;
}
.comm-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-dim);
  margin: 0;
  text-wrap: pretty;
}
.community-cta {
  max-width: var(--maxw);
  margin: 28px auto 0;
  display: flex;
  justify-content: center;
}

.community-page {
  min-height: 100vh;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(42,219,196,.10), transparent 62%),
    var(--bg);
}
.community-page .footer {
  padding-top: 80px;
}
.community-hero {
  padding: 132px var(--pad) 10px;
}
.community-hero .section-head {
  padding-top: 70px;
}


/* ===== SPECS ===== */
.specs { padding: 0 var(--pad) 60px; }
.specs-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 900px) { .specs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .specs-grid { grid-template-columns: 1fr; } }

.specs-col {
  background: var(--bg-2);
  padding: 28px 24px;
}
.specs-h {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--acc-1);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.specs-dl {
  margin: 0;
  display: flex; flex-direction: column;
}
.specs-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.specs-row:last-child { border-bottom: 0; }
.specs-row dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.specs-row dd {
  margin: 0;
  font-size: 13px;
  color: var(--ink);
  text-align: right;
}

/* ===== FAQ ===== */
.faq { padding: 0 var(--pad) 60px; }
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 4px;
  list-style: none;
  cursor: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.faq-toggle {
  width: 28px; height: 28px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: background-color .3s ease, border-color .3s ease;
}
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform .3s ease;
}
.faq-toggle::before {
  width: 10px; height: 1px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-toggle::after {
  width: 1px; height: 10px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-toggle {
  background: var(--acc-1);
  border-color: var(--acc-1);
}
.faq-item[open] .faq-toggle::before, .faq-item[open] .faq-toggle::after {
  background: #000;
}
.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-a {
  padding: 0 4px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 70ch;
  margin: 0;
}

/* ===== DOWNLOAD ===== */
.download {
  padding: 60px var(--pad) 100px;
}
.dl-frame {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 60px;
  border-radius: 24px;
  background:
    radial-gradient(80% 100% at 50% 0%, var(--acc-bg-2) 0%, var(--bg-2) 60%),
    var(--bg-2);
  border: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.dl-frame::before {
  content: "";
  position: absolute; inset: -40%;
  background: radial-gradient(40% 40% at 50% 0%, var(--acc-glow), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.dl-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--acc-1);
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
}
.dl-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0 0 40px;
  position: relative;
  text-wrap: balance;
}
.dl-word {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--acc-1);
  font-style: normal;
  display: inline-block;
  background: linear-gradient(180deg, var(--acc-1), var(--acc-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px var(--acc-glow));
}
.dl-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center;
  position: relative;
  margin-bottom: 24px;
}
.dl-register {
  position: relative;
  max-width: 680px;
  margin: -18px auto 28px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}
.download-gate {
  min-width: 240px;
  justify-content: center;
}
.download-gate.is-locked {
  color: var(--ink-2);
  border-color: rgba(255,255,255,.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)),
    rgba(255,255,255,.02);
}
.download-gate.is-locked::after {
  content: "REGISTER";
  position: absolute;
  top: 7px;
  right: 10px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .16em;
  color: var(--acc-1);
  opacity: .78;
}
.download-gate.is-unlocked {
  box-shadow:
    0 0 0 1px rgba(42,219,196,.18),
    0 0 38px rgba(42,219,196,.16);
}
.dl-fine {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0;
  position: relative;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  padding: 80px var(--pad) 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.footer-mark {
  max-width: var(--maxw);
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ft-wordmark {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: .04em;
  line-height: 1;
}
.ft-by {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.ft-by-line {
  width: 40px; height: 1px;
  background: var(--ink-4);
}
.ft-fluge {
  color: var(--acc-1);
  font-weight: 600;
}

.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.ft-col { display: flex; flex-direction: column; gap: 10px; }
.ft-h {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.ft-l {
  font-size: 14px;
  color: var(--ink-2);
  transition: color .25s ease;
}
.ft-l:hover { color: var(--acc-1); }

.footer-base {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  position: relative;
  z-index: 2;
}

.footer-huge {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(120px, 28vw, 460px);
  letter-spacing: -.04em;
  line-height: .8;
  text-align: center;
  margin-top: 40px;
  margin-bottom: -.18em;
  background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, transparent 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  position: relative;
  z-index: 1;
}

/* product fade swap */
[data-product-show] {
  display: none;
}
[data-product="calm"] [data-product-show="calm"],
[data-product="lust"] [data-product-show="lust"] {
  display: inline;
}
.what-points li[data-product-show="calm"],
.what-points li[data-product-show="lust"] {
  display: none;
}
[data-product="calm"] .what-points li[data-product-show="calm"],
[data-product="lust"] .what-points li[data-product-show="lust"] {
  display: grid;
}

/* image swap */
.stage-img { display: block; }

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* ===== NAVBAR ACCOUNT BUTTON ===== */
.nav-account {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--ink-2);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-left: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-account:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(255,255,255,0.05);
}
.nav-account.is-logged {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--acc-1);
  color: var(--acc-1);
}

/* ===== COMMUNITY SUGGESTIONS FORUM ===== */
.forum { padding: 0 var(--pad) 80px; }
.forum-container {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .forum-container { grid-template-columns: 1fr; }
}

.forum-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.forum-h {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 8px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.forum-text {
  font-size: 14px;
  color: var(--ink-dim);
  margin: 0 0 24px;
  line-height: 1.5;
}
.forum-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.form-input {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  transition: all 0.25s ease;
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: var(--acc-1);
  background: rgba(255,255,255,0.05);
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
}
.select-input {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='white' stroke-opacity='0.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.w-full { width: 100%; }

/* REDDIT POSTS LIST */
.forum-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.forum-empty {
  min-height: 260px;
  border: 1px dashed rgba(170,174,177,.22);
  border-radius: 14px;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(42,219,196,.08), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.005));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 34px;
}
.forum-empty strong {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -.03em;
}
.forum-empty p {
  max-width: 560px;
  margin: 0;
  color: var(--ink-2);
  line-height: 1.55;
}
.forum-post {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255,255,255,.01), transparent);
  display: flex;
  padding: 24px;
  gap: 20px;
  transition: border-color 0.25s ease;
}
.forum-post:hover {
  border-color: rgba(255,255,255,0.15);
}
.post-vote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 40px;
}
.vote-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--ink-dim);
  border-radius: 6px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}
.vote-btn:hover {
  background: rgba(255,255,255,0.08);
  color: var(--ink);
}
.vote-btn.active {
  background: var(--acc-1);
  border-color: var(--acc-1);
  color: #000;
}
.vote-count {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}
.vote-btn.active + .vote-count {
  color: var(--acc-1);
}

.post-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.post-cat {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.cat-dsp { background: rgba(0, 229, 255, 0.15); color: var(--acc-1); }
.cat-gui { background: rgba(188, 71, 255, 0.15); color: #d29eff; }
.cat-compatibility { background: rgba(255, 171, 64, 0.15); color: #ffd094; }
.cat-idea { background: rgba(255, 255, 255, 0.1); color: var(--ink-dim); }

.post-author {
  font-size: 12px;
  color: var(--ink-3);
}
.post-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  color: var(--ink);
}
.post-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.post-footer {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 8px;
}

/* ===== AUTH REGISTRATION MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.2,.8,.2,1);
  padding: 20px;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #0c0c0f;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
  transform: scale(0.94) translateY(10px);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}
.modal-overlay.is-open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: transparent;
  border: none;
  color: var(--ink-3);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--ink); }

.modal-head {
  text-align: center;
  margin-bottom: 32px;
}
.modal-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.modal-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 8px;
}
.modal-desc {
  font-size: 14px;
  color: var(--ink-dim);
  margin: 0;
  line-height: 1.5;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== SIGN IN PAGE ===== */
.nav--solid {
  background: linear-gradient(to bottom, rgba(5,5,7,.96), rgba(5,5,7,.82));
  border-bottom: 1px solid var(--line);
}

.signin-page {
  min-height: 100vh;
  background:
    radial-gradient(900px 600px at 50% 16%, rgba(42,219,196,.13), transparent 64%),
    radial-gradient(640px 420px at 20% 82%, rgba(170,174,177,.09), transparent 62%),
    linear-gradient(180deg, #050607 0%, #080a0a 52%, #050507 100%);
}

.signin-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 128px var(--pad) 72px;
}

.signin-shell::before,
.signin-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(42,219,196,.12);
  opacity: .55;
}

.signin-shell::before {
  inset: 110px max(20px, 8vw) 48px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(42,219,196,.08) 50%, transparent 50.1%),
    linear-gradient(180deg, transparent 49.9%, rgba(255,255,255,.045) 50%, transparent 50.1%);
}

.signin-shell::after {
  width: min(520px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow:
    0 0 90px rgba(42,219,196,.11),
    inset 0 0 80px rgba(42,219,196,.06);
}

.signin-card {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: clamp(28px, 5vw, 48px);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(180deg, rgba(252,253,254,.08), rgba(252,253,254,.025) 38%, rgba(0,0,0,.2)),
    rgba(8,10,10,.82);
  box-shadow:
    0 38px 100px -34px rgba(0,0,0,.92),
    0 0 80px rgba(42,219,196,.08),
    inset 0 1px 0 rgba(255,255,255,.09);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  overflow: hidden;
}

.signin-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(42,219,196,.12), transparent),
    radial-gradient(420px 180px at 50% 0%, rgba(252,253,254,.08), transparent 64%);
  opacity: .68;
}

.signin-brand {
  width: 92px;
  height: 92px;
  margin: 0 auto 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(252,253,254,.22), transparent 42%),
    linear-gradient(180deg, rgba(69,73,74,.9), rgba(23,24,24,.94));
  border: 1px solid rgba(170,174,177,.5);
  box-shadow:
    0 0 42px rgba(42,219,196,.18),
    inset 0 1px 0 rgba(252,253,254,.28),
    inset 0 -12px 24px rgba(0,0,0,.5);
  overflow: hidden;
}

.signin-brand img {
  width: 112%;
  height: 112%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(42,219,196,.38));
}

.signin-kicker {
  position: relative;
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--acc-1);
  text-align: center;
}

.signin-title {
  position: relative;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 300;
  line-height: .92;
  text-align: center;
  color: var(--ink);
}

.signin-copy {
  position: relative;
  margin: 18px auto 34px;
  max-width: 340px;
  text-align: center;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

.signin-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 22px;
  padding: 5px;
  border: 1px solid rgba(170,174,177,.14);
  border-radius: 999px;
  background: rgba(0,0,0,.28);
}
.auth-tab {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.auth-tab.is-active {
  color: #06100f;
  background: var(--acc-1);
  box-shadow: 0 0 20px rgba(42,219,196,.14);
}
.auth-link {
  align-self: center;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.auth-link:hover {
  color: var(--acc-1);
}
.signin-current {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.signin-form .form-input {
  min-height: 52px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(252,253,254,.055), rgba(0,0,0,.22)),
    rgba(0,0,0,.38);
  border-color: rgba(170,174,177,.18);
  box-shadow: inset 0 1px 0 rgba(252,253,254,.06);
}

.signin-form .form-input:focus {
  border-color: rgba(42,219,196,.78);
  box-shadow:
    0 0 0 3px rgba(42,219,196,.10),
    0 0 24px rgba(42,219,196,.10),
    inset 0 1px 0 rgba(252,253,254,.08);
}

.signin-status {
  min-height: 20px;
  margin: -4px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-3);
}

.signin-status.is-error { color: #ff707d; }
.signin-status.is-ok { color: var(--acc-1); }

.signin-submit {
  justify-content: center;
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
}

.signin-foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 720px) {
  .signin-shell {
    padding-top: 110px;
  }
  .signin-foot {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
