:root {
  --bg: #ffffff;
  --ink: #0b0f14;
  --muted: #5a6472;
  --quiet: #8993a1;
  --line: #e7edf2;
  --surface: #f8fafc;
  --surface-strong: #eef7fa;
  --cyan: #00b9d7;
  --cyan-dark: #008ca4;
  --lime: #93d747;
  --amber: #ffbd4a;
  --red: #ff6a5f;
  --shadow: 0 18px 60px rgba(12, 18, 28, 0.08);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

code,
pre {
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 15px;
  font-weight: 760;
}

.brand-mark,
.workflow-icon,
.mic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--cyan-dark);
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  border-radius: 6px;
  padding: 9px 11px;
}

.site-nav a:hover {
  background: var(--surface);
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 16px;
  font-size: 14px;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-light {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: center;
  width: min(100% - 40px, var(--max));
  min-height: calc(100vh - 150px);
  margin: 0 auto;
  padding: 44px 0 26px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 6vw, 74px);
  font-weight: 810;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}

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

.config-warning {
  border-left: 3px solid var(--amber);
  padding-left: 12px;
  font-size: 13px !important;
  color: var(--muted) !important;
}

.hero-visual {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img,
.workflow-image,
.comparison-visual img,
.final-cta-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-visual img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-visual figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 16px 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.hero-visual figcaption svg {
  flex: 0 0 auto;
  color: var(--cyan-dark);
}

.voice-board {
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(0, 185, 215, 0.08), rgba(255, 255, 255, 0) 40%),
    #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.board-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--quiet);
  font-size: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background: var(--red);
}

.dot-amber {
  background: var(--amber);
}

.dot-green {
  background: var(--lime);
}

.toolbar-title {
  margin-left: auto;
  color: var(--muted);
  font-weight: 680;
}

.wave-panel {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: center;
  margin: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}

.mic-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.wave-bars {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 72px;
}

.wave-bars span {
  display: block;
  width: 8px;
  border-radius: 999px;
  background: var(--cyan);
  animation: wave 1.8s ease-in-out infinite;
}

.wave-bars span:nth-child(1) { height: 18px; animation-delay: 0ms; }
.wave-bars span:nth-child(2) { height: 34px; animation-delay: 80ms; }
.wave-bars span:nth-child(3) { height: 54px; animation-delay: 160ms; }
.wave-bars span:nth-child(4) { height: 40px; animation-delay: 240ms; }
.wave-bars span:nth-child(5) { height: 68px; animation-delay: 320ms; }
.wave-bars span:nth-child(6) { height: 46px; animation-delay: 400ms; }
.wave-bars span:nth-child(7) { height: 30px; animation-delay: 480ms; }
.wave-bars span:nth-child(8) { height: 58px; animation-delay: 560ms; }
.wave-bars span:nth-child(9) { height: 42px; animation-delay: 640ms; }
.wave-bars span:nth-child(10) { height: 24px; animation-delay: 720ms; }

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.72);
    opacity: 0.62;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.output-tabs {
  display: flex;
  gap: 8px;
  margin: 0 22px;
}

.output-tabs button,
.copy-button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.output-tabs button[aria-selected="true"] {
  border-color: rgba(0, 185, 215, 0.38);
  background: var(--surface-strong);
  color: var(--cyan-dark);
}

.output-card {
  min-height: 178px;
  margin: 12px 22px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  color: #17212f;
  font-size: 14px;
  line-height: 1.68;
  white-space: pre-wrap;
}

.conversion-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 22px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.conversion-line svg {
  color: var(--cyan-dark);
}

.section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 92px 0;
}

.section-tight {
  padding-top: 30px;
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p,
.final-cta p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.workflow-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.workflow-icon {
  margin: 20px 24px 0;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--cyan-dark);
}

.workflow-image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.workflow-card h3 {
  margin: 18px 24px 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.workflow-card p {
  margin: 0 24px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.article-index-section {
  border-top: 1px solid var(--line);
}

.article-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.article-link-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
}

.article-link-card span,
.article-kicker {
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.article-link-card strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
}

.article-link-card small {
  margin-top: auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 52px;
  border-top: 1px solid var(--line);
}

.sticky-heading {
  position: sticky;
  top: 104px;
  align-self: start;
}

.notes-list {
  border-top: 1px solid var(--line);
}

.comparison-content {
  display: grid;
  gap: 24px;
}

.comparison-visual {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.comparison-visual img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.note-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.note-row span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.note-row p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.script-section {
  border-top: 1px solid var(--line);
}

.script-box {
  position: relative;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0f14;
  color: #e9f2f7;
}

.script-box pre {
  margin: 0;
  padding: 28px;
  overflow: auto;
  font-size: 14px;
  line-height: 1.72;
  white-space: pre-wrap;
}

.copy-button {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #fff;
  color: var(--ink);
}

.tracker-section {
  border-top: 1px solid var(--line);
}

.tracker-table-wrap {
  margin-top: 34px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tracker-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

.tracker-table th,
.tracker-table td {
  border-bottom: 1px solid var(--line);
  padding: 15px 18px;
  text-align: left;
  font-size: 14px;
}

.tracker-table th {
  background: var(--surface);
  color: var(--muted);
  font-weight: 760;
}

.tracker-table tr:last-child td {
  border-bottom: 0;
}

.final-cta {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: min(100% - 40px, var(--max));
  margin: 0 auto 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(0, 185, 215, 0.1), transparent 44%),
    #fff;
  padding: 34px;
}

.final-cta-copy {
  max-width: 760px;
}

.final-cta-image {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 720;
}

.article-page {
  background: var(--bg);
}

.article-main {
  width: min(100% - 40px, 860px);
  margin: 0 auto;
  padding: 72px 0 96px;
}

.article-main h1 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.article-deck {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}

.article-body {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.article-body h2 {
  margin: 42px 0 12px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.14;
  letter-spacing: 0;
}

.article-body p,
.article-body li {
  color: #263241;
  font-size: 17px;
  line-height: 1.74;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
}

.article-body blockquote {
  margin: 24px 0;
  border-left: 3px solid var(--cyan);
  padding: 4px 0 4px 18px;
  color: #263241;
}

.article-body blockquote p {
  margin: 0;
}

.article-cta {
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
}

.article-cta p {
  margin: 0 0 16px;
}

.article-disclosure {
  margin-top: 18px;
  color: var(--muted) !important;
  font-size: 13px !important;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .voice-board {
    max-width: 680px;
  }

  .hero-visual {
    max-width: 760px;
  }

  .sticky-heading {
    position: static;
  }

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

  .article-link-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    grid-template-columns: 180px 1fr;
  }

  .final-cta .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .section,
  .final-cta,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    gap: 12px;
  }

  .brand {
    font-size: 14px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-visual {
    border-radius: var(--radius);
  }

  .hero-visual img {
    aspect-ratio: 16 / 9;
  }

  .hero-visual figcaption {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    font-size: 12px;
    line-height: 1.35;
  }

  .voice-board {
    border-radius: var(--radius);
  }

  .wave-panel {
    grid-template-columns: 1fr;
    margin: 14px;
    padding: 16px;
  }

  .output-tabs,
  .output-card,
  .conversion-line {
    margin-left: 14px;
    margin-right: 14px;
  }

  .note-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta .button {
    grid-column: auto;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
