:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --paper-deep: #efede5;
  --ink: #242820;
  --muted: #676b61;
  --line: #dfddd3;
  --accent: #c26a43;
  --accent-dark: #9d4c2b;
  --green: #475b48;
  --white: #fffefa;
  --content: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.section-wrap {
  width: min(var(--content), calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  width: min(1280px, calc(100% - 64px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 8px;
  background: var(--accent);
}

.brand-mark span {
  width: 2px;
  border-radius: 2px;
  background: #fff9ef;
}

.brand-mark span:nth-child(1),
.brand-mark span:nth-child(4) { height: 6px; }
.brand-mark span:nth-child(2) { height: 12px; }
.brand-mark span:nth-child(3) { height: 9px; }

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

.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--ink); }

.site-nav .nav-cta {
  padding: 8px 17px;
  border: 1px solid #c9c6ba;
  border-radius: 999px;
  color: var(--ink);
  transition: background .18s ease, border-color .18s ease;
}

.site-nav .nav-cta:hover {
  border-color: var(--ink);
  background: var(--white);
}

.hero {
  min-height: 626px;
  padding-block: 86px 92px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 21px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--accent);
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  color: var(--ink);
  font-weight: 580;
  letter-spacing: -.055em;
}

h1 {
  margin-bottom: 25px;
  font-size: clamp(43px, 4.2vw, 56px);
  line-height: 1.2;
}

.hero-description {
  max-width: 500px;
  margin-bottom: 16px;
  color: #4d5148;
  font-size: 17px;
  line-height: 1.9;
}

.hero-note {
  max-width: 490px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

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

.button {
  min-width: 116px;
  min-height: 46px;
  padding: 10px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { border-color: #c9c6ba; background: transparent; color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); background: var(--white); }

.hero-platform {
  margin: 15px 0 0;
  color: #85877e;
  font-size: 11px;
}

.hero-visual {
  min-width: 0;
}

.visual-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.visual-note {
  margin: 12px 2px 0;
  color: var(--muted);
  font-size: 11px;
}

.pain-section {
  padding-block: 91px;
  background: var(--paper-deep);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 100px;
}

.pain-section h2,
.section-heading h2,
.dialect-section h2,
.privacy-section h2,
.get-app-section h2,
.faq-section h2 {
  margin-bottom: 0;
  font-size: clamp(31px, 3.4vw, 43px);
  line-height: 1.35;
}

.pain-copy {
  padding-top: 25px;
  color: #555950;
  font-size: 15px;
}

.pain-copy p { margin-bottom: 17px; }
.small-note { color: #797b72 !important; font-size: 12px !important; }

.process-section { padding-block: 105px 112px; }

.section-heading {
  max-width: 600px;
  margin-bottom: 55px;
}

.section-heading .eyebrow,
.dialect-copy .eyebrow,
.privacy-copy .eyebrow,
.faq-intro .eyebrow {
  margin-bottom: 15px;
}

.process-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.process-list li {
  min-height: 158px;
  padding: 25px 28px 0 0;
  display: flex;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.process-list li + li { padding-left: 27px; border-left: 1px solid var(--line); }
.step-number { color: var(--accent); font-size: 11px; font-weight: 650; letter-spacing: .05em; }
.process-list h3 { margin: -4px 0 8px; font-size: 16px; font-weight: 630; }
.process-list p { max-width: 220px; margin: 0; color: var(--muted); font-size: 13px; }

.dialect-section {
  padding-block: 93px;
  background: #e9e9df;
}

.dialect-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 100px;
}

.dialect-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 21px 0 0;
  color: #51564e;
  font-size: 15px;
}

.dialect-copy .small-note { margin-top: 16px !important; }

.dialect-samples {
  padding: 8px 0;
  border-top: 1px solid #cecec2;
}

.dialect-sample {
  min-height: 76px;
  display: grid;
  grid-template-columns: 105px 1fr 22px;
  align-items: center;
  border-bottom: 1px solid #cecec2;
}

.sample-label { color: #73776d; font-size: 11px; }
.sample-name { color: var(--ink); font-size: 17px; font-weight: 570; }
.sample-check { color: var(--green); font-size: 14px; }
.sample-footnote { margin: 13px 0 0; color: #7a7c73; font-size: 10px; }

.privacy-section {
  padding-block: 112px;
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) 250px;
  align-items: start;
  gap: 30px;
}

.privacy-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #d5d3c8;
  border-radius: 14px;
  color: var(--green);
}

.privacy-mark svg { width: 29px; }
.privacy-copy h2 { max-width: 600px; }
.privacy-copy > p:last-child { max-width: 620px; margin: 20px 0 0; color: #555950; font-size: 15px; }

.privacy-facts {
  padding-top: 10px;
  color: #565a51;
  font-size: 12px;
}

.privacy-facts p {
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.fact-mark { margin-right: 11px; color: var(--accent); font-size: 10px; }

.get-app-section {
  padding-block: 83px 88px;
  background: var(--green);
  color: #f7f5ef;
  text-align: center;
}

.get-app-section .eyebrow { color: #e7b398; }
.get-app-section h2 { color: #fffefa; }
.get-app-content > p:not(.eyebrow) { margin: 17px 0 27px; color: #d3d8cd; font-size: 14px; }
.get-app-content > .roadmap-note { margin: -13px 0 25px; color: #c4cbbf; font-size: 12px; }
.get-app-section .hero-actions { justify-content: center; }
.button-light { background: #f4eee2; color: #283329; }
.button-light:hover { background: white; }
.button-outline-light { border-color: rgba(255, 255, 255, .48); color: white; }
.button-outline-light:hover { border-color: white; background: rgba(255, 255, 255, .08); }
.get-app-section .link-status { margin: 20px 0 0 !important; color: #c4cbbf !important; font-size: 11px !important; }
.get-app-fineprint { margin-top: 10px !important; color: #aeb8ac !important; font-size: 10px !important; }

.faq-section {
  padding-block: 99px 108px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 95px;
}

.faq-intro h2 { max-width: 330px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 19px 32px 19px 0;
  color: #33372f;
  font-size: 14px;
  font-weight: 570;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  position: absolute;
  top: 16px;
  right: 2px;
  content: "+";
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
}

.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 600px; margin: -4px 25px 19px 0; color: var(--muted); font-size: 12px; }

.site-footer { border-top: 1px solid var(--line); }
.footer-content {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand { font-size: 14px; }
.footer-brand .brand-mark { width: 22px; height: 22px; border-radius: 7px; }
.footer-content > p { margin: 0; color: var(--muted); font-size: 11px; }
.copyright { color: #898b82; font-size: 10px; }

a:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(194, 106, 67, .55);
  outline-offset: 4px;
}

@media (max-width: 850px) {
  .hero { gap: 36px; }
  .pain-grid, .dialect-grid { gap: 50px; }
  .privacy-section { grid-template-columns: 48px minmax(0, 1fr); }
  .privacy-facts { grid-column: 2; padding-top: 0; }
  .faq-section { gap: 50px; }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 66px; }
  .section-wrap, .site-header { width: min(100% - 40px, var(--content)); }
  .site-header { height: 66px; }
  .brand { font-size: 15px; }
  .site-nav { gap: 15px; font-size: 11px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .site-nav .nav-cta { padding: 6px 13px; }
  .hero {
    min-height: 0;
    padding-block: 66px 68px;
    grid-template-columns: 1fr;
    gap: 42px;
  }
  h1 { margin-bottom: 18px; font-size: clamp(39px, 11vw, 52px); }
  .hero-description { font-size: 15px; }
  .hero-note { font-size: 12px; }
  .visual-note { margin-top: 9px; }
  .pain-section, .dialect-section { padding-block: 68px; }
  .pain-grid, .dialect-grid { grid-template-columns: 1fr; gap: 20px; }
  .pain-copy { padding-top: 0; }
  .pain-section h2, .section-heading h2, .dialect-section h2,
  .privacy-section h2, .get-app-section h2, .faq-section h2 { font-size: 32px; }
  .process-section { padding-block: 76px; }
  .section-heading { margin-bottom: 35px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li, .process-list li + li {
    min-height: 105px;
    padding: 20px 0;
    border-left: 0;
  }
  .process-list p { max-width: none; }
  .dialect-samples { margin-top: 10px; }
  .privacy-section {
    padding-block: 76px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 17px;
  }
  .privacy-mark { width: 40px; height: 40px; border-radius: 12px; }
  .privacy-mark svg { width: 25px; }
  .privacy-facts { grid-column: 2; }
  .get-app-section { padding-block: 66px 72px; }
  .faq-section { padding-block: 75px; grid-template-columns: 1fr; gap: 30px; }
  .faq-intro h2 { max-width: none; }
  .footer-content { min-height: 100px; flex-wrap: wrap; justify-content: flex-start; gap: 7px 18px; padding-block: 20px; }
  .footer-content > p { width: calc(100% - 150px); }
  .copyright { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Audience landing pages (/lawyers/, /doctors/, /institutions/). They reuse the
   homepage's sections; only the pieces below are new. */

.landing-hero {
  max-width: 880px;
  min-height: 0;
  padding-block: 92px 96px;
  display: block;
}

.landing-hero h1 { max-width: 780px; margin-bottom: 22px; }
.landing-hero .hero-description { max-width: 640px; }
.landing-hero .hero-note { max-width: 640px; margin-bottom: 30px; }

.landing-facts {
  margin: 44px 0 0;
  padding: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  list-style: none;
  border-top: 1px solid var(--line);
}

.landing-facts li { color: #5f6359; font-size: 12px; }

.landing-facts strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 620;
}

.compare-section { padding-block: 99px 103px; }
.compare-scroll { margin-top: 40px; overflow-x: auto; }

.compare-table {
  width: 100%;
  min-width: 580px;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.compare-table thead th:first-child { width: 232px; }

.compare-table th,
.compare-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table thead th {
  padding-bottom: 13px;
  border-bottom-color: #c9c6ba;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .07em;
}

.compare-table tbody th {
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.compare-table td { color: #4d5148; }
.compare-table .is-us { color: var(--ink); font-weight: 600; background: #f1eee5; }
.compare-table thead .is-us { color: var(--accent-dark); }

.scene-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 28px;
  padding-block: 0 76px;
  color: var(--muted);
  font-size: 12px;
}

.scene-links span { color: #898b82; }
.scene-links a { border-bottom: 1px solid var(--line); text-decoration: none; }
.scene-links a:hover { border-bottom-color: var(--accent); color: var(--ink); }

@media (max-width: 650px) {
  .landing-hero { padding-block: 66px 68px; }
  .landing-facts { grid-template-columns: 1fr; gap: 15px; margin-top: 34px; }
  .compare-section { padding-block: 70px; }
  .scene-links { padding-block: 0 58px; }

  /* Stack the comparison: a 580px-wide table would hide the BestWhisper column
     behind a horizontal scroll, which is the one column worth reading. */
  .compare-scroll { margin-top: 30px; overflow-x: visible; }
  .compare-table { min-width: 0; display: block; }
  .compare-table thead { display: none; }
  .compare-table tbody,
  .compare-table tr { display: block; }
  .compare-table tbody tr {
    padding: 15px 0 13px;
    border-bottom: 1px solid var(--line);
  }
  .compare-table tbody th,
  .compare-table td {
    display: block;
    padding: 0;
    border: 0;
  }
  .compare-table tbody th {
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    white-space: normal;
  }
  .compare-table td {
    margin-top: 3px;
    font-size: 13px;
  }
  .compare-table td::before {
    content: attr(data-col);
    color: #898b82;
  }
  .compare-table td.is-us { background: none; color: var(--ink); font-weight: 500; }
  .compare-table td.is-us::before { color: var(--accent-dark); }
}
