/* NiceDial Tech — AI contact center marketing site */

:root {
  --bg-deep: #070b12;
  --bg-card: #0f1419;
  --bg-elevated: #151c24;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf4;
  --text-muted: #8b98a8;
  --accent: #3ee0b8;
  --accent-dim: rgba(62, 224, 184, 0.15);
  --accent-glow: rgba(62, 224, 184, 0.35);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", var(--font-sans);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 72px;
  --max: 1120px;
  /** Horizontal inset for all breakpoints (narrow phones → desktop) */
  --site-gutter: clamp(0.75rem, 3.5vw, 1.25rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2 * var(--site-gutter), var(--max));
  margin-inline: auto;
  padding-inline: max(0px, env(safe-area-inset-left, 0px)) max(0px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 11, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2 * var(--site-gutter), var(--max));
  margin-inline: auto;
  padding-inline: max(0px, env(safe-area-inset-left, 0px)) max(0px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.logo strong {
  font-weight: 700;
  color: var(--accent);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent) 0%, #1a8f7a 100%);
  box-shadow: 0 0 24px var(--accent-glow);
}

.logo-mark--sm {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.site-nav .nav-cta {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(62, 224, 184, 0.35);
}

.site-nav .nav-cta:hover {
  background: rgba(62, 224, 184, 0.25);
  color: #b8fff0;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    max-height: min(70vh, calc(100dvh - var(--header-h) - 0.5rem));
    max-height: min(70vh, calc(100vh - var(--header-h) - 0.5rem));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: 0.85rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm);
  }

  .site-nav a:hover {
    background: var(--bg-card);
  }

  .site-nav .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  max-width: 520px;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(40px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.lead {
  font-size: clamp(1rem, 2.8vw, 1.125rem);
  color: var(--text-muted);
  max-width: 36ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #04221c;
}

.btn-primary:hover {
  background: #5ae8c4;
  text-decoration: none;
  color: #04221c;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  background: var(--bg-card);
  text-decoration: none;
}

.btn-block {
  width: 100%;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-badges li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}

/* Hero panel */
.hero-panel {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-card {
  position: relative;
  z-index: 2;
  width: min(100%, 240px);
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.panel-card--main .panel-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.panel-stat {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0.25rem 0;
}

.panel-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.panel-orbit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.orbit-node {
  position: absolute;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  animation: float 5s ease-in-out infinite;
}

.orbit-node--1 {
  top: 8%;
  right: 12%;
  animation-delay: 0s;
}

.orbit-node--2 {
  bottom: 18%;
  right: 5%;
  animation-delay: 1.2s;
}

.orbit-node--3 {
  bottom: 12%;
  left: 8%;
  animation-delay: 2.4s;
}

.orbit-node--4 {
  top: 22%;
  left: 0;
  animation-delay: 3.6s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Strip */
.strip {
  border-block: 1px solid var(--border);
  background: var(--bg-card);
}

.strip-inner {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.strip-inner strong {
  color: var(--text);
  font-weight: 600;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--alt {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-deep) 100%);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Solutions: product strip (Video / Website Chat / Chat Bot) */
.solutions-products {
  margin-bottom: 0;
}

.solutions-products-label,
.solutions-platform-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 1rem;
}

.solutions-platform-label {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.card-grid--products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .card-grid--products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .card-grid--products {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.card-grid--products .feature-card--product {
  grid-column: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.card-grid--products .feature-card--product p {
  flex-grow: 1;
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: rgba(62, 224, 184, 0.25);
  box-shadow: 0 0 0 1px rgba(62, 224, 184, 0.08);
}

.feature-card--wide {
  grid-column: 1 / -1;
}

.feature-card--product {
  grid-column: 1 / -1;
  border-color: rgba(62, 224, 184, 0.22);
  background: linear-gradient(145deg, rgba(62, 224, 184, 0.08) 0%, var(--bg-elevated) 55%);
}

@media (min-width: 901px) {
  .feature-card--product {
    grid-column: span 2;
  }
}

.feature-card-cta {
  margin-top: 1rem;
}

@media (min-width: 901px) {
  .feature-card--wide {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.5rem;
    align-items: start;
  }

  .feature-card--wide .feature-icon {
    grid-row: span 2;
  }

  .feature-card--wide h3 {
    margin: 0;
  }

  .feature-card--wide p {
    grid-column: 2;
    margin: 0;
  }
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.feature-icon svg {
  flex-shrink: 0;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split-copy p {
  color: var(--text-muted);
}

.checklist {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  color: var(--text);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.split-visual {
  display: flex;
  justify-content: center;
}

.flow-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  max-width: 100%;
}

.flow-node {
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

.flow-node--in {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.flow-node--ai {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(62, 224, 184, 0.35);
}

.flow-node--out {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.flow-arrow {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pill {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* CTA */
.cta-band {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(145deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .cta-inner {
    grid-template-columns: 1fr;
  }
}

.cta-inner h2 {
  margin-bottom: 0.5rem;
}

.cta-inner > div p {
  color: var(--text-muted);
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-messages {
  display: none;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.form-messages:not(:empty) {
  display: block;
}

.form-messages--success {
  background: var(--accent-dim);
  border: 1px solid rgba(62, 224, 184, 0.35);
  color: #b8fff0;
}

.form-messages--warn {
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #f5e6a3;
}

.form-messages--error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.contact-form input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input::placeholder {
  color: var(--text-muted);
}

.contact-form input:focus {
  border-color: rgba(62, 224, 184, 0.5);
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}

.demo-challenge-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.demo-challenge-row label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.demo-challenge-row input {
  width: 100%;
  max-width: 8rem;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s;
}

.demo-challenge-row input:focus {
  border-color: rgba(62, 224, 184, 0.5);
}

.contact-form-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer */
.site-footer {
  padding: 2rem 0 max(2rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-top {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-top:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

/* Legal / policy pages */
.legal-page {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(4rem, 8vw, 5rem);
}

.legal-page .container {
  max-width: 720px;
}

.legal-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.legal-page h1 {
  margin-bottom: 1rem;
}

.legal-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.legal-page ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
}

.legal-page a {
  color: var(--accent);
}

.legal-page .legal-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  font-style: italic;
}

/* Mic recording demo */
.mic-page {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 10vw, 5.5rem);
  overflow: hidden;
}

.mic-hero-glow {
  position: absolute;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 720px);
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 62%);
  pointer-events: none;
  filter: blur(48px);
  opacity: 0.85;
}

.mic-page-inner {
  position: relative;
  z-index: 1;
}

.mic-page-head {
  max-width: 640px;
  margin-bottom: 1.75rem;
}

.mic-page-head h1 {
  margin-bottom: 0.65rem;
}

.mic-page-lead {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.mic-support {
  margin-bottom: 1.75rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  line-height: 1.5;
  border: 1px solid var(--border);
}

.mic-support--ok {
  background: var(--accent-dim);
  border-color: rgba(62, 224, 184, 0.35);
  color: #c6faf0;
}

.mic-support--bad {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.mic-panel {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(160deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.35);
}

.mic-panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.mic-timer-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mic-timer-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.mic-timer {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  letter-spacing: 0.04em;
}

.mic-status {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 36ch;
  text-align: right;
}

@media (max-width: 600px) {
  .mic-status {
    text-align: left;
  }
}

.mic-visual {
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  overflow: hidden;
}

.mic-meter {
  display: block;
  width: 100%;
  height: 120px;
  vertical-align: middle;
}

.mic-control-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.mic-fab {
  position: relative;
  width: 104px;
  height: 104px;
  min-width: 104px;
  min-height: 104px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #04221c;
  background: linear-gradient(145deg, var(--accent) 0%, #2bc49f 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 18px 40px rgba(62, 224, 184, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.mic-fab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(0.2);
}

.mic-fab:not(:disabled):hover {
  filter: brightness(1.05);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 22px 48px rgba(62, 224, 184, 0.38);
}

.mic-fab:not(:disabled):active {
  transform: scale(0.97);
}

.mic-fab.is-recording {
  color: #fff;
  background: linear-gradient(145deg, #ef4444 0%, #b91c1c 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 18px 44px rgba(239, 68, 68, 0.35);
}

.mic-fab-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(62, 224, 184, 0.45);
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

.mic-fab.is-recording .mic-fab-ring {
  border-color: rgba(248, 113, 113, 0.65);
  animation: mic-pulse 1.4s ease-out infinite;
}

@keyframes mic-pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.92);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

.mic-fab-icon {
  position: relative;
  z-index: 1;
  display: block;
  margin: auto;
}

.mic-hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 28rem;
}

.mic-output {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.mic-output-title {
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.mic-audio {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
}

.mic-output-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mic-notes {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  max-width: 640px;
}

.mic-notes-title {
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.mic-notes-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.mic-notes-list li {
  margin-bottom: 0.5rem;
}

/* AudioSocket call page */
.as-page {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 10vw, 5.5rem);
  overflow: hidden;
}

.as-page-inner {
  position: relative;
  z-index: 1;
}

.as-banner {
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  line-height: 1.5;
  border: 1px solid var(--border);
}

.as-banner--error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.as-panel .as-endpoint {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-deep);
  border: 1px solid var(--border);
}

.as-endpoint-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.as-endpoint-value {
  font-size: 0.8125rem;
  word-break: break-all;
  color: #c6faf0;
}

.as-status {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.as-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.as-log-wrap {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.as-log-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text-muted);
}

.as-log {
  margin: 0;
  max-height: 220px;
  overflow: auto;
  padding: 0.85rem 1rem;
  font-size: 0.75rem;
  line-height: 1.45;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--text-muted);
  background: var(--bg-deep);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  white-space: pre-wrap;
  word-break: break-word;
}

/* ——— Video Consult product & gated demo ——— */
.vc-page .eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.vc-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 4.5rem);
  overflow: hidden;
}

.vc-hero-glow {
  position: absolute;
  inset: -30% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(62, 224, 184, 0.2), transparent 55%);
  pointer-events: none;
}

.vc-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .vc-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.vc-checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.vc-checklist li {
  padding-left: 1.5rem;
  position: relative;
}

.vc-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.vc-hero-panel {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
}

.vc-panel-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px dashed rgba(62, 224, 184, 0.25);
  animation: vc-spin 28s linear infinite;
}

@keyframes vc-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vc-panel-ring {
    animation: none;
  }
}

.vc-panel-core {
  position: relative;
  z-index: 1;
  width: min(100%, 280px);
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.vc-mini-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.vc-avatars {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.vc-av {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.vc-av--host {
  background: rgba(62, 224, 184, 0.15);
  color: var(--accent);
  border: 1px solid rgba(62, 224, 184, 0.35);
}

.vc-av--guest {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.vc-mini-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.vc-strip {
  background: rgba(62, 224, 184, 0.06);
  border-block: 1px solid var(--border);
}

.vc-strip p {
  margin: 0;
  text-align: center;
  max-width: 56ch;
  margin-inline: auto;
  color: var(--text-muted);
}

.vc-feature-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .vc-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.vc-card {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.vc-card h3 {
  margin-top: 0;
}

.vc-cta {
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.vc-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

/* Demo wizard */
.vc-demo-page .vc-demo-main {
  padding-top: clamp(0.25rem, 2vw, 1rem);
  padding-bottom: max(3rem, calc(env(safe-area-inset-bottom, 0px) + 2.5rem));
}

.vc-demo-wrap {
  max-width: 560px;
}

.vc-demo-hero {
  margin-bottom: 1.75rem;
}

.vc-demo-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.text-muted {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.vc-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  counter-reset: vcstep;
}

.vc-steps li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.vc-steps li span {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 700;
}

.vc-steps li.is-active {
  color: var(--text);
}

.vc-steps li.is-active span {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.vc-steps li.is-done span {
  background: rgba(62, 224, 184, 0.2);
  border-color: rgba(62, 224, 184, 0.4);
  color: var(--accent);
}

.vc-demo-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.vc-step-panel h2 {
  margin-top: 0;
}

.vc-demo-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.vc-demo-form label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.vc-demo-form input {
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-deep);
  color: var(--text);
  font: inherit;
}

.vc-demo-form input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

.vc-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.vc-hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
}

.vc-challenge-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.vc-miss-number {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin: 0.75rem 0 1rem;
  font-family: ui-monospace, monospace;
}

.vc-poll-status {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.vc-small {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.vc-demo-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.vc-demo-alert--error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.hidden {
  display: none !important;
}

/* ——— Global responsive & touch-friendly layout ——— */
@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .vc-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .vc-hero .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-panel {
    min-height: 280px;
  }

  .panel-card--main {
    width: min(100%, 220px);
    padding: 1.25rem;
  }

  .orbit-node {
    font-size: 0.6875rem;
    padding: 0.35rem 0.6rem;
  }

  .orbit-node--4 {
    left: 2%;
  }

  .orbit-node--1 {
    right: 4%;
  }

  .mic-output-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mic-output-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .as-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .as-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-panel {
    min-height: 240px;
  }

  .strip-inner {
    padding-inline: var(--site-gutter);
    font-size: 0.875rem;
  }

  .vc-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 0.65rem;
    align-items: start;
  }

  .vc-steps li {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .vc-steps li span {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.6875rem;
    flex-shrink: 0;
  }

  .vc-demo-card {
    padding: clamp(1rem, 4vw, 1.5rem);
    border-radius: var(--radius-sm);
  }

  .vc-miss-number {
    word-break: break-all;
    font-size: clamp(1.1rem, 5vw, 1.5rem);
    letter-spacing: 0.02em;
  }

  .vc-cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .vc-cta-inner .btn-lg {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  :root {
    --site-gutter: 0.65rem;
  }

  .vc-steps {
    grid-template-columns: 1fr;
  }
}

.contact-form input,
.demo-challenge-row input {
  min-height: 48px;
}

.vc-demo-form input {
  min-height: 48px;
}

/* Free consultation landing (free-consultation.php) */
.fc-quote {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--accent);
  margin: 0 0 1rem;
  font-weight: 500;
}

.fc-quote--center {
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.fc-strip-quote {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.fc-solution-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  justify-content: center;
}

.fc-solution-chip {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.fc-pill-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin: 0.5rem 0;
}

.fc-pill {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: rgba(62, 224, 184, 0.12);
  color: var(--accent);
}

.fc-steps {
  max-width: 36rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.fc-steps li + li {
  margin-top: 0.85rem;
}

.fc-cta-tagline {
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.fc-select,
.fc-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  margin-bottom: 0.65rem;
}

.fc-select:focus,
.fc-textarea:focus {
  outline: none;
  border-color: rgba(62, 224, 184, 0.45);
  box-shadow: 0 0 0 2px rgba(62, 224, 184, 0.12);
}

.fc-textarea {
  resize: vertical;
  min-height: 5rem;
}

