@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --ink: #16302A;
  --ink-2: #1F4339;
  --ink-3: #244A3D;
  --paper: #EFEEE9;
  --paper-2: #E4E2D9;
  --teal: #E8A93B;
  --teal-dim: #7A4E12;
  --red: #C13B2D;
  --ash: #9AAFA3;
  --ash-dark: #A0B2A8;
  --graphite: #2C463C;
  --ink-text: #16302A;
  --ink-muted: #41524C;

  --serif: 'Zilla Slab', Georgia, serif;
  --sans: 'IBM Plex Sans', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', 'SF Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

img, svg { display: block; max-width: 100%; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* Nav */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 48, 42, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--graphite);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  height: 24px;
  width: auto;
  display: block;
}

.brand .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 13.5px;
  color: var(--ash);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--paper); }

.nav-links a.current {
  color: var(--paper);
  position: relative;
}

.nav-links a.current::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--teal);
}

.nav-links a.nav-cta {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--teal);
  padding: 10px 18px;
  border-radius: 3px;
  transition: background 0.15s ease;
}

.nav-links a.nav-cta:hover { background: #F2BA5C; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--paper);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* Hero */

.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 88px 0 0;
  overflow: hidden;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--teal);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 820px;
}

.hero h1 em {
  font-style: italic;
  color: var(--teal);
}

.hero-sub {
  font-size: 18px;
  color: var(--ash);
  max-width: 560px;
  margin-top: 26px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn-primary, .btn-ghost {
  font-family: var(--mono);
  font-size: 14px;
  padding: 15px 26px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--paper);
}

.btn-primary:hover { background: #9C2E22; }

.btn-ghost {
  border: 1px solid var(--graphite);
  color: var(--paper);
}

.btn-ghost:hover { border-color: var(--ash); }

/* Waveform strip */

.decode-strip {
  margin-top: 72px;
  border-top: 1px solid var(--graphite);
  background: var(--ink-2);
}

.decode-inner {
  padding: 36px 0 44px;
}

.decode-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ash-dark);
  margin-bottom: 18px;
}

.decode-meta .timecode {
  color: var(--teal);
}

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 64px;
}

.waveform span {
  flex: 1;
  background: var(--graphite);
  border-radius: 1px;
  animation: bar-pulse 1.6s ease-in-out infinite;
  transform-origin: bottom;
}

@keyframes bar-pulse {
  0%, 100% { transform: scaleY(0.25); background: var(--graphite); }
  50% { transform: scaleY(1); background: var(--teal); }
}

.caption-line {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--paper);
  min-height: 24px;
}

.caption-line .cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--teal);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 0.9s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Section shell */

section { padding: 96px 0; }

.section-dark { background: var(--ink); color: var(--paper); }

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--teal-dim);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  display: block;
}

.section-dark .eyebrow { color: var(--teal); }

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.01em;
  max-width: 620px;
}

.section-sub {
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 540px;
  margin-top: 16px;
  line-height: 1.6;
}

.section-dark .section-sub { color: var(--ash); }

/* Who it's for */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

@media (max-width: 860px) {
  .audience-grid { grid-template-columns: 1fr; }
}

.audience-card {
  background: var(--paper);
  border: 1px solid #D8D3C4;
  border-radius: 6px;
  padding: 32px 28px;
}

.audience-card .tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal-dim);
  margin-bottom: 14px;
  display: block;
}

.audience-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.audience-card p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* How it works preview */

.flow-log {
  margin-top: 56px;
  border-top: 1px solid var(--graphite);
}

.flow-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--graphite);
  align-items: baseline;
}

.flow-row .t {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--teal);
}

.flow-row h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 6px;
}

.flow-row p {
  font-size: 14px;
  color: var(--ash);
  max-width: 480px;
}

/* Pricing preview */

.price-panel {
  margin-top: 56px;
  background: var(--ink-2);
  border: 1px solid var(--graphite);
  border-radius: 6px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.price-rate .num {
  font-family: var(--mono);
  font-size: 44px;
  color: var(--teal);
}

.price-rate .unit {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ash);
}

.price-rate .caveat {
  font-size: 13px;
  color: var(--ash-dark);
  margin-top: 8px;
}

.addon-list {
  list-style: none;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.addon-list li {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ash);
  border: 1px solid var(--graphite);
  padding: 8px 14px;
  border-radius: 3px;
}

/* Final CTA / footer */

.final-cta {
  background: var(--paper-2);
  text-align: center;
  padding: 110px 0;
}

.final-cta .eyebrow { display: inline-block; }

.final-cta h2 { margin: 0 auto; }

.final-cta .hero-actions { justify-content: center; margin-top: 36px; }
.final-cta .btn-ghost { border-color: #B9B2A0; color: var(--ink-text); }
.final-cta .btn-ghost:hover { border-color: var(--ink-muted); }

footer {
  background: var(--ink);
  color: var(--ash);
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--graphite);
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a { font-size: 14px; color: var(--ash); }
.footer-links a:hover { color: var(--paper); }

.footer-end {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ash-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Page hero (secondary pages) */

.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 88px 0 64px;
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 54px);
  max-width: 700px;
  line-height: 1.08;
}

.page-hero p {
  font-size: 17px;
  color: var(--ash);
  max-width: 540px;
  margin-top: 20px;
  line-height: 1.6;
}

/* Pricing table */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

@media (max-width: 900px) {
  .tier-grid { grid-template-columns: 1fr; }
}

.tier-card {
  background: var(--paper);
  border: 1px solid #D8D3C4;
  border-radius: 6px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.tier-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}

.tier-card .tier-name {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--teal-dim);
  margin-bottom: 14px;
}

.tier-card .tier-rate {
  font-family: var(--mono);
  font-size: 34px;
  color: var(--ink-text);
  margin-bottom: 4px;
}

.tier-card .tier-unit {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.tier-card ul {
  list-style: none;
  margin: 0 0 24px;
  flex-grow: 1;
}

.tier-card li {
  font-size: 14px;
  color: var(--ink-muted);
  padding: 8px 0;
  border-bottom: 1px solid #DCD8C9;
}

.tier-card li:last-child { border-bottom: none; }

.tier-cta {
  font-family: var(--mono);
  font-size: 13px;
  text-align: center;
  padding: 13px;
  border: 1px solid var(--ink-text);
  border-radius: 3px;
  transition: all 0.15s ease;
}

.tier-cta:hover { background: var(--ink-text); color: var(--paper); }

.tier-card.featured .tier-cta { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.tier-card.featured .tier-cta:hover { background: var(--teal-dim); }

.pricing-note {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-muted);
}

/* Add-on grid */

.addon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--graphite);
  margin-top: 56px;
  border: 1px solid var(--graphite);
}

@media (max-width: 700px) {
  .addon-grid { grid-template-columns: 1fr; }
}

.addon-row {
  background: var(--ink-2);
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.addon-row .name { font-size: 15px; color: var(--paper); }
.addon-row .desc { font-size: 13px; color: var(--ash); margin-top: 4px; }
.addon-row .price { font-family: var(--mono); font-size: 15px; color: var(--teal); white-space: nowrap; }

/* FAQ */

.faq-list { margin-top: 56px; border-top: 1px solid var(--graphite); }

.faq-item { border-bottom: 1px solid var(--graphite); }

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--ink-text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question .icon {
  font-family: var(--mono);
  color: var(--teal-dim);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  font-size: 14px;
  color: var(--ink-muted);
  padding-bottom: 22px;
  max-width: 620px;
  line-height: 1.6;
}

/* Steps detail (how it works page) */

.step-detail {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid #DCD8C9;
  align-items: start;
}

@media (max-width: 700px) {
  .step-detail { grid-template-columns: 1fr; gap: 12px; }
}

.step-detail .t {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--teal-dim);
}

.step-detail h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-detail p {
  font-size: 15px;
  color: var(--ink-muted);
  max-width: 520px;
  line-height: 1.65;
}

/* About */

.about-block {
  max-width: 640px;
  margin-top: 24px;
}

.about-block p {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--graphite);
  margin-top: 56px;
  border: 1px solid var(--graphite);
}

@media (max-width: 700px) {
  .principle-grid { grid-template-columns: 1fr; }
}

.principle-card {
  background: var(--ink-2);
  padding: 28px 26px;
}

.principle-card .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal);
  margin-bottom: 10px;
}

.principle-card h4 {
  font-size: 16px;
  color: var(--paper);
  margin-bottom: 8px;
}

.principle-card p {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.6;
}

/* Forms */

.form-shell {
  margin-top: 56px;
  max-width: 640px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ash);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--ink-3);
  border: 1px solid var(--graphite);
  border-radius: 3px;
  padding: 13px 14px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ash-dark); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.field textarea { resize: vertical; min-height: 120px; }

.field-file {
  border: 1px dashed var(--graphite);
  border-radius: 4px;
  padding: 28px;
  text-align: center;
  color: var(--ash);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.field-file:hover { border-color: var(--teal); }

.field-file .file-main { color: var(--paper); font-family: var(--mono); font-size: 13px; margin-bottom: 6px; }

.submit-btn {
  font-family: var(--mono);
  font-size: 14px;
  background: var(--red);
  color: var(--paper);
  border: none;
  padding: 15px 28px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.submit-btn:hover { background: #9C2E22; }

.form-note {
  font-size: 13px;
  color: var(--ash-dark);
  margin-top: 14px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 56px;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-item { margin-bottom: 28px; }

.contact-item .label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal-dim);
  margin-bottom: 6px;
  display: block;
}

.contact-item a, .contact-item span.value {
  font-size: 16px;
  color: var(--ink-text);
}

@media (max-width: 1080px) {
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--ink);
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--graphite);
  }
}

/* Footer grid (multi-column) */

footer.site-footer-new { background: var(--ink); color: var(--ash); padding: 56px 0 28px; }

.footer-grid { display: grid; gap: 32px; }

@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-grid h4 {
  color: var(--paper);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  font-family: var(--mono);
}

.footer-grid .footer-brand-text {
  font-size: 14px;
  color: var(--ash);
  max-width: 280px;
  line-height: 1.6;
}

.footer-grid a, .footer-grid p.footer-line {
  font-size: 14px;
  color: var(--ash);
  display: block;
  margin-bottom: 9px;
}

.footer-grid a:hover { color: var(--paper); }

.footer-bottom-new {
  border-top: 1px solid var(--graphite);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ash-dark);
}

/* Trust strip (used in nav-adjacent or hero-adjacent contexts) */

.trust-strip {
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
  background: var(--ink-2);
}

.trust-strip .wrap {
  display: flex;
  gap: 32px;
  padding: 18px 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-strip-item {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ash);
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-strip-item .dot-check { color: var(--teal); }

/* Security checklist */

.security-list {
  margin-top: 56px;
  border-top: 1px solid var(--graphite);
}

.security-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--graphite);
  align-items: start;
}

.security-row .icon-box {
  width: 40px;
  height: 40px;
  border: 1px solid var(--teal);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.security-row .icon-box svg { width: 20px; height: 20px; }

.security-row h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--paper);
  margin-bottom: 8px;
}

.security-row p {
  font-size: 14px;
  color: var(--ash);
  max-width: 560px;
  line-height: 1.65;
}

.security-note {
  margin-top: 40px;
  background: var(--ink-3);
  border: 1px solid var(--graphite);
  border-radius: 6px;
  padding: 24px 28px;
  font-size: 14px;
  color: var(--ash);
  line-height: 1.65;
}

.security-note strong { color: var(--paper); }

/* Sample transcript comparison */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 800px) {
  .compare-grid { grid-template-columns: 1fr; }
}

.compare-panel {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--graphite);
}

.compare-head {
  padding: 14px 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.compare-panel.raw .compare-head { background: var(--red); color: var(--paper); }
.compare-panel.clean .compare-head { background: var(--teal); color: var(--ink); }

.compare-body {
  background: var(--ink-2);
  padding: 24px 22px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.9;
  color: var(--ash);
  min-height: 220px;
}

.compare-body .err { color: #F08D82; text-decoration: underline wavy; text-decoration-color: #F08D82; }
.compare-body .fix { color: var(--teal); }
.compare-body .spk { color: var(--paper); font-weight: 600; }

.sample-label {
  margin-top: 56px;
  margin-bottom: -20px;
}

/* Blog */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

@media (max-width: 800px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.blog-card {
  background: var(--paper);
  border: 1px solid var(--paper-line, #D8D3C4);
  border-radius: 6px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}

.blog-card .blog-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal-dim);
  margin-bottom: 14px;
}

.blog-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.25;
}

.blog-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 18px;
}

.blog-card .read-more {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-text);
  font-weight: 600;
}

/* Legal / long-form article prose */

.prose {
  max-width: 720px;
  margin-top: 48px;
}

.prose h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 14px;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.prose ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.prose li {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 8px;
}

.prose .updated {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 8px;
  display: block;
}

.article-hero p.dek {
  font-size: 17px;
}

.article-body {
  max-width: 680px;
  margin-top: 8px;
}

.article-body p {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-body h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink-text);
  margin: 36px 0 16px;
}

.article-body ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.article-body li {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.8;
  margin-bottom: 10px;
}

/* Live chat bubble */

.chat-bubble {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  z-index: 80;
}

.chat-bubble svg { width: 26px; height: 26px; color: var(--paper); }

.chat-panel {
  position: fixed;
  bottom: 92px;
  right: 22px;
  width: min(330px, calc(100vw - 44px));
  background: var(--paper);
  border-radius: var(--radius, 6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 80;
  border: 1px solid var(--graphite);
}

.chat-panel.open { display: flex; }

.chat-head {
  background: var(--ink);
  color: var(--paper);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

.chat-head button {
  background: none;
  border: none;
  color: var(--paper);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.chat-body {
  padding: 16px;
  max-height: 280px;
  overflow-y: auto;
}

.chat-msg {
  background: var(--paper-2);
  border-radius: var(--radius, 6px);
  padding: 10px 12px;
  font-size: 13.5px;
  margin-bottom: 10px;
  max-width: 85%;
  color: var(--ink-text);
}

.chat-msg.mine {
  margin-left: auto;
  background: var(--ink);
  color: var(--paper);
}

.chat-foot {
  display: flex;
  border-top: 1px solid var(--paper-line, #D8D3C4);
}

.chat-foot input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 14px;
  font-size: 13.5px;
  font-family: var(--sans);
  color: var(--ink-text);
}

.chat-foot input:focus { outline: none; }

.chat-foot button {
  background: none;
  border: none;
  padding: 0 14px;
  color: var(--ink-text);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
