@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

[hidden] {
  display: none !important;
}

:root {
  --bg-primary: #faf8f5;
  --bg-secondary: #f5efe7;
  --bg-warm: #fdf6ee;
  --text-primary: #18171a;
  --text-secondary: #5f5a57;
  --text-muted: #8b837d;
  --accent-warm: #e6a57a;
  --accent-peach: #f4d8c3;
  --accent-light: #fff4eb;
  --accent-teal: #79bdc8;
  --accent-teal-deep: #2f98a6;
  --accent-line: #dbe9eb;
  --border-color: #e8e1d7;
  --border-light: #efe9e1;
  --white: #ffffff;
  --text-inverse: #faf8f5;
  --shadow-soft: 0 20px 60px rgba(26, 18, 12, 0.06);
  --shadow-card: 0 12px 30px rgba(26, 18, 12, 0.05);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-width {
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  width: min(1280px, calc(100% - 56px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: block;
  width: 220px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.btn-ghost:hover {
  color: var(--text-primary);
}

.header-actions,
.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-large {
  min-height: 46px;
  padding: 12px 24px;
  font-size: 15px;
}

.btn-dark {
  background: var(--text-primary);
  color: var(--text-inverse);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn-dark:hover {
  background: var(--text-primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.btn-light {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--border-color);
  color: var(--text-primary);
}

.btn-light:hover {
  background: var(--white);
}

.btn-ghost {
  padding-inline: 8px;
  color: var(--text-primary);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 74px 0 58px;
}

.hero-surface {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    url("Fondos/fondo_3.svg") center bottom / cover no-repeat;
  opacity: 0.98;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(520px, 1.08fr);
  gap: 58px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--accent-peach);
  border-radius: 999px;
  background: rgba(255, 244, 235, 0.85);
  color: var(--accent-warm);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.badge-star {
  width: 12px;
  height: 12px;
  background:
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat,
    linear-gradient(90deg, currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(45deg, transparent 45%, currentColor 46% 54%, transparent 55%) center / 100% 100% no-repeat,
    linear-gradient(-45deg, transparent 45%, currentColor 46% 54%, transparent 55%) center / 100% 100% no-repeat;
}

.hero-copy h1,
.product-intro h2,
.section-title h2,
.cta-copy h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  max-width: 620px;
  margin: 0 0 20px;
  font-size: clamp(48px, 5vw, 66px);
  line-height: 1.08;
}

.hero-copy p {
  max-width: 500px;
  margin: 0 0 32px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.75;
}

.transcription-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.panel-tabs {
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--border-light);
}

.panel-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.panel-tab svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.panel-tab.active {
  color: var(--accent-warm);
  border-bottom-color: var(--accent-warm);
}

.panel-content {
  padding: 20px 22px 18px;
}

.waveform-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.timecode {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.waveform {
  --bar-count: 80;
  flex: 1;
  height: 50px;
  display: grid;
  grid-template-columns: repeat(var(--bar-count), minmax(0, 1fr));
  align-items: center;
  gap: 2px;
}

.waveform-bar {
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-teal) 0%, var(--accent-teal-deep) 100%);
  box-shadow: 0 1px 4px rgba(47, 152, 166, 0.12);
  transition: height 0.45s ease;
}

.panel-body {
  min-height: 208px;
}

.transcript-list {
  display: grid;
  gap: 12px;
}

.transcript-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.transcript-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.transcript-time {
  padding-top: 2px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.transcript-line {
  margin: 0 0 6px;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
}

.transcript-note {
  color: var(--text-muted);
  font-size: 12px;
}

.timestamp-code {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdfa 0%, #f8f5ef 100%);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.code-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}

.code-line-number {
  color: #b29b8d;
  font-size: 11px;
  text-align: right;
  user-select: none;
}

.code-line {
  color: #544d49;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.code-key {
  color: #b16239;
}

.code-value {
  color: #247a86;
}

.code-text {
  color: var(--text-primary);
}

.language-list {
  display: grid;
  gap: 10px;
}

.language-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
}

.language-name {
  margin: 0 0 2px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
}

.language-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(250, 248, 245, 0.82);
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-muted);
}

.panel-footer-copy {
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.panel-audio-icon {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

.panel-audio-icon span {
  width: 3px;
  background: currentColor;
  border-radius: 999px;
}

.feature-strip {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(250, 248, 245, 0.9);
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  padding: 36px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-item h2 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
}

.feature-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.feature-icon svg,
.use-case-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke-width: 1.75;
}

.feature-icon.orange svg,
.use-case-icon svg {
  stroke: var(--accent-warm);
}

.feature-icon.teal svg {
  stroke: var(--accent-teal-deep);
}

.feature-icon.dark svg {
  stroke: var(--text-primary);
}

.product-section {
  position: relative;
  padding: 78px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(253, 246, 238, 0.74) 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.product-intro h2 {
  margin: 0 0 16px;
  font-size: 38px;
  line-height: 1.15;
}

.product-intro p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.72;
}

.capability-card,
.capability-box,
.use-case-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.capability-card {
  position: relative;
  min-height: 228px;
  border-radius: var(--radius-lg);
  padding: 28px 28px 76px;
  overflow: hidden;
}

.capability-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.capability-header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.capability-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.capability-badge.available {
  background: #e9f6ef;
  color: #2d7d51;
}

.capability-badge.muted {
  background: #f3eee8;
  color: var(--text-muted);
}

.capability-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-secondary);
}

.capability-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
}

.capability-list li::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-warm);
  font-size: 10px;
  font-weight: 700;
  flex: 0 0 18px;
}

.card-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 104px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(0deg, #000 35%, transparent 100%);
  mask-image: linear-gradient(0deg, #000 35%, transparent 100%);
}

.teal-wave {
  background-image: url("Fondos/wave-teal.svg");
}

.orange-wave {
  background-image: url("Fondos/wave-peach.svg");
}

.capabilities-section {
  padding: 0 0 60px;
}

.section-title {
  margin-bottom: 40px;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  font-size: 34px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.capability-box {
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.capability-box:hover,
.use-case-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(26, 18, 12, 0.08);
}

.capability-box .feature-icon {
  margin-bottom: 16px;
}

.capability-box h3,
.use-case-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.capability-box p,
.use-case-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.use-cases-section {
  padding: 0 0 80px;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.use-case-card {
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.use-case-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}

.cta-section {
  padding: 0 0 80px;
}

.cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 58px 76px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(244, 216, 195, 0.72) 0%, rgba(253, 246, 238, 0.78) 38%, rgba(219, 233, 235, 0.7) 100%),
    url("Fondos/fondo_3.svg") center bottom / cover no-repeat;
  border: 1px solid rgba(232, 225, 215, 0.85);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.cta-copy,
.cta-actions {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  margin: 0 0 12px;
  font-size: 34px;
}

.cta-copy p {
  max-width: 420px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: lift-in 0.7s ease forwards;
}

.reveal-1 {
  animation-delay: 0.05s;
}

.reveal-2 {
  animation-delay: 0.14s;
}

.reveal-3 {
  animation-delay: 0.23s;
}

.reveal-4 {
  animation-delay: 0.32s;
}

.reveal-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes lift-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .hero-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .feature-strip-grid,
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .use-cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-panel {
    padding: 46px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .page-width,
  .header-inner {
    width: min(100% - 32px, 720px);
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    height: auto;
    padding: 16px 0;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 18px;
  }

  .hero-section {
    padding: 48px 0 44px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .feature-strip-grid,
  .capabilities-grid,
  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2,
  .cta-copy h2 {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .hero-actions,
  .header-actions,
  .cta-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .panel-tabs {
    overflow-x: auto;
    padding-right: 10px;
  }

  .panel-tab {
    flex: 0 0 auto;
    padding-inline: 12px;
  }

  .panel-content {
    padding: 18px;
  }

  .transcript-row,
  .language-row,
  .code-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product-intro h2,
  .hero-copy h1 {
    font-size: 40px;
  }

  .cta-panel {
    padding: 28px 24px;
  }

  .brand-logo {
    width: 180px;
  }
}

/* Legal information */
.site-footer {
  padding: 28px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--text-secondary);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.legal-links a:hover { color: var(--text-primary); text-decoration: underline; }
.legal-links a:focus-visible { outline: 2px solid var(--accent-teal-deep); outline-offset: 4px; }
@media (max-width: 640px) {
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

/* Legal documents: the viewer belongs to the landing, not to the documents. */
body.legal-modal-open { overflow: hidden; }
.legal-modal {
  width: min(1040px, calc(100vw - 32px));
  max-width: none;
  height: min(860px, calc(100vh - 32px));
  height: min(860px, calc(100dvh - 32px));
  max-height: none;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.legal-modal[open] { display: flex; flex-direction: column; }
.legal-modal::backdrop { background: rgba(24, 23, 26, .55); }
.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-color);
}
.legal-modal-header h2 { margin: 0; font-size: 18px; line-height: 1.4; }
.legal-modal-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-primary);
  font-size: 30px;
  cursor: pointer;
}
.legal-modal-close:hover { background: var(--accent-light); }
.legal-modal-close:focus-visible { outline: 2px solid var(--accent-teal-deep); outline-offset: 2px; }
.legal-modal-frame { display: block; flex: 1; width: 100%; min-height: 0; border: 0; background: white; }
@media (max-width: 640px) {
  .legal-modal { width: calc(100vw - 16px); height: calc(100dvh - 16px); border-radius: var(--radius-sm); }
  .legal-modal-header { padding: 8px 12px; }
}

/* Pre-launch additions: steps, languages band, API, FAQ, pricing teaser */
.language-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 24px;
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--accent-teal-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.language-row {
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.language-row.is-swapping {
  opacity: 0;
  transform: translateY(6px);
}

.how-section {
  padding: 8px 0 72px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent-light);
  border: 1px solid var(--accent-peach);
  color: var(--accent-warm);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  font-weight: 500;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.languages-section {
  padding: 68px 0 56px;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, rgba(253, 246, 238, 0.7) 0%, rgba(250, 248, 245, 0) 100%);
}

.languages-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.languages-count {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(40px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.languages-count span {
  color: var(--accent-teal-deep);
}

.languages-copy {
  max-width: 460px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.marquee {
  overflow: hidden;
  margin-bottom: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: marquee-forward 90s linear infinite;
}

.marquee-track.reverse {
  animation-name: marquee-reverse;
  animation-duration: 110s;
}

.marquee-chip {
  flex: 0 0 auto;
  padding: 9px 20px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.marquee-chip:nth-child(3n + 1) {
  color: var(--accent-teal-deep);
  border-color: var(--accent-line);
}

.marquee-chip:nth-child(5n + 2) {
  color: #b16239;
  border-color: var(--accent-peach);
}

.languages-note {
  margin-top: 22px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

@keyframes marquee-forward {
  to { transform: translateX(-50%); }
}

@keyframes marquee-reverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.api-section {
  padding: 84px 0;
}

.api-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}

.api-copy h2 {
  margin: 0 0 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.api-copy > p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.72;
}

.code-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: linear-gradient(180deg, #fffdfa 0%, #f8f5ef 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.code-card pre {
  margin: 0;
  padding: 26px 28px;
  overflow-x: auto;
}

.code-card code {
  color: #544d49;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.85;
}

.tok-muted { color: var(--text-muted); }
.tok-str { color: #247a86; }

.pricing-teaser {
  padding: 0 0 80px;
}

.teaser-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
}

.teaser-panel h2 {
  margin: 0 0 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.teaser-panel p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.use-cases-grid {
  grid-template-columns: repeat(4, 1fr);
}

.faq-section {
  padding: 0 0 80px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq-list details {
  padding: 0 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.faq-list summary {
  position: relative;
  padding: 18px 28px 18px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-warm);
  font-size: 22px;
  font-weight: 400;
}

.faq-list details[open] summary::after { content: "\2212"; }

.faq-list summary:focus-visible {
  outline: 2px solid var(--accent-teal-deep);
  outline-offset: 4px;
}

.faq-list details p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.faq-list details a,
.cta-copy a {
  color: var(--accent-teal-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .reveal,
  .reveal-card { animation: none; transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 1180px) {
  .api-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: 1fr; }
  .languages-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 860px) {
  .use-cases-grid { grid-template-columns: 1fr; }
  .teaser-panel { flex-direction: column; align-items: flex-start; padding: 28px; }
}

/* Pricing page */
.main-nav a.is-current {
  color: var(--text-primary);
}

.pricing-hero {
  padding: 84px 0 76px;
}

.pricing-hero-copy {
  position: relative;
  max-width: 760px;
}

.pricing-hero-copy h1 {
  margin: 0 0 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 4.6vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.pricing-hero-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.75;
}

.section-sub {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.packs-section {
  padding: 24px 0 56px;
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.pack-card.is-featured {
  border-color: var(--accent-warm);
  box-shadow: 0 18px 44px rgba(230, 165, 122, 0.22);
}

.pack-flag {
  position: absolute;
  top: -12px;
  left: 26px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-warm);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pack-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
}

.pack-blurb {
  min-height: 44px;
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.pack-price {
  margin: 0 0 20px;
}

.pack-price span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pack-card .capability-list {
  flex: 1;
  margin-bottom: 24px;
}

.pack-card .btn {
  width: 100%;
}

.pack-custom {
  background: linear-gradient(160deg, rgba(244, 216, 195, 0.5) 0%, rgba(219, 233, 235, 0.55) 100%);
}

.packs-note {
  margin-top: 24px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

.calc-section {
  padding: 0 0 80px;
}

.calc-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 48px 56px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  background:
    linear-gradient(135deg, rgba(244, 216, 195, 0.5) 0%, rgba(253, 246, 238, 0.8) 40%, rgba(219, 233, 235, 0.55) 100%);
}

.calc-copy h2 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.calc-copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.calc-box {
  min-width: 0;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.calc-label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
}

.calc-input-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.calc-input-row input[type="range"] {
  min-width: 0;
  flex: 1 1 0;
  accent-color: var(--accent-teal-deep);
}

.calc-input-row input[type="number"] {
  flex: 0 0 104px;
  min-width: 0;
  width: 104px;
  padding: 9px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-primary);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.calc-input-row input:focus-visible {
  outline: 2px solid var(--accent-teal-deep);
  outline-offset: 2px;
}

.calc-results {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin: 0 0 16px;
}

.calc-results dt {
  color: var(--text-muted);
  font-size: 13px;
}

.calc-results dd {
  overflow-wrap: anywhere;
  margin: 4px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.calc-message {
  margin: -12px 0 20px;
  color: var(--text-secondary);
  font-size: 13px;
}

.calc-note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 13px;
}

.included-section,
.billing-section,
.enterprise-section {
  padding: 0 0 80px;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.billing-table {
  max-width: 860px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.billing-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border-light);
  font-size: 15px;
}

.billing-row:last-child {
  border-bottom: 0;
}

.billing-row > div:first-child {
  font-weight: 600;
}

.billing-row > div:last-child {
  color: var(--text-secondary);
}

.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.enterprise-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.enterprise-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.enterprise-card p {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 1180px) {
  .packs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .included-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px;
  }
}

@media (max-width: 860px) {
  .pricing-hero {
    padding: 52px 0 48px;
  }

  .packs-grid,
  .included-grid,
  .enterprise-grid {
    grid-template-columns: 1fr;
  }

  .pack-blurb {
    min-height: 0;
  }

  .billing-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 20px;
  }

  .calc-panel {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .calc-box { padding: 20px; }
  .calc-results { grid-template-columns: minmax(0, 1fr); }
}

/* Rates and service selector */
.rates-section {
  padding: 0 0 72px;
}

.rate-row > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rate-model {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 400;
}

.rate-note {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 13px;
}

.rate-row strong {
  color: var(--text-primary);
  font-weight: 600;
}

.pack-example {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.calc-select {
  width: 100%;
  margin-bottom: 20px;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-primary);
  font-size: 15px;
}

.calc-select:focus-visible {
  outline: 2px solid var(--accent-teal-deep);
  outline-offset: 2px;
}

/* Pack: approximate cost per transcription hour */
.pack-hour {
  margin: -8px 0 20px;
  color: var(--text-secondary);
  font-size: 14px;
}

.pack-hour strong {
  color: var(--accent-teal-deep);
  font-size: 17px;
  font-weight: 600;
}

.packs-footnote {
  max-width: 760px;
  margin-top: 28px;
  margin-bottom: 4px;
}
