:root {
  --ink: #18202a;
  --muted: #5e6976;
  --paper: #f7f6f1;
  --line: #d9d8cf;
  --dev: #395a9a;
  --white: #fffdfa;
  --shadow: 0 22px 70px rgba(26, 32, 42, 0.12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 0%, rgba(57, 90, 154, 0.13), transparent 26rem),
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    repeating-radial-gradient(circle at 0 0, rgba(24, 32, 42, 0.045) 0 1px, transparent 1px 4px),
    var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

img,
video {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(247, 246, 241, 0.88);
  border-bottom: 1px solid rgba(217, 216, 207, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.12rem;
  font-weight: 800;
}

.brand-dot {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 8px 50% 8px 50%;
  background: var(--dev);
  box-shadow: 0 0 0 6px rgba(57, 90, 154, 0.08);
  animation: brandMarkDev 8s ease-in-out infinite;
}

.brand-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.55);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.nav-toggle,
.menu-button {
  display: none;
}

.menu-button {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

main {
  flex: 1;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(18px, 2.4vw, 30px) 0;
  scroll-margin-top: 92px;
}

.band-section {
  width: 100%;
  padding-inline: 0;
}

.band-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.band-stack {
  display: grid;
  justify-items: center;
  text-align: center;
}

.dev-band {
  border-block: 1px solid var(--line);
  background: rgba(57, 90, 154, 0.075);
  padding-bottom: clamp(30px, 3vw, 42px);
}

.home-page .dev-band {
  padding-top: clamp(30px, 3.6vw, 44px);
  padding-bottom: clamp(38px, 4vw, 54px);
}

.logo-video {
  display: grid;
  width: min(420px, 100%);
  min-height: 0;
  place-items: center;
  margin: 0;
  background: transparent;
  border-radius: 8px;
}

.logo-video video {
  width: min(360px, 100%);
  aspect-ratio: 982 / 600;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}

.logo-mobile-static {
  display: none;
  width: min(360px, 100%);
  height: auto;
  max-height: 210px;
  object-fit: contain;
}

.dev-static-logo {
  display: block;
  width: min(360px, 82vw);
  height: auto;
  object-fit: contain;
}

.subpage:not(.app-page) .dev-static-logo {
  width: min(252px, 58vw);
}

.app-page-icon {
  display: block;
  width: min(190px, 50vw);
  aspect-ratio: 1;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(26, 32, 42, 0.16);
}

.voicelab-square-icon {
  padding: 18px;
  background: #04050b;
  object-fit: contain;
}

.band-title {
  margin: 14px 0 0;
  color: #243f78;
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  line-height: 1.05;
}

.home-page .band-title {
  margin-top: -10px;
  font-size: clamp(1.95rem, 3vw, 2.2rem);
}

.reveal-after-video {
  opacity: 1;
}

.home-page .reveal-after-video {
  opacity: 0;
  transform: none;
  transition: opacity 1.1s ease, transform 1.1s ease;
}

.home-page .reveal-after-video.is-visible {
  opacity: 1;
  transform: none;
}

.subpage:not(.app-page) .band-title {
  font-size: clamp(0.95rem, 1.75vw, 1.54rem);
}

.app-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-top: 5px solid var(--dev);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.78);
  box-shadow: var(--shadow);
}

.app-card-wide {
  grid-template-rows: auto;
  gap: 22px;
}

.subpage .app-card {
  border-top: 1px solid var(--line);
}

.subpage .first-card {
  border-top: 5px solid var(--dev);
}

.apps-grid {
  display: grid;
  width: calc(100% - 32px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.app-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.compact-heading {
  align-items: start;
}

.product-icon,
.mystery-icon {
  width: 112px;
  height: 112px;
  border-radius: 25px;
  justify-self: start;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(26, 32, 42, 0.18);
}

.voicelab-product-icon {
  object-fit: contain;
  padding: 12px;
  background: #04050b;
}

.home-page .product-icon,
.home-page .mystery-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
}

.home-page .voicelab-product-icon {
  padding: 10px;
}

.home-page .mystery-icon {
  font-size: 2.55rem;
}

.mystery-icon {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(145deg, #243f78, #111827);
  color: rgba(255, 255, 255, 0.88);
  font-size: 3.2rem;
  font-weight: 850;
}

.app-screenshot {
  display: block;
  width: min(860px, 100%);
  margin: 1.6em auto;
  border: 1px solid rgba(57, 90, 154, 0.2);
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 18px 50px rgba(26, 32, 42, 0.16);
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.feature-list h3 {
  margin: 0;
  color: #243f78;
  font-size: 1.18rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feature-grid section {
  padding: 14px 16px;
  border: 1px solid rgba(57, 90, 154, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.feature-grid h4 {
  margin: 0;
  color: #243f78;
  font-size: 1rem;
}

.feature-grid p {
  margin-top: 7px;
  font-size: 0.95rem;
}

.app-page .section:not(.band-section) {
  width: calc(100% - 32px);
  padding-top: 9px;
  padding-bottom: 9px;
}

.app-page .band-section + .section {
  padding-top: clamp(18px, 2.4vw, 30px);
}

.app-page .app-card,
.app-page .info-panel {
  padding-inline: clamp(42px, 5.6vw, 78px);
}

.app-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

h2 {
  margin: 0;
  color: #243f78;
  font-size: clamp(1.22rem, 2vw, 1.72rem);
  line-height: 1.08;
}

.center-title {
  text-align: center;
  margin-bottom: 1.8em;
}

.app-page .center-title {
  font-size: clamp(1.46rem, 2.4vw, 2.06rem);
}

.center-title span {
  font-weight: 400;
}

p {
  margin: 12px 0 0;
  color: var(--muted);
}

.muted-note {
  font-style: italic;
}

.function-list {
  color: var(--muted);
}

.function-list h3 {
  margin: 0 0 10px;
  color: #243f78;
  font-size: 1.05rem;
}

.function-list ul,
.simple-list {
  margin: 0;
  padding-left: 1.15rem;
}

.function-list li + li,
.simple-list li + li {
  margin-top: 5px;
}

.section-lead {
  margin-top: 0;
  color: var(--ink);
  font-weight: 800;
}

.voicelab-intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.voicelab-visual {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(26, 32, 42, 0.16);
}

.function-list strong {
  color: #243f78;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: auto;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.button:hover {
  box-shadow: inset 0 0 0 1px rgba(57, 90, 154, 0.42);
}

.dark-button {
  margin-top: 18px;
  background: #17376b;
  color: #fff;
  box-shadow: none;
}

.dark-button:hover {
  background: #102a54;
  box-shadow: none;
}

.video-panel {
  background: rgba(255, 253, 250, 0.9);
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #111827;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.examples-section h2,
.faq-section h2,
.examples-panel h2 {
  margin-bottom: 16px;
}

.centered-faq h2 {
  text-align: center;
}

.audio-grid,
.info-grid-section,
.forms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.audio-card,
.info-panel,
.form-panel,
.accordion {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.78);
  box-shadow: 0 14px 46px rgba(26, 32, 42, 0.08);
}

.info-grid-section {
  grid-template-columns: 1fr;
}

.audio-card,
.info-panel,
.form-panel {
  padding: clamp(18px, 2.3vw, 26px);
}

.audio-card h3 {
  margin: 0 0 14px;
  color: #243f78;
  font-size: 1.08rem;
}

.audio-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.audio-slot span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
}

.audio-slot audio {
  display: block;
  width: 100%;
}

.info-panel ul {
  margin: 14px 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.info-panel li + li {
  margin-top: 7px;
}

.version-table {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.version-table div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(145px, auto);
  align-items: start;
  gap: 18px;
  padding: 12px;
  border: 1px solid rgba(57, 90, 154, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.version-table p {
  margin: 0;
  color: var(--muted);
}

.version-table strong {
  color: #243f78;
}

.version-detail {
  display: inline-block;
  margin-top: 6px;
}

.price {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 160px;
  padding: 12px 14px;
  border: 1px solid rgba(57, 90, 154, 0.26);
  border-radius: 8px;
  background:
    repeating-linear-gradient(-45deg, rgba(57, 90, 154, 0.08) 0 6px, rgba(255, 255, 255, 0.28) 6px 12px),
    rgba(57, 90, 154, 0.1);
  text-align: right;
  white-space: nowrap;
}

.price span {
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 800;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.price em {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #b64037;
  font-size: 0.98rem;
  font-style: normal;
  font-weight: 650;
}

.price em .launch-label {
  color: #b64037;
  font-size: 0.86rem;
  font-weight: 400;
  text-decoration: none;
}

.price em strong {
  font-size: 1.28rem;
  font-style: normal;
  line-height: 1;
}

.faq-section {
  display: grid;
  gap: 12px;
}

.faq-suggestion-link {
  justify-self: center;
  margin-top: 8px;
}

.accordion {
  overflow: hidden;
}

.accordion summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 780;
  background: rgba(57, 90, 154, 0.06);
}

.accordion p {
  margin: 0;
  padding: 0 16px 16px;
  text-align: left;
}

.light-app {
  background: rgba(255, 253, 250, 0.88);
}

.forms-grid {
  align-items: start;
}

.newsletter-stack,
.single-form-section {
  display: grid;
  gap: 16px;
  padding-top: clamp(30px, 3.8vw, 48px);
}

.single-form-section {
  width: min(760px, calc(100% - 36px));
}

.form-panel h2 {
  margin-bottom: 8px;
}

.contact-form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.form-row,
.captcha-row {
  display: grid;
  gap: 6px;
}

.form-separator {
  height: 1px;
  margin: 8px 0 2px;
  background: rgba(57, 90, 154, 0.22);
}

.check-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(57, 90, 154, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
}

.check-group legend {
  padding: 0 6px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.check-group label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}

.check-group input[type="checkbox"] {
  width: auto;
}

.check-group input[type="text"] {
  grid-column: 1 / -1;
}

.form-row label,
.captcha-row label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-row label span,
.captcha-row label span {
  color: #b64037;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  padding: 10px 11px;
}

.button-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.button-line .button {
  margin-top: 0;
}

.dev-note {
  color: var(--muted);
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 300;
}

textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 650;
}

.form-status.success {
  background: rgba(47, 111, 115, 0.12);
  color: #174f46;
}

.form-status.error {
  background: rgba(182, 64, 55, 0.12);
  color: #8f2e28;
}

.language-section {
  padding-top: 0;
}

.language-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(18px, 4vw, 54px);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-size: 0.75rem;
}

.footer-langs {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-left: auto;
  font-size: 0.95rem;
  line-height: 1;
}

@media (max-width: 1080px) {
  .site-header {
    align-items: center;
    gap: 14px;
  }

  .menu-button {
    display: inline-flex;
    margin-left: auto;
  }

  .top-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px clamp(18px, 4vw, 54px) 18px;
    background: rgba(247, 246, 241, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(26, 32, 42, 0.08);
    align-items: stretch;
    justify-content: flex-start;
  }

  .top-nav a {
    width: 100%;
    border-radius: 8px;
  }

  .nav-toggle:checked ~ .top-nav {
    display: grid;
  }
}

@media (max-width: 860px) {
  .logo-video video {
    display: none;
  }

  .logo-mobile-static {
    display: block;
    width: min(288px, 80vw);
  }

  .home-page .reveal-after-video {
    margin-top: 18px;
    font-size: clamp(1.95rem, 4.5vw, 2.15rem);
    opacity: 1;
    transform: none;
  }

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

  .audio-grid,
  .feature-grid,
  .info-grid-section,
  .forms-grid {
    grid-template-columns: 1fr;
  }

  .version-table div {
    grid-template-columns: 1fr;
  }

  .price {
    justify-items: start;
    text-align: left;
    white-space: normal;
  }

  .app-card {
    grid-template-rows: auto;
    align-items: start;
  }

  .app-heading {
    grid-template-columns: auto 1fr;
  }

  .audio-compare {
    grid-template-columns: 1fr;
  }

  .voicelab-intro {
    grid-template-columns: 1fr;
  }

  .voicelab-visual {
    width: min(320px, 100%);
    margin: 0 auto;
  }

  .product-icon,
  .mystery-icon {
    width: 82px;
    height: 82px;
    border-radius: 19px;
  }

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

@media (max-width: 520px) {
  .brand {
    font-size: 1rem;
  }

  .app-card {
    grid-template-columns: 1fr;
  }

  .app-heading {
    grid-template-columns: 1fr;
  }
}

@keyframes brandMarkDev {
  0%,
  38% {
    transform: rotate(0deg);
    background: var(--dev);
  }

  50%,
  88% {
    transform: rotate(180deg);
    background: var(--dev);
  }

  100% {
    transform: rotate(360deg);
    background: var(--dev);
  }
}
