/* Blurt — pixel-neon dictation, grounded in the wordmark's cyan→magenta dither */

:root {
  --void: #0a0a0f;
  --panel: #14141c;
  --panel-2: #1b1b27;
  --line: #26263a;
  --ice: #00e0ff;
  --hot: #ff2d8e;
  --text: #f4f1ff;
  --dim: #8a8aa0;
  --grad: linear-gradient(180deg, var(--ice) 0%, var(--hot) 100%);

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pixel: "Silkscreen", var(--mono);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
  border-radius: 2px;
}

.page {
  width: min(900px, calc(100% - 44px));
  margin: 0 auto;
  padding: 26px 0 72px;
}

/* ---- Header ---- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--pixel);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.9rem;
}

.site-nav a {
  color: var(--dim);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--ice);
}

/* ---- Hero ---- */

.hero {
  padding: 60px 0 8px;
}

.eyebrow {
  margin: 0 0 22px;
  font-family: var(--pixel);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
}

.wordmark {
  width: min(560px, 100%);
  height: auto;
  margin-bottom: 30px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 26px rgba(255, 45, 142, 0.22));
}

h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 56ch;
  margin: 22px 0 0;
  color: var(--dim);
  font-size: 1.02rem;
}

/* ---- Signature: live recording meter ---- */

.meter {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 460px;
  margin: 36px 0 4px;
  padding: 16px 20px;
  background: #050507;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow:
    0 18px 50px -20px rgba(0, 224, 255, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.meter-tag {
  flex-shrink: 0;
  font-family: var(--pixel);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--hot);
  text-shadow: 0 0 10px rgba(255, 45, 142, 0.7);
}

.meter-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 100%;
  height: 34px;
}

.meter-bars span {
  flex: 1;
  min-width: 2px;
  height: 18%;
  border-radius: 2px;
  background: var(--grad);
  transform-origin: center;
  animation: pulse 1.1s ease-in-out infinite;
}

/* Staggered, irregular cadence so the bars read like a real voice */
.meter-bars span:nth-child(3n) {
  animation-duration: 0.85s;
}
.meter-bars span:nth-child(3n + 1) {
  animation-duration: 1.35s;
}
.meter-bars span:nth-child(4n) {
  animation-duration: 0.7s;
}
.meter-bars span:nth-child(1) {
  animation-delay: -0.2s;
}
.meter-bars span:nth-child(2) {
  animation-delay: -0.9s;
}
.meter-bars span:nth-child(3) {
  animation-delay: -0.4s;
}
.meter-bars span:nth-child(4) {
  animation-delay: -1.1s;
}
.meter-bars span:nth-child(5) {
  animation-delay: -0.6s;
}
.meter-bars span:nth-child(6) {
  animation-delay: -1.4s;
}
.meter-bars span:nth-child(7) {
  animation-delay: -0.3s;
}
.meter-bars span:nth-child(8) {
  animation-delay: -0.8s;
}
.meter-bars span:nth-child(9) {
  animation-delay: -1.2s;
}
.meter-bars span:nth-child(10) {
  animation-delay: -0.5s;
}
.meter-bars span:nth-child(11) {
  animation-delay: -1s;
}
.meter-bars span:nth-child(12) {
  animation-delay: -0.15s;
}
.meter-bars span:nth-child(13) {
  animation-delay: -0.95s;
}
.meter-bars span:nth-child(14) {
  animation-delay: -0.55s;
}
.meter-bars span:nth-child(15) {
  animation-delay: -1.3s;
}
.meter-bars span:nth-child(16) {
  animation-delay: -0.35s;
}
.meter-bars span:nth-child(17) {
  animation-delay: -0.75s;
}
.meter-bars span:nth-child(18) {
  animation-delay: -1.15s;
}
.meter-bars span:nth-child(19) {
  animation-delay: -0.45s;
}
.meter-bars span:nth-child(20) {
  animation-delay: -0.85s;
}

@keyframes pulse {
  0%,
  100% {
    height: 16%;
  }
  50% {
    height: 100%;
  }
}

/* ---- Buttons ---- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition:
    transform 0.12s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--ice);
  color: var(--ice);
}

.button-primary {
  position: relative;
  border: 0;
  background: var(--grad);
  color: #07070b;
}

.button-primary:hover {
  color: #07070b;
  box-shadow: 0 14px 36px -12px rgba(255, 45, 142, 0.55);
}

.fine-print {
  margin: 20px 0 0;
  color: var(--dim);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

/* ---- Dither divider (pulled from the wordmark's halftone transition) ---- */

.dither {
  height: 14px;
  margin: 56px 0;
  background-image:
    radial-gradient(circle at center, var(--ice) 38%, transparent 40%),
    radial-gradient(circle at center, var(--hot) 38%, transparent 40%);
  background-size:
    8px 8px,
    8px 8px;
  background-position:
    0 0,
    4px 4px;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 18%,
    #000 82%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 18%,
    #000 82%,
    transparent
  );
}

/* ---- Sections ---- */

.section {
  margin-top: 72px;
}

.kicker {
  margin: 0 0 14px;
  font-family: var(--pixel);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hot);
}

h2 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.prose {
  max-width: 64ch;
  margin: 0;
  color: var(--dim);
  font-size: 0.98rem;
}

.prose a {
  color: var(--ice);
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

/* Why */

.reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.reasons li {
  padding: 18px 0 18px 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--text);
}

.reasons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 9px;
  height: 9px;
  background: var(--grad);
  border-radius: 2px;
}

/* How */

.steps {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 2px solid transparent;
  border-image: var(--grad) 1;
}

.step-no {
  font-family: var(--pixel);
  font-size: 0.85rem;
  color: var(--ice);
}

.step-body {
  color: var(--text);
}

.demo {
  margin: 0;
}

.demo-hero {
  margin-top: 28px;
}

.demo img,
.demo video {
  width: 100%;
  border-radius: 20px;
}

.demo figcaption {
  margin-top: 14px;
  color: var(--dim);
  font-size: 0.84rem;
}

/* Requirements */

.requirements {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.requirements h2 {
  margin: 0;
}

.req-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.req-list li {
  padding: 9px 16px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
}

.req-list a {
  color: var(--ice);
  text-decoration: none;
}

.req-list a:hover {
  text-decoration: underline;
}

.requirements .button {
  justify-self: start;
}

/* ---- Footer ---- */

.site-footer {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-note {
  margin: 0;
  font-size: 0.88rem;
}

.footer-note a {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--dim);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--ice);
}

/* ---- Responsive ---- */

@media (max-width: 720px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .steps li {
    padding: 16px 0;
  }

  .hero {
    padding-top: 40px;
  }

  .requirements {
    padding: 28px 22px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---- Reduced motion: hold the meter still at varied heights ---- */

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

  .meter-bars span {
    animation: none;
  }

  .meter-bars span:nth-child(2n) {
    height: 60%;
  }
  .meter-bars span:nth-child(3n) {
    height: 85%;
  }
  .meter-bars span:nth-child(4n) {
    height: 35%;
  }
  .meter-bars span:nth-child(5n) {
    height: 70%;
  }

  .button:hover {
    transform: none;
  }
}
