/* A readable clinical document is the centre of this demonstration. */
.hero--life .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 58px;
  padding-top: 62px;
  padding-bottom: 52px;
  align-items: center;
}
.hero--life h1 {
  font-size: clamp(46px, 4.65vw, 68px);
  line-height: 1.07;
  letter-spacing: -0.055em;
  margin: 25px 0;
}
.hero--life h1 > span {
  color: #68869e;
}
.life-break {
  display: block;
}
.hero--life .hero-description {
  max-width: 455px;
  font-size: 16px;
  line-height: 1.8;
  color: #536e83;
}
.hero--life .hero-actions {
  flex-wrap: wrap;
  gap: 19px 24px;
  margin-top: 29px;
}
.hero--life .hero-actions .btn {
  font-size: 13px;
  gap: 15px;
  padding: 15px 19px;
}
.hero--life .quiet-link {
  font-size: 13px;
}
.hero--life .trial-note {
  color: #657e90;
  font-size: 11px;
}
.hero--life .hero-foot {
  padding-block: 28px;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 32px;
  text-align: left;
  line-height: 1.5;
  color: #536e83;
}
.hero--life .hero-foot > span {
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
}
.hero--life .hero-foot > div {
  justify-content: flex-start;
  gap: 12px 26px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}
.hero--life .hero-foot > div > span {
  white-space: nowrap;
}
.demo-wrap {
  min-width: 0;
}
.card-demo {
  background: var(--paper);
  border: 1px solid #dbe5ed;
  border-radius: 15px;
  box-shadow: 0 22px 55px -30px #23426335;
  overflow: hidden;
  scroll-margin-top: 24px;
}
.card-demo [hidden] {
  display: none !important;
}
.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e8eef3;
  padding: 16px 23px;
}
.demo-header .mini-brand,
.case-document .mini-brand {
  font:
    600 22px Onest,
    sans-serif;
  letter-spacing: -0.6px;
  color: #2364c5;
}
.demo-header > span:last-child {
  color: #657e90;
  font-size: 11px;
}
.demo-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 14px;
  border-bottom: 1px solid #e8eef3;
}
.demo-steps button {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #617b8f;
  font-size: 12px;
  min-height: 51px;
  padding: 10px 3px;
}
.demo-steps button span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  font-size: 10px;
  border-radius: 50%;
  background: #eef3f7;
  color: #617b8f;
}
.demo-steps button[aria-current="step"] {
  border-bottom-color: #2364c5;
  color: #2364c5;
}
.demo-steps button[aria-current="step"] span {
  background: #2364c5;
  color: white;
}
.demo-scenes {
  display: grid;
}
.demo-scene {
  grid-area: 1/1;
  min-width: 0;
  padding: 23px 25px;
  min-height: 470px;
}
.demo-scene .small-label {
  font-size: 9px;
  letter-spacing: 1.1px;
  color: #627e92;
}
.demo-scene h2 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin: 10px 0 18px;
}
.demo-scene-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 21px;
}
.demo-scene-note {
  font-size: 11px;
  line-height: 1.6;
  color: #627b8e;
}
.demo-segment-count {
  font-size: 11px;
  color: #627b8e;
  font-variant-numeric: tabular-nums;
}
.demo-transcript-slides {
  min-height: 263px;
}
.demo-transcript-slides h3 {
  font-size: 12px;
  font-weight: 550;
  color: #2364c5;
  margin-bottom: 12px;
}
.demo-transcript-slides p {
  font-size: 14px;
  line-height: 1.8;
  color: #304f67;
}
.demo-segment-track {
  display: flex;
  gap: 5px;
  margin: 17px 0 10px;
}
.demo-segment-track button {
  flex: 1;
  border: 0;
  background: none;
  padding: 10px 0;
  min-height: 28px;
}
.demo-segment-track i {
  display: block;
  height: 3px;
  flex: 1;
  border-radius: 2px;
  background: #e3ebf2;
}
.demo-segment-track .is-read i {
  background: #2364c5;
}
.demo-question {
  padding-top: 1px;
}
.demo-question + .demo-question {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5ecf2;
}
.demo-question h3 {
  font-size: 14px;
  font-weight: 550;
  line-height: 1.45;
}
.demo-question > p {
  font-size: 11px;
  line-height: 1.6;
  color: #657f92;
  margin: 6px 0 10px;
}
.demo-answer {
  border-left: 2px solid #127c70;
  background: #f0f7f5;
  padding: 8px 11px;
  border-radius: 0 4px 4px 0;
}
.demo-answer-label {
  display: block;
  font-size: 9px;
  color: #477e76;
  margin-bottom: 3px;
}
.demo-answer p {
  font-size: 12px;
  color: #176557;
  line-height: 1.5;
}
.demo-question-note {
  margin-top: 18px;
}
.demo-ready {
  color: #127c70;
  background: #eef8f5;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 10px;
}
.demo-section-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 15px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.demo-section-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  padding: 9px 0;
  border-top: 1px solid #e8eef3;
  color: #536e83;
}
.demo-section-list li > span {
  font-size: 9px;
  color: #8194a3;
}
.demo-section-list b {
  margin-left: auto;
  color: #127c70;
  visibility: hidden;
}
.demo-section-list .is-assembled b {
  visibility: visible;
}
.demo-transport {
  border-top: 1px solid #e5ecf2;
  background: #f9fbfd;
}
.demo-progress {
  height: 3px;
  background: #e9eff4;
}
.demo-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: #2364c5;
}
.demo-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px 2px;
}
.demo-controls button {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: #2364c5;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 3px;
}
.demo-time {
  margin-left: auto;
  font-size: 11px;
  color: #698194;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.demo-controls .demo-replay {
  font-size: 22px;
  min-width: 32px;
}
.demo-status {
  margin: 0;
  padding: 2px 23px 13px;
  font-size: 10px;
  color: #607b8f;
  line-height: 1.5;
}
.demo-full-link {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 17px 23px;
  font-size: 12px;
  font-weight: 500;
  color: #2364c5;
  border-top: 1px solid #e5ecf2;
}
.demo-full-link:hover {
  background: #f4f8ff;
}
.demo-caption {
  font-size: 10px;
  line-height: 1.65;
  color: #647c8e;
  text-align: center;
  margin-top: 13px;
}
/* FDI order is patient-right to patient-left, upper jaw above lower jaw. */
.dental-formula {
  margin: 16px 0;
}
.dental-orientation {
  display: flex;
  justify-content: space-between;
  color: #748795;
  font-size: 10px;
  margin-bottom: 8px;
}
.dental-arch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 12px;
}
.dental-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 3px;
}
.quadrant-label {
  display: none;
}
.tooth {
  display: flex;
  flex-direction: column;
  text-align: center;
  min-width: 0;
  border: 1px solid #dce5e9;
  border-radius: 5px;
  overflow: hidden;
}
.tooth-number {
  color: #526b7c;
  font-size: 11px;
  line-height: 24px;
  background: #fff;
}
.tooth-state {
  font-size: 12px;
  line-height: 24px;
  font-weight: 500;
}
.tooth--intact {
  color: #516b79;
  background: #f0f4f5;
}
.tooth--filling {
  color: #245fa8;
  background: #e5effb;
}
.tooth--caries {
  color: #9c5830;
  background: #f9eade;
  border-color: #d9af91;
}
.tooth--missing {
  color: #7f8a93;
  background: #f6f7f8;
}
.tooth--missing .tooth-state {
  text-decoration: line-through;
}
.dental-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 10px;
  color: #5d7383;
  margin-top: 12px;
}
.dental-legend > span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.dental-legend b {
  width: 19px;
  height: 19px;
  border-radius: 3px;
  display: inline-grid;
  place-items: center;
  font-size: 10px;
}
.dental-formula--mini .tooth-number {
  font-size: 10px;
  line-height: 19px;
}
.dental-formula--mini .tooth-state {
  font-size: 10px;
  line-height: 20px;
}
.dental-formula--mini .dental-orientation {
  font-size: 9px;
}
.dental-formula--mini .dental-arch {
  gap: 10px;
}
.dental-formula--mini .dental-legend {
  font-size: 9px;
  gap: 6px 10px;
}
.case-section {
  background: #f4f7fa;
  border-top: 1px solid #e1e8ef;
  scroll-margin-top: 25px;
}
.case-heading {
  align-items: end;
}
.case-heading > p {
  font-size: 14px;
  max-width: 340px;
}
.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 310px) minmax(0, 1fr);
  align-items: start;
  gap: 54px;
}
.case-context {
  min-width: 0;
}
.case-patient {
  padding: 3px 0 23px;
}
.case-patient .small-label {
  font-size: 10px;
  color: #738796;
  letter-spacing: 1.2px;
}
.case-patient h3 {
  font-size: 23px;
  letter-spacing: -0.6px;
  margin: 10px 0;
}
.case-patient p {
  color: #5c7486;
  font-size: 14px;
  line-height: 1.7;
}
.case-source {
  border-block: 1px solid #dce5ec;
}
.case-source summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
  color: #2364c5;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}
.case-source summary::-webkit-details-marker {
  display: none;
}
.case-source summary > span {
  font-size: 22px;
  font-weight: 400;
}
.case-source[open] summary > span {
  transform: rotate(45deg);
}
.case-transcript {
  padding: 0 0 22px;
}
.case-transcript > div + div {
  margin-top: 21px;
}
.case-transcript h4 {
  font-size: 11px;
  font-weight: 500;
  color: #698195;
  margin-bottom: 7px;
}
.case-transcript p {
  font-size: 13px;
  line-height: 1.85;
  color: #334f64;
}
.case-answers {
  margin-top: 30px;
}
.case-answers > h3,
.case-norm-note h3 {
  font-size: 15px;
  font-weight: 550;
}
.case-answer {
  position: relative;
  margin-top: 22px;
  padding-left: 28px;
}
.case-answer-number {
  position: absolute;
  top: 2px;
  left: 0;
  font-size: 10px;
  color: #7b919f;
}
.case-answer h4 {
  font-size: 13px;
  line-height: 1.65;
  font-weight: 500;
}
.case-answer p {
  font-size: 13px;
  line-height: 1.8;
  color: #386d63;
  margin-top: 9px;
}
.case-norm-note {
  margin-top: 30px;
  border-top: 1px solid #dce5ec;
  padding-top: 23px;
}
.case-norm-note p {
  font-size: 12px;
  color: #667f91;
  line-height: 1.8;
  margin-top: 11px;
}
.case-toc {
  display: flex;
  flex-direction: column;
  margin: 27px 0;
  border-top: 1px solid #dce5ec;
  padding-top: 17px;
}
.case-toc a {
  font-size: 12px;
  color: #496b84;
  padding: 9px 0;
}
.case-toc a:hover {
  color: #2364c5;
}
.case-toc span {
  color: #8397a5;
  font-size: 10px;
  padding-right: 12px;
}
.case-download {
  font-size: 12px;
}
.case-document {
  min-width: 0;
  background: #fff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  box-shadow: 0 15px 35px -22px #24435e22;
  padding: 36px 38px 26px;
}
.case-document-header {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 15px;
  border-bottom: 1px solid #e3eaf0;
  padding-bottom: 25px;
}
.case-document-header > div {
  display: flex;
  align-items: center;
  gap: 17px;
}
.case-document-header > div p {
  font-size: 8px;
  color: #6e8596;
  letter-spacing: 1.1px;
}
.case-sample-label {
  font-size: 9px;
  color: #7a8e9c;
  align-self: center;
}
.case-document-header h3 {
  grid-column: 1/-1;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.6px;
  margin: 25px 0 8px;
}
.case-document-header > p {
  grid-column: 1/-1;
  font-size: 12px;
  color: #688094;
  line-height: 1.8;
}
.case-provenance-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 18px 0 5px;
}
.case-provenance-key > span:first-child {
  font-size: 10px;
  color: #8193a1;
  margin-right: 3px;
}
.case-source-tag {
  display: inline-block;
  font-size: 9px;
  line-height: 1.5;
  color: #416e9c;
  background: #f0f5fb;
  border-radius: 3px;
  padding: 2px 6px;
}
.source-norm > .case-source-tag,
.case-source-tag.source-norm {
  color: #677888;
  background: #f0f2f4;
}
.source-answer > .case-source-tag,
.case-source-tag.source-answer {
  color: #267264;
  background: #edf7f2;
}
.case-chart-section {
  padding: 27px 0;
  border-bottom: 1px solid #e3eaf0;
  scroll-margin-top: 25px;
}
.case-chart-section > h3 {
  display: flex;
  align-items: baseline;
  gap: 13px;
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.4px;
  line-height: 1.4;
  margin: 0 0 18px;
}
.case-chart-section > h3 > span {
  color: #8da0ae;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0;
}
.case-block + .case-block {
  margin-top: 20px;
}
.case-block h4 {
  display: inline;
  font-size: 12px;
  font-weight: 550;
  color: #3a556b;
  line-height: 1.7;
  margin-right: 7px;
}
.case-block p {
  font-size: 14px;
  color: #314b60;
  line-height: 1.85;
  margin-top: 8px;
}
.case-block.source-norm {
  padding-left: 13px;
  border-left: 2px solid #dce3e9;
}
.case-block.source-answer {
  padding-left: 13px;
  border-left: 2px solid #b2d7ca;
}
.case-document-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 23px;
}
.case-document-footer p {
  font-size: 10px;
  line-height: 1.8;
  color: #748b9c;
}
.life-section {
  padding: 64px 0 69px;
  border-bottom: 1px solid #e5ecf2;
}
.life-inner {
  text-align: center;
}
.life-label {
  color: #678194;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.life-inner h2 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.35;
  letter-spacing: -0.8px;
  margin: 19px auto 22px;
}
.life-inner h2 > span {
  color: #68869e;
}
.life-inner .quiet-link {
  font-size: 13px;
}
@media (min-width: 1500px) {
  .hero--life .hero-grid {
    gap: 76px;
    padding-top: 76px;
    padding-bottom: 62px;
  }
}
@media (max-width: 1100px) {
  .hero--life .hero-grid {
    gap: 28px;
  }
  .hero--life h1 {
    font-size: 48px;
  }
  .demo-scene {
    padding-inline: 19px;
    min-height: 500px;
  }
  .demo-transcript-slides {
    min-height: 287px;
  }
  .demo-section-list {
    column-gap: 9px;
  }
  .demo-section-list li {
    font-size: 9px;
  }
  .case-layout {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 28px;
  }
  .case-document {
    padding: 28px;
  }
  .case-document-header > div p {
    display: none;
  }
}
@media (max-width: 800px) {
  .life-break {
    display: none;
  }
  .hero--life .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-top: 45px;
    padding-bottom: 36px;
  }
  .hero--life .hero-copy {
    max-width: 600px;
    margin: auto;
    text-align: center;
  }
  .hero--life h1 {
    font-size: 60px;
  }
  .hero--life .hero-description {
    margin-inline: auto;
  }
  .hero--life .hero-actions {
    justify-content: center;
  }
  .demo-wrap {
    width: 100%;
    max-width: 540px;
    margin: auto;
  }
  .demo-scene {
    min-height: 430px;
  }
  .demo-transcript-slides {
    min-height: 247px;
  }
  .demo-section-list li {
    font-size: 11px;
  }
  .case-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .case-context {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }
  .case-source {
    grid-column: 1/-1;
  }
  .case-patient {
    grid-column: 1/-1;
  }
  .case-answers {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }
  .case-answers > h3 {
    grid-column: 1/-1;
  }
  .case-norm-note {
    grid-column: 1/-1;
  }
  .case-toc {
    display: none;
  }
  .case-download {
    grid-column: 1/-1;
    margin-top: 22px;
  }
}
@media (max-width: 600px) {
  .hero--life .hero-grid {
    padding-top: 33px;
    gap: 29px;
  }
  .hero--life .hero-copy {
    text-align: left;
  }
  .hero--life .hero-copy .eyebrow {
    font-size: 9px;
    justify-content: flex-start;
    letter-spacing: 1.1px;
  }
  .hero--life h1 {
    font-size: clamp(38px, 9.7vw, 56px);
    margin: 20px 0;
    line-height: 1.08;
  }
  .hero--life .hero-description {
    font-size: 15px;
  }
  .hero--life .hero-actions {
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 24px;
    gap: 18px;
  }
  .hero--life .hero-actions .btn {
    width: auto;
    font-size: 12px;
    gap: 15px;
    padding: 14px 16px;
  }
  .hero--life .hero-actions .quiet-link {
    display: inline-flex;
    font-size: 12px;
  }
  .hero--life .trial-note {
    font-size: 10px;
    margin-top: 14px;
  }
  .demo-header {
    padding: 13px 17px;
    gap: 10px;
  }
  .demo-header > span:last-child {
    font-size: 9px;
  }
  .demo-steps {
    padding: 0 8px;
  }
  .demo-steps button {
    font-size: 11px;
    gap: 5px;
    min-height: 48px;
  }
  .demo-scene {
    padding: 22px 18px 18px;
    min-height: 520px;
  }
  .demo-scene h2 {
    font-size: 22px;
  }
  .demo-transcript-slides {
    min-height: 307px;
  }
  .demo-transcript-slides p {
    font-size: 13px;
  }
  .demo-controls {
    padding-inline: 16px;
    gap: 10px;
  }
  .demo-status {
    padding-inline: 19px;
  }
  .demo-full-link {
    padding-inline: 18px;
    font-size: 11px;
  }
  .demo-section-list {
    grid-template-columns: 1fr;
    margin-top: 15px;
  }
  .demo-section-list li {
    font-size: 11px;
    padding: 7px 0;
  }
  .dental-formula--mini .dental-row {
    gap: 2px;
  }
  .dental-formula--mini .dental-arch {
    column-gap: 8px;
  }
  .dental-formula--mini .tooth-number {
    font-size: 9px;
  }
  .dental-formula--mini .dental-legend {
    gap: 5px 8px;
    font-size: 8px;
  }
  .case-heading > p {
    font-size: 13px;
  }
  .case-context,
  .case-answers {
    display: block;
  }
  .case-document {
    padding: 24px 20px;
    border-radius: 7px;
  }
  .case-document-header h3 {
    font-size: 22px;
  }
  .case-document-header > p {
    font-size: 11px;
  }
  .case-provenance-key > span:first-child {
    width: 100%;
  }
  .case-chart-section > h3 {
    font-size: 19px;
    gap: 9px;
  }
  .case-block p {
    font-size: 14px;
  }
  .case-document .dental-orientation {
    display: none;
  }
  .case-document .dental-arch {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .case-document .quadrant-label {
    display: block;
    font-size: 10px;
    color: #698094;
    margin-bottom: 6px;
  }
  .case-document .dental-legend {
    font-size: 9px;
  }
  .case-document-footer {
    gap: 14px;
    align-items: flex-start;
  }
  .case-download {
    display: inline-flex;
  }
  .life-section {
    padding: 43px 0;
  }
  .life-inner {
    text-align: left;
  }
  .life-inner h2 {
    font-size: 27px;
    margin-top: 16px;
    letter-spacing: -0.55px;
  }
  .life-inner h2 br {
    display: none;
  }
}
@media (max-width: 350px) {
  .demo-scene {
    min-height: 625px;
    padding-inline: 15px;
  }
  .demo-transcript-slides {
    min-height: 334px;
  }
  .demo-steps button {
    font-size: 10px;
    gap: 4px;
  }
  .demo-steps button span {
    width: 17px;
    height: 17px;
  }
  .demo-scene h2 {
    font-size: 21px;
  }
  .demo-scene .small-label {
    font-size: 8px;
  }
  .hero--life .hero-actions .btn {
    padding-inline: 13px;
  }
  .case-document {
    padding-inline: 16px;
  }
  .case-sample-label {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card-demo *,
  .card-demo *::before {
    animation: none !important;
    transition: none !important;
  }
}
/* The document is written on screen, before and after the clarification. */
.demo-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-inline: 10px;
}
.demo-steps button {
  font-size: 10px;
  gap: 5px;
}
.demo-steps button span {
  width: 17px;
  height: 17px;
  font-size: 9px;
}
.demo-stage {
  position: relative;
  height: 485px;
  background: #fff;
}
.demo-dictation {
  height: 100%;
  padding: 28px 26px 18px;
  display: flex;
  flex-direction: column;
}
.demo-record-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #668094;
}
.demo-record-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2364c5;
  box-shadow: 0 0 0 5px #edf3fb;
}
.demo-speech-scroll {
  overflow: auto;
  flex: 1;
  margin: 27px 0 15px;
  scrollbar-width: thin;
  scrollbar-color: #d5e0e8 transparent;
}
.demo-speech-scroll p {
  font-family: Onest, sans-serif;
  font-size: 21px;
  line-height: 1.65;
  color: #294a63;
  margin: 0;
}
.demo-speech-note {
  color: #7990a2;
  font-size: 11px;
  margin: 0;
}
.is-writing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  background: #2364c5;
  vertical-align: -2px;
}
.demo-document-scroll {
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d5e0e8 transparent;
}
.demo-paper {
  padding: 27px 25px 32px;
  min-height: 100%;
}
.demo-paper-header {
  padding-bottom: 18px;
  border-bottom: 1px solid #e4ebf1;
  margin-bottom: 20px;
}
.demo-paper-header > span {
  color: #7990a2;
  font-size: 9px;
  letter-spacing: 0.7px;
}
.demo-paper-header h2 {
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.7px;
  margin: 9px 0 0;
}
.demo-written-section {
  margin: 21px 0 0;
}
.demo-written-section h3 {
  font-size: 12px;
  font-weight: 550;
  color: #5e788d;
  margin: 0 0 9px;
}
.demo-written-section h3 span {
  font-size: 9px;
  color: #98a9b6;
  margin-right: 8px;
}
.demo-written-block p {
  color: #314f65;
  font-size: 13px;
  line-height: 1.85;
  margin: 0;
}
.demo-written-block + .demo-written-block {
  margin-top: 12px;
}
.demo-written-block.source-answer {
  border-left: 2px solid #a1cebc;
  padding-left: 10px;
}
.demo-written-block.source-norm {
  border-left: 2px solid #dce4eb;
  padding-left: 10px;
}
.demo-paper-end {
  border-top: 1px solid #e4ebf1;
  padding-top: 22px;
  margin-top: 22px;
  color: #127c70;
  font-size: 12px;
}
.demo-question-overlay {
  position: absolute;
  inset: 0;
  background: #f3f7fbdb;
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  padding: 25px;
}
.demo-question-box {
  width: 100%;
  background: #fff;
  border: 1px solid #d5e0ea;
  border-radius: 11px;
  padding: 24px;
  box-shadow: 0 18px 35px -22px #26455d60;
}
.demo-question-box .small-label {
  font-size: 9px;
  color: #7891a4;
  letter-spacing: 1px;
}
.demo-question-box h2 {
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.6px;
  margin: 12px 0;
}
.demo-question-box > p {
  font-size: 12px;
  color: #6d8395;
  line-height: 1.7;
}
.demo-question-box .demo-answer {
  margin-top: 20px;
  min-height: 100px;
}
.demo-question-box .demo-answer p {
  font-size: 14px;
  line-height: 1.75;
}
.case-section {
  border-top: 0;
  background: var(--paper);
  padding: 0;
}
.case-full {
  border-block: 1px solid #e0e8ef;
}
.case-full > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  color: #58768d;
  font-size: 13px;
  padding: 23px 0;
}
.case-full > summary::-webkit-details-marker {
  display: none;
}
.case-full > summary > span {
  font-size: 22px;
}
.case-full[open] > summary > span {
  transform: rotate(45deg);
}
.case-full > .case-layout {
  padding: 25px 0 60px;
}
@media (max-width: 600px) {
  .demo-stage {
    height: 460px;
  }
  .demo-dictation {
    padding: 24px 20px 18px;
  }
  .demo-speech-scroll p {
    font-size: 19px;
  }
  .demo-paper {
    padding: 24px 19px;
  }
  .demo-question-overlay {
    padding: 16px;
  }
  .demo-question-box {
    padding: 20px;
  }
  .demo-question-box h2 {
    font-size: 21px;
  }
  .demo-steps button {
    flex-direction: column;
    gap: 4px;
    font-size: 9px;
  }
  .demo-steps {
    padding-inline: 6px;
  }
  .demo-written-block p {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .is-writing::after {
    display: none;
  }
}
