:root {
  --bg: #06110d;
  --bg-2: #0a1b14;
  --panel: #0f251b;
  --panel-2: #f4faf6;
  --ink: #07120f;
  --text: #f7fbf8;
  --muted: #a7bbb1;
  --soft: #d9e8df;
  --accent: #22d394;
  --accent-2: #ffb15f;
  --danger: #ff6b6b;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(7, 18, 15, 0.12);
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(34, 211, 148, 0.12), transparent 32%),
    linear-gradient(315deg, rgba(255, 177, 95, 0.11), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 17, 13, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 22px;
  font-style: italic;
  font-weight: 900;
}

.brand strong,
.mini-brand strong {
  color: var(--accent);
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links,
.site-footer div {
  display: flex;
  gap: 22px;
}

.nav-links a,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero-shell {
  min-height: calc(100vh - 76px);
  padding: clamp(38px, 6vw, 82px) clamp(20px, 5vw, 72px) clamp(72px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
  min-width: 0;
  max-width: 1220px;
  margin: 0 auto;
}

.hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 760px;
}

.hero-logo {
  width: clamp(74px, 9vw, 118px);
  height: clamp(74px, 9vw, 118px);
  margin-bottom: 26px;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(34, 211, 148, 0.18);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(76px, 14vw, 170px);
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.78;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 920;
  letter-spacing: 0;
  line-height: 0.96;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.04;
}

.lead {
  max-width: 650px;
  color: #d6e4dd;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 650;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 10px;
  font-weight: 900;
}

.button.secondary {
  padding: 0 22px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.button.primary {
  padding: 0 22px;
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 18px 48px rgba(34, 211, 148, 0.2);
}

.store-button {
  flex-direction: column;
  align-items: flex-start;
  min-width: 190px;
  padding: 11px 20px;
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 18px 48px rgba(34, 211, 148, 0.2);
}

.store-button span {
  font-size: 11px;
  line-height: 1;
  opacity: 0.84;
}

.store-button strong {
  margin-top: 3px;
  font-size: 20px;
  line-height: 1;
}

.spatial-phone {
  position: relative;
  min-height: 620px;
  perspective: 1100px;
}

.phone-frame {
  width: min(100%, 390px);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 42px;
  background: linear-gradient(145deg, #15231d, #050806);
  box-shadow: var(--shadow);
  transform: rotateY(-10deg) rotateX(5deg);
  transform-origin: center;
}

.phone-screen {
  overflow: hidden;
  min-height: 600px;
  border-radius: 32px;
  background: var(--panel-2);
  color: var(--ink);
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 22px 22px 14px;
  border-bottom: 1px solid var(--line-dark);
}

.mini-brand {
  font-size: 30px;
  font-style: italic;
  font-weight: 950;
}

.live-dot {
  padding: 7px 11px;
  border-radius: 999px;
  background: #10231d;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.feed-post {
  margin: 22px;
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background: #ffffff;
}

.featured-post {
  display: flex;
  gap: 14px;
}

.avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.avatar-green {
  background: linear-gradient(135deg, var(--accent), #0c1c15);
}

.post-content {
  min-width: 0;
}

.post-meta {
  margin-bottom: 8px;
  color: #5c6d65;
  font-size: 12px;
  font-weight: 850;
}

.feed-post p {
  margin-bottom: 0;
  font-size: 17px;
  font-weight: 850;
}

.mini-wave,
.waveform {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-wave {
  height: 76px;
  margin-top: 14px;
}

.mini-wave i,
.waveform i {
  display: block;
  width: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.mini-wave i:nth-child(1) { height: 24px; }
.mini-wave i:nth-child(2) { height: 48px; }
.mini-wave i:nth-child(3) { height: 34px; }
.mini-wave i:nth-child(4) { height: 62px; }
.mini-wave i:nth-child(5) { height: 42px; }
.mini-wave i:nth-child(6) { height: 56px; }
.mini-wave i:nth-child(7) { height: 30px; }
.mini-wave i:nth-child(8) { height: 46px; }

.media-post {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 14px;
  align-items: center;
}

.media-thumb {
  height: 116px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(34, 211, 148, 0.92), rgba(255, 177, 95, 0.84)),
    #dbe9e1;
}

.composer-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 82px 22px 0;
  padding: 12px 12px 12px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: #ffffff;
  color: #607269;
  font-size: 13px;
  font-weight: 800;
}

.composer-pill button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
}

.composer-pill button span {
  display: block;
  width: 13px;
  height: 13px;
  margin: auto;
  border-radius: 50%;
  background: var(--ink);
}

.floating-panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 178px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(15, 37, 27, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.panel-top {
  top: 70px;
  right: 0;
}

.panel-bottom {
  left: 0;
  bottom: 74px;
}

.metric {
  color: var(--accent);
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
}

.floating-panel span:last-child {
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.voice-lab,
.spatial-grid,
.safety-band,
.download-band,
.section,
.policy-hero,
.policy-content,
.support-grid,
.contact-panel {
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.section-heading p,
.voice-lab p,
.spatial-grid p,
.safety-stack p,
.support p,
.privacy p,
.policy-content p,
.support-grid p,
.contact-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.recorder-surface {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.88fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  min-height: 330px;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 177, 95, 0.1), transparent 42%),
    var(--panel);
  box-shadow: var(--shadow);
}

.status-pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.recorder-controls {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.record-button {
  width: 92px;
  height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 22px 48px rgba(34, 211, 148, 0.22);
}

.record-button span {
  display: block;
  width: 26px;
  height: 26px;
  margin: auto;
  border-radius: 50%;
  background: var(--ink);
}

.record-button.is-recording {
  background: var(--danger);
}

.record-button.is-recording span {
  border-radius: 7px;
}

.recorder-readout {
  min-width: 0;
}

#recordingTime {
  display: block;
  margin-bottom: 13px;
  color: var(--text);
  font-size: 44px;
  font-weight: 950;
  line-height: 1;
}

.waveform {
  min-height: 86px;
  padding-right: 12px;
}

.waveform i {
  width: 10px;
  height: 18px;
  background: #315045;
  transition: height 160ms ease, background-color 160ms ease;
}

.waveform.is-active i {
  background: var(--accent);
  animation: pulseWave 950ms ease-in-out infinite;
}

.waveform i:nth-child(2) { animation-delay: 80ms; }
.waveform i:nth-child(3) { animation-delay: 160ms; }
.waveform i:nth-child(4) { animation-delay: 240ms; }
.waveform i:nth-child(5) { animation-delay: 320ms; }
.waveform i:nth-child(6) { animation-delay: 400ms; }
.waveform i:nth-child(7) { animation-delay: 480ms; }
.waveform i:nth-child(8) { animation-delay: 560ms; }
.waveform i:nth-child(9) { animation-delay: 640ms; }
.waveform i:nth-child(10) { animation-delay: 720ms; }

@keyframes pulseWave {
  0%, 100% { height: 18px; }
  45% { height: 76px; }
}

audio {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 8px;
  display: none;
}

audio.has-audio {
  display: block;
}

.spatial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.spatial-grid .section-heading {
  grid-column: 1 / -1;
}

.spatial-grid article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 37, 27, 0.74);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
}

.feature-number {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 950;
}

.safety-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
  gap: clamp(26px, 6vw, 76px);
  background: var(--panel-2);
  color: var(--ink);
}

.safety-band .eyebrow {
  color: #108760;
}

.safety-stack p {
  color: #586d63;
  font-weight: 650;
}

.download-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.download-logo {
  width: 82px;
  height: 82px;
  border-radius: 20px;
}

.compact-store {
  justify-self: end;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
}

.policy-page {
  min-height: calc(100vh - 76px);
}

.policy-hero h1 {
  max-width: 980px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.9;
}

.policy-content {
  max-width: 920px;
}

.policy-content h2 {
  margin-top: 36px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.support-grid article {
  min-height: 260px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--bg);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero-stage,
  .recorder-surface,
  .safety-band,
  .download-band {
    grid-template-columns: 1fr;
  }

  .spatial-grid {
    grid-template-columns: 1fr;
  }

  .compact-store {
    justify-self: start;
  }

  .spatial-phone {
    min-height: 560px;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero-shell {
    min-height: auto;
  }

  .hero-stage,
  .hero-copy,
  .lead {
    max-width: calc(100vw - 48px);
  }

  .lead {
    font-size: 18px;
  }

  .phone-frame {
    width: min(calc(100vw - 48px), 340px);
    padding: 10px;
    transform: none;
  }

  .floating-panel {
    position: static;
    width: auto;
    margin: 14px auto 0;
  }

  .recorder-controls {
    grid-template-columns: 1fr;
  }

  .record-button {
    width: 82px;
    height: 82px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 460px) {
  .hero-shell {
    padding-right: 24px;
    padding-left: 24px;
  }

  .site-header {
    min-height: 68px;
  }

  .hero-logo {
    border-radius: 18px;
  }

  h1 {
    font-size: clamp(66px, 23vw, 98px);
  }

  .lead,
  .hero-actions {
    max-width: 320px;
  }

  .phone-screen {
    min-height: 540px;
  }

  .spatial-phone {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    min-height: 610px;
  }

  .phone-frame {
    width: min(calc(100vw - 56px), 286px);
    margin-right: 0;
    margin-left: 0;
    border-radius: 34px;
  }

  .floating-panel {
    max-width: 286px;
    margin-right: 0;
    margin-left: 0;
  }

  .phone-screen {
    border-radius: 25px;
  }

  .feed-post {
    margin: 16px;
  }

  .media-post {
    grid-template-columns: 1fr;
  }

  .media-thumb {
    height: 148px;
  }
}
