/* Marketing sub-pages: the format converters (/epub-to-audiobook,
   /pdf-to-audiobook, /text-to-audiobook), the language pages
   (/create-audiobook-in-*), and the document pages (/about, /terms,
   /privacy), and the blog (/blog, /blog/<slug>).

   Loads on top of home.css and reuses its tokens, shell, nav, buttons, pills,
   FAQ, closing band, footer and reveals. The pages sit on white, so the nav
   is re-tinted dark the way pricing.css does it.

   Prefixes: .cv-* converter + language pages, .dc-* document pages,
   .bg-* blog. */

/* ---------- nav on white ---------- */
body.sub-next .wz-nav { color: var(--hn-ink); }
body.sub-next .wz-nav .wz-brand,
body.sub-next .wz-nav .wz-brand-name { color: var(--hn-ink); }
/* home.css zeroes every top-level section's margin, which also drops the
   closing band's 140px gap; put it back on these pages. */
body.sub-next main > .hn-final { margin-top: 140px; }

/* =========================================================================
   Converter hero: two-tone title over the composer on a pale stage
   ========================================================================= */
.cv-hero { padding: 48px 0 0; }
.cv-hero .hn-head { margin-bottom: 40px; }
.cv-hero .hn-title { font-size: clamp(36px, 5.2vw, 68px); }
.cv-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; margin-bottom: 22px; border-radius: 999px;
    font-size: 12.5px; font-weight: 600; letter-spacing: .01em; color: var(--hn-blue-deep); background: var(--hn-blue-soft);
}
.cv-eyebrow .wz-flag { width: 1.2em; height: .9em; }
.cv-eyebrow img { width: 15px; height: 15px; }

.cv-stage {
    position: relative; border-radius: 32px; padding: 56px 64px; overflow: visible;
    background: linear-gradient(180deg, #e9edf7 0%, #d3dbee 100%);
}
.cv-stage-note { margin: 0; padding-top: 20px; text-align: center; font-size: 13.5px; color: var(--hn-ink-soft); }
.cv-stage-note a { color: var(--hn-ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--hn-line); text-underline-offset: 3px; }
.cv-stage-note a:hover { text-decoration-color: currentColor; }

/* ---------- the composer ---------- */
.cv-composer {
    position: relative; max-width: 760px; margin: 0 auto; padding: 12px; border-radius: 18px; background: #fff;
    box-shadow: 0 0 0 1px rgba(24, 24, 27, .06), 0 30px 60px -28px rgba(24, 40, 90, .5), 0 12px 24px -16px rgba(24, 24, 27, .16);
    text-align: left;
}
.cv-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cv-drop {
    border-radius: 12px; border-width: 1.5px; border-style: dashed; border-color: var(--hn-line); background: var(--hn-fill-2);
    min-height: 168px; display: flex; align-items: center; justify-content: center; padding: 18px; transition: background-color .15s, border-color .15s;
}
.cv-drop.is-filled { min-height: 0; justify-content: flex-start; border-style: solid; border-color: var(--hn-line-soft); background: #fff; padding: 10px; }
.cv-composer.is-dragging .cv-drop { border-color: var(--hn-blue); background: var(--hn-blue-soft); }
.cv-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; cursor: pointer; color: var(--hn-ink-soft); font-size: 14px; }
.cv-empty b { font-size: 16px; font-weight: 600; color: var(--hn-ink); margin-top: 6px; }
.cv-empty-icon { width: 36px; height: 36px; opacity: .55; }
.cv-browse { color: var(--hn-blue-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hn-blue-line); padding: 0; }
.cv-browse:hover { text-decoration-color: currentColor; }
.cv-empty[hidden], .cv-chip[hidden], .cv-busy[hidden], .cv-menu[hidden], .cv-error[hidden] { display: none; }

.cv-chip {
    display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 8px 8px 8px 10px; border-radius: 10px;
    background: var(--hn-blue-soft); border-width: 1px; border-color: var(--hn-blue-line);
}
.cv-chip-icon { width: 40px; height: 40px; border-radius: 9px; background: #fff; color: var(--hn-blue); font-size: 10.5px; font-weight: 800; display: grid; place-items: center; letter-spacing: .02em; flex-shrink: 0; }
.cv-chip-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cv-chip-copy b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-chip-copy small { font-size: 12px; color: var(--hn-ink-2); }
.cv-chip-remove { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; color: var(--hn-ink-soft); margin-left: 4px; flex-shrink: 0; }
.cv-chip-remove:hover { background: #fff; color: var(--hn-ink); }

.cv-busy { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--hn-ink-2); }
.cv-spinner { width: 18px; height: 18px; border-radius: 999px; border-width: 2px; border-color: var(--hn-blue-line); border-top-color: var(--hn-blue); animation: cv-spin .8s linear infinite; }
@keyframes cv-spin { to { transform: rotate(360deg); } }

.cv-controls { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.cv-picker { position: relative; }
.cv-pill { height: 36px; cursor: pointer; transition: background-color .15s, border-color .15s; }
.cv-pill:hover, .cv-picker.is-open .cv-pill { background: var(--hn-fill-2); border-color: #d4d6dd; }
.cv-pill--fixed { cursor: default; background: var(--hn-fill); }
.cv-pill--fixed:hover { background: var(--hn-fill); border-color: var(--hn-line); }
.cv-create {
    margin-left: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 9px;
    font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap;
    background: linear-gradient(180deg, #3f7bff 0%, #2a63ef 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 8px 16px -10px rgba(19, 60, 160, .7);
    transition: filter .15s, transform .15s, opacity .15s;
}
.cv-create:hover { filter: brightness(1.1); }
.cv-create:active { transform: translateY(1px); }
.cv-create:disabled { cursor: not-allowed; opacity: .45; filter: none; transform: none; }
.cv-create .hn-btn-icon { width: 17px; height: 17px; }
.cv-error { margin: 10px 4px 0; font-size: 13.5px; color: #dc2626; }

/* Menus: dropdowns under the pills. */
.cv-menu {
    position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; width: 270px; padding: 6px; border-radius: 12px; background: #fff;
    border-width: 1px; border-color: var(--hn-line); box-shadow: var(--hn-shadow-pop); animation: cv-menu .16s var(--hn-ease);
}
@keyframes cv-menu { from { opacity: 0; transform: translateY(-4px); } }
.cv-menu--voices { width: 300px; }
.cv-menu-search {
    width: 100%; height: 34px; padding: 0 10px; margin-bottom: 6px; border-radius: 8px; font: inherit; font-size: 13.5px; color: var(--hn-ink);
    background: var(--hn-fill); border-width: 1px; border-color: transparent; outline: none; -webkit-appearance: none; appearance: none;
}
.cv-menu-search:focus { background: #fff; border-color: var(--hn-blue); }
.cv-menu-list { max-height: 264px; overflow-y: auto; overscroll-behavior: contain; }
.cv-menu-none { margin: 0; padding: 10px 8px; font-size: 13px; color: var(--hn-ink-soft); }
.cv-opt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 38px; padding: 5px 8px; border-radius: 8px; font-size: 13.5px; color: var(--hn-ink); cursor: pointer; }
.cv-opt:hover { background: var(--hn-fill-2); }
.cv-opt.is-on { background: var(--hn-fill); }
.cv-opt-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; text-align: left; }
.cv-opt-copy b { font-weight: 500; }
.cv-opt-copy small { font-size: 12px; color: var(--hn-ink-soft); }
.cv-opt--voice { min-height: 46px; }
.cv-opt--voice .cv-opt-copy b { font-weight: 600; }
.cv-opt-play { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: var(--hn-fill); color: var(--hn-ink); flex-shrink: 0; }
.cv-opt-play:hover { background: var(--hn-line); }
.cv-opt--voice.is-playing .cv-opt-play { background: var(--hn-blue); color: #fff; }

/* =========================================================================
   Sections shared by the converter and language pages
   ========================================================================= */
.cv-section { padding-top: 160px; }
.cv-section--tight { padding-top: 120px; }

/* Three tiles: what this format gets you. */
.cv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.cv-tile {
    padding: 28px 28px 30px; border-radius: 24px; background: linear-gradient(180deg, #f3f5fa, #ffffff);
    box-shadow: 0 0 0 1px rgba(24, 24, 27, .05), 0 30px 60px -40px rgba(24, 24, 27, .25);
}
.cv-tile-icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(24, 24, 27, .06), 0 6px 14px -8px rgba(24, 24, 27, .3); }
.cv-tile-icon img { width: 20px; height: 20px; }
.cv-tile h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin: 22px 0 8px; line-height: 1.25; }
.cv-tile p { font-size: 15.5px; line-height: 1.55; color: var(--hn-ink-soft); margin: 0; }

/* Numbered steps in a row, each on its own hairline. */
.cv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 44px; }
.cv-step { padding-top: 22px; border-top-width: 1px; border-color: var(--hn-line); }
.cv-step-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--hn-ink); color: #fff; font-size: 13px; font-weight: 600; }
.cv-step h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin: 18px 0 8px; }
.cv-step p { font-size: 15.5px; line-height: 1.55; color: var(--hn-ink-soft); margin: 0; }

/* Two-up comparison: the old way in a plain card, Warblize in the blue one. */
.cv-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.cv-compare .hn-card { min-height: 0; padding: 36px 40px 40px; }
.cv-compare-name { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 0; }
.cv-compare-name img { width: 22px; height: 22px; }
.hn-card--accent .cv-compare-name img { filter: invert(1); }
.cv-compare-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.45; color: var(--hn-ink-2); }
.cv-compare-list li { display: flex; align-items: flex-start; gap: 12px; }
.cv-compare-list li em { width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; flex-shrink: 0; font-style: normal; background: var(--hn-fill); color: var(--hn-ink-mute); }
.cv-compare-list li em svg { width: 12px; height: 12px; }
.hn-card--accent .cv-compare-list { color: rgba(255, 255, 255, .92); }
.hn-card--accent .cv-compare-list li em { background: #fff; color: var(--hn-blue); }

/* Warblize vs hiring a narrator, as a three-column table (language pages). */
.cv-table { width: 100%; border-collapse: collapse; margin-top: 44px; font-size: 16px; }
.cv-table th, .cv-table td { text-align: left; padding: 18px 16px 18px 0; border-bottom-width: 1px; border-color: var(--hn-line); vertical-align: middle; }
.cv-table thead th { padding-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--hn-ink-soft); }
.cv-table thead th:nth-child(2) { color: var(--hn-blue-deep); }
.cv-table tbody th { font-weight: 500; color: var(--hn-ink); width: 24%; }
.cv-table td:nth-child(2) { font-weight: 600; color: var(--hn-ink); }
.cv-table td:nth-child(3) { color: var(--hn-ink-soft); }

/* Prose block for the search-engine copy. */
.cv-prose { max-width: 720px; margin: 0 auto; }
.cv-prose .hn-title--sm { margin-bottom: 20px; }
.cv-prose p { font-size: 17px; line-height: 1.6; color: var(--hn-ink-2); margin: 0 0 18px; }
.cv-prose p:last-child { margin-bottom: 0; }
.cv-prose .cv-compare-list { margin-top: 24px; }
.cv-prose .cv-compare-list li em { background: var(--hn-blue-soft); color: var(--hn-blue-deep); }

/* Cross-links to the other converters / language pages. */
.cv-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; justify-content: center; }
.cv-links a {
    display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--hn-ink);
    background: #fff; box-shadow: 0 0 0 1px var(--hn-line) inset; transition: background-color .15s;
}
.cv-links a:hover { background: var(--hn-fill-2); color: var(--hn-ink); }
.cv-links a .wz-flag { width: 1.25em; height: .94em; }
.cv-links a img { width: 15px; height: 15px; opacity: .7; }

/* =========================================================================
   Document pages: about, terms, privacy
   ========================================================================= */
.dc-page { padding: 64px 0 0; }
.dc-head { max-width: 720px; margin: 0 auto 40px; }
.dc-head .hn-title { font-size: clamp(34px, 4.6vw, 54px); }
.dc-updated { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--hn-ink-soft); }
.dc-updated::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--hn-blue); opacity: .7; }
.dc-lead { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.5; color: var(--hn-ink-2); margin: 20px 0 0; }
.dc-body { max-width: 720px; margin: 0 auto; }
.dc-body > h2:first-child { margin-top: 0; padding-top: 0; border-top-width: 0; }
.dc-body h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; margin: 44px 0 12px; padding-top: 28px; border-top-width: 1px; border-color: var(--hn-line); }
.dc-body p { font-size: 16.5px; line-height: 1.65; color: var(--hn-ink-2); margin: 0 0 16px; }
.dc-body ul { margin: 0 0 16px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.dc-body li { display: flex; align-items: flex-start; gap: 12px; font-size: 16.5px; line-height: 1.55; color: var(--hn-ink-2); }
.dc-body li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 999px; background: var(--hn-blue); margin-top: .58em; opacity: .75; }
.dc-body a { color: var(--hn-ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--hn-line); text-underline-offset: 3px; }
.dc-body a:hover { text-decoration-color: currentColor; }
.dc-body strong { color: var(--hn-ink); font-weight: 600; }
.dc-aside {
    margin: 40px 0 0; padding: 22px 24px; border-radius: 16px; background: linear-gradient(180deg, #f3f5fa, #ffffff);
    box-shadow: 0 0 0 1px rgba(24, 24, 27, .05); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.dc-aside p { margin: 0; font-size: 15px; color: var(--hn-ink-2); }
.dc-aside p b { color: var(--hn-ink); font-weight: 600; display: block; margin-bottom: 2px; font-size: 16px; }

/* About: a few numbers in the home page's stats treatment. */
.dc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 720px; margin: 48px auto 0; }
.dc-stat { padding: 24px 0 0; border-top-width: 1px; border-color: var(--hn-line); }
.dc-stat b { display: block; font-size: 44px; font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.dc-stat b small { font-size: 20px; margin-left: 2px; }
.dc-stat span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--hn-ink-soft); }

/* =========================================================================
   Blog: index grid and post
   ========================================================================= */
.bg-index { padding: 48px 0 0; }
.bg-index .hn-head { margin-bottom: 56px; }
/* Posts as a timeline: dates down a rail on the left, a dot on the line,
   the title and description beside it, newest first. */
.bg-timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; }
.bg-timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 180px; width: 1px; background: var(--hn-line); }
.bg-entry { position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 0 40px; padding: 0 0 56px; }
.bg-entry:last-child { padding-bottom: 0; }
.bg-entry-date { padding-right: 32px; padding-top: 4px; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: var(--hn-ink-soft); text-align: right; white-space: nowrap; }
.bg-entry-dot { position: absolute; left: 180px; top: 8px; width: 11px; height: 11px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 2px var(--hn-blue) inset, 0 0 0 4px #fff; transform: translateX(-50%); }
.bg-entry:first-child .bg-entry-dot { background: var(--hn-blue); box-shadow: 0 0 0 4px var(--hn-blue-soft), 0 0 0 5px #fff; }
.bg-entry-body h2 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 10px; }
.bg-entry-body h2 a { color: var(--hn-ink); }
.bg-entry-body h2 a:hover { color: var(--hn-blue-deep); }
.bg-entry-body p { font-size: 16px; line-height: 1.55; color: var(--hn-ink-soft); margin: 0 0 14px; max-width: 560px; }
.bg-card-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--hn-ink); }
.bg-card-more svg { transition: transform .15s; } .bg-card-more:hover svg { transform: translateX(3px); }

.bg-post { padding: 40px 0 0; }
.bg-post-head { max-width: 760px; margin: 0 auto; }
.bg-post-head .hn-title { font-size: clamp(32px, 4.2vw, 52px); }
.bg-crumb { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 26px; font-size: 14px; font-weight: 600; color: var(--hn-ink-soft); }
.bg-crumb:hover { color: var(--hn-ink); }
.bg-post-aside { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Rendered markdown. Posts use h3 for their sections and h2 rarely, so both
   take the document-page heading treatment. */
.bg-prose { max-width: 760px; margin: 48px auto 0; font-size: 17px; line-height: 1.65; color: var(--hn-ink-2); }
.bg-prose > :first-child { margin-top: 0; }
.bg-prose h2, .bg-prose h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; color: var(--hn-ink); margin: 44px 0 12px; }
.bg-prose h3 { font-size: 22px; }
.bg-prose h4 { font-size: 18px; font-weight: 600; color: var(--hn-ink); margin: 28px 0 8px; }
.bg-prose p { margin: 0 0 18px; }
.bg-prose a { color: var(--hn-ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--hn-line); text-underline-offset: 3px; }
.bg-prose a:hover { text-decoration-color: currentColor; }
.bg-prose strong { color: var(--hn-ink); font-weight: 600; }
.bg-prose ul, .bg-prose ol { margin: 0 0 18px; padding-left: 24px; }
.bg-prose li { margin-bottom: 8px; }
.bg-prose li::marker { color: var(--hn-blue); }
.bg-prose img { display: block; max-width: 100%; height: auto; border-radius: 14px; margin: 28px 0; }
.bg-prose blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left-width: 3px; border-color: var(--hn-blue); color: var(--hn-ink); font-size: 19px; }
.bg-prose blockquote p:last-child { margin-bottom: 0; }
.bg-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; padding: 2px 6px; border-radius: 6px; background: var(--hn-fill); color: var(--hn-ink); }
.bg-prose pre { margin: 0 0 18px; padding: 16px 18px; border-radius: 12px; background: var(--hn-ink); color: #fff; overflow-x: auto; font-size: 14px; line-height: 1.5; }
.bg-prose pre code { padding: 0; background: none; color: inherit; }
.bg-prose hr { border-width: 0; border-top-width: 1px; border-color: var(--hn-line); margin: 36px 0; }
.bg-prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15.5px; }
.bg-prose th, .bg-prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom-width: 1px; border-color: var(--hn-line); vertical-align: top; }
.bg-prose th { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hn-ink-soft); }
.bg-prose td:first-child { font-weight: 500; color: var(--hn-ink); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
    .cv-stage { padding: 40px 32px; }
    .cv-tiles { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }
    .cv-steps { grid-template-columns: 1fr; gap: 24px; max-width: 540px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 860px) {
    .cv-compare { grid-template-columns: 1fr; }
    .cv-compare .hn-card { padding: 28px 26px 30px; }
    .cv-section { padding-top: 112px; }
    .cv-section--tight { padding-top: 88px; }
}
@media (max-width: 640px) {
    .cv-hero { padding-top: 24px; }
    .cv-hero .hn-head { margin-bottom: 28px; }
    .cv-stage { padding: 14px 10px; border-radius: 20px; }
    .cv-composer { padding: 10px; border-radius: 16px; }
    .cv-drop { min-height: 140px; }
    .cv-create { width: 100%; margin: 4px 0 0; }
    .cv-menu { width: min(300px, calc(100vw - 48px)); }
    .cv-table { font-size: 14px; }
    .cv-table th, .cv-table td { padding: 14px 10px 14px 0; }
    .dc-page { padding-top: 32px; }
    .dc-body h2 { margin-top: 32px; padding-top: 22px; }
    .dc-stats { grid-template-columns: 1fr; gap: 16px; }
    .bg-index { padding-top: 24px; }
    body.sub-next main > .hn-final { margin-top: 80px; }
    /* Rail moves to the left edge; the date sits above the title. */
    .bg-timeline::before { left: 5px; }
    .bg-entry { grid-template-columns: 1fr; gap: 6px; padding: 0 0 40px 28px; }
    .bg-entry-date { text-align: left; padding: 0; }
    .bg-entry-dot { left: 5px; top: 5px; }
    .bg-entry-body h2 { font-size: 20px; }
        .bg-prose { font-size: 16px; margin-top: 32px; }
    .bg-prose table { display: block; overflow-x: auto; }
}

/* Guides: FAQ and related list sit in the same 760px column as the prose. */
.gd-faq { max-width: 760px; margin: 48px auto 0; }
.gd-related { margin-top: 40px; }
.gd-related h2 { margin-top: 0; }


/* ---- /ai-voices and the length calculator ---------------------------------- */
.vc-intro { margin-top: 8px; text-align: center; }
.vc-group-title { max-width: 1040px; margin: 48px auto 16px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--hn-ink); }
.vc-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.vc-card { border: 1px solid var(--hn-line); border-radius: 16px; padding: 18px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.vc-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.vc-card h3 { margin: 0; font-size: 18px; font-weight: 600; color: var(--hn-ink); }
.vc-tag { font-size: 13px; color: var(--hn-ink-2); }
.vc-line { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--hn-ink-2); }
.vc-card audio { width: 100%; height: 40px; }
.lc-card { max-width: 760px; margin: 32px auto 0; border: 1px solid var(--hn-line); border-radius: 20px; padding: 24px; background: #fff; }
.lc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lc-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--hn-ink); }
.lc-fields input, .lc-fields select { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--hn-line); border-radius: 10px; background: #fff; color: var(--hn-ink); }
.lc-out { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0 0; }
.lc-out > div { background: var(--hn-fill); border-radius: 14px; padding: 14px 16px; }
.lc-out dt { font-size: 13px; color: var(--hn-ink-2); }
.lc-out dd { margin: 4px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--hn-ink); }
.lc-note { margin: 16px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--hn-ink-2); }
@media (max-width: 560px) { .lc-fields, .lc-out { grid-template-columns: 1fr; } }
