@charset "UTF-8";
:root {
  color-scheme: dark;
  --canvas: #000;
  --text: #f5f5f5;
  --muted: #aaa;
  --line: #292929;
  --surface: #101011;
  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  background: var(--canvas);
  scrollbar-color: #454545 #080808;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: #d9d9d9;
  color: #080808;
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #efefef;
  outline-offset: 6px;
}
button {
  color: inherit;
}
p,
h1,
figure,
blockquote {
  margin: 0;
}
img {
  display: block;
  object-fit: contain;
}
svg.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.wrap {
  width: min(1120px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  background: #fff;
  color: #000;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  position: relative;
  z-index: 2;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wordmark {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 22px;
  letter-spacing: -0.6px;
  font-weight: 550;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
}
.nav-text {
  color: #aaa;
  transition: color 0.2s;
}
.nav-text:hover {
  color: #fff;
}
.nav-download {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 11px 16px;
  border: 1px solid #424242;
  border-radius: 8px;
  background: #151515;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.nav-download:hover {
  background: #242424;
  border-color: #777;
}
.nav-download .icon {
  width: 16px;
  height: 16px;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  display: grid;
  place-items: start center;
  padding: 60px 24px 132px;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-symbol {
  margin-bottom: 32px;
  animation: logo-arrive 1.25s var(--ease) both;
}
h1 {
  font-size: clamp(58px, 7.4vw, 96px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
  animation: headline-arrive 1.1s var(--ease) both;
}
h1 span {
  color: #b4b4b9;
}
.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 580;
  white-space: nowrap;
  transition:
    transform 0.22s var(--ease),
    background 0.2s;
}
.button-silver {
  padding: 0 19px;
  background-color: #eaeaea;
  background-image: linear-gradient(178deg, #fff 0%, #eaeaea 62%, #cecece 100%);
  color: #111;
  transition:
    transform 0.22s var(--ease),
    filter 0.22s ease-out;
  box-shadow:
    0 5px 18px #0006,
    inset 0 1px 0 #fff;
}
.button-silver:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}
.button-silver:active {
  transform: translateY(0);
}
.apple-icon {
  width: 18px !important;
  height: 20px !important;
}
.button .end-icon {
  width: 16px;
  height: 16px;
  margin-left: 7px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #c3c3c3;
}
.text-link .icon {
  width: 17px;
  transition: transform 0.25s;
}
.text-link:hover {
  color: #fff;
}
.text-link:hover .icon {
  transform: translateX(4px);
}
.availability {
  font-size: 12px;
  color: #aaa;
  margin-top: 21px;
  line-height: 1.6;
}
.demo-section {
  padding-top: 80px;
  scroll-margin-top: 20px;
}
.body-copy {
  color: #aaa;
  font-size: 16px;
  line-height: 1.8;
  max-width: 56ch;
}
.demo-picker {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.sample-button {
  padding: 10px 18px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  color: #aaa;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.sample-button:hover {
  color: #fff;
  background: #121212;
}
.sample-button[aria-pressed="true"] {
  background: #202020;
  border-color: #3c3c3c;
  color: #eee;
}
.demo-window {
  position: relative;
  border: 1px solid #3b3b3b;
  border-radius: 14px;
  overflow: hidden;
  background: #0c0c0d;
  box-shadow: none;
}
.mac-menubar {
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
  background: #151516;
  border-bottom: 1px solid #282828;
  font-size: 11px;
  color: #c0c0c0;
}
.mac-menubar > div {
  display: flex;
  align-items: center;
  gap: 22px;
}
.mac-menubar .icon {
  height: 14px;
  width: 14px;
}
.menu-right {
  color: #909090;
}
.notch {
  height: 47px;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 242px;
  border-radius: 0 0 14px 14px;
  background: #000;
  display: flex;
  align-items: center;
  padding: 0 17px;
  gap: 9px;
  font-size: 11px;
  color: #c8c8c8;
}
.notch::before,
.notch::after {
  content: "";
  position: absolute;
  top: 0;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 0 100%, transparent 12px, #000 12.5px);
}
.notch::before {
  right: 100%;
}
.notch::after {
  left: 100%;
  transform: scaleX(-1);
}
.wave {
  margin-left: auto;
  height: 20px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.wave i {
  width: 2px;
  height: 5px;
  background: #a6a6a6;
  border-radius: 2px;
  transition: transform 0.3s;
}
.wave i:nth-child(2n) {
  height: 10px;
}
.wave i:nth-child(3n) {
  height: 16px;
}
.demo-window.is-playing .wave i {
  animation: wave 0.5s ease-in-out infinite alternate;
}
.demo-window.is-playing .wave i:nth-child(2n) {
  animation-delay: -0.2s;
}
.demo-window.is-playing .wave i:nth-child(3n) {
  animation-delay: -0.35s;
}
.demo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}
.spoken-pane,
.note-pane {
  padding: 55px 42px 42px;
}
.spoken-pane {
  border-right: 1px solid #262626;
  background: #0a0a0a;
}
.field-label {
  color: #a3a3a3;
  font-size: 12px;
}
.spoken-pane blockquote {
  font-size: 23px;
  line-height: 1.6;
  letter-spacing: -0.3px;
  color: #999;
  margin-top: 25px;
  max-width: 34ch;
}
.spoken-pane del {
  color: #7e7e7e;
  text-decoration-thickness: 1px;
  text-decoration-color: #aaa;
}
.note-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.note-toolbar .icon {
  width: 16px;
  height: 16px;
  color: #b5b5b5;
}
.note-pane p {
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: -0.4px;
  display: inline;
  color: #f2f2f2;
}
.note-toolbar {
  margin-bottom: 26px;
}
.demo-bottom {
  min-height: 65px;
  border-top: 1px solid #252525;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  font-size: 12px;
  color: #aaa;
  gap: 15px;
}
.demo-bottom > div {
  display: flex;
  gap: 16px;
}
.quiet-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  padding: 8px 0;
  font-size: 12px;
  color: #c0c0c0;
}
.quiet-button:hover {
  color: #fff;
}
.quiet-button .icon {
  width: 15px;
  height: 15px;
}
figcaption {
  margin-top: 16px;
  font-size: 11px;
  color: #929292;
  text-align: right;
}
.belief-story {
  display: block;
  max-width: 800px;
  padding-block: 70px 75px;
  border-bottom: 1px solid var(--line);
}
.belief-copy {
  max-width: 680px;
}
.belief-copy > p:first-child {
  font-size: 31px;
  line-height: 1.45;
  letter-spacing: -0.6px;
  margin-bottom: 28px;
}
.belief-copy > p:first-child span {
  color: #aaa;
}
.belief-copy .body-copy + .body-copy {
  margin-top: 20px;
}
.questions {
  padding-block: 115px 100px;
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: 85px;
}
.question-list details {
  border-bottom: 1px solid var(--line);
}
.question-list details:first-child {
  border-top: 1px solid var(--line);
}
.question-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 15px;
  line-height: 1.6;
  padding: 23px 0;
  cursor: pointer;
}
.question-list summary::-webkit-details-marker {
  display: none;
}
.question-list summary .icon {
  height: 16px;
  width: 16px;
  color: #999;
  transition: transform 0.25s var(--ease);
}
.question-list summary:hover {
  color: #bfbfbf;
}
.question-list details[open] summary .icon {
  transform: rotate(45deg);
}
.question-list details p {
  font-size: 14px;
  line-height: 1.85;
  color: #aaa;
  padding-bottom: 25px;
  max-width: 65ch;
}
.download-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 105px 24px 110px;
}
.download-light {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 38% 32% at 50% 84%, #24242466, transparent),
    radial-gradient(ellipse 25% 35% at 50% 32%, #121212, transparent);
}
.release-status {
  font-size: 12px;
  color: #a4a4a4;
  margin-top: 25px;
  line-height: 1.8;
  scroll-margin: 30px;
}
.release-status:focus {
  outline: 1px solid #555;
  outline-offset: 10px;
  border-radius: 3px;
}
.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px 40px;
}
.site-footer .wordmark {
  font-size: 18px;
}
.site-footer p {
  font-size: 12px;
  color: #999;
}
.site-footer > a:last-child {
  font-size: 12px;
  color: #bbb;
  display: flex;
  gap: 10px;
  align-items: center;
}
.site-footer .icon {
  width: 15px;
  height: 15px;
}
@keyframes logo-arrive {
  from {
    transform: scale(0.84);
    filter: blur(6px);
    opacity: 0.45;
  }
  to {
    transform: scale(1);
    filter: blur(0);
    opacity: 1;
  }
}
@keyframes headline-arrive {
  from {
    transform: translateY(14px);
    filter: blur(3px);
    opacity: 0.75;
  }
  to {
    transform: translateY(0);
    filter: blur(0);
    opacity: 1;
  }
}
@keyframes wave {
  to {
    transform: scaleY(0.35);
  }
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 80px;
    min-height: 740px;
  }
  .hero-symbol {
    margin-bottom: 40px;
  }
  .wrap {
    width: min(1200px, calc(100% - 128px));
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .belief-story {
    gap: 50px;
  }
  .spoken-pane,
  .note-pane {
    padding: 50px 28px 35px;
  }
  .spoken-pane blockquote {
    font-size: 21px;
  }
  .note-pane p {
    font-size: 24px;
  }
  .questions {
    gap: 45px;
    grid-template-columns: 0.8fr 1.2fr;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 18px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 82px;
  }
  .wordmark {
    font-size: 20px;
    gap: 8px;
  }
  .wordmark img {
    width: 28px;
    height: 28px;
  }
  .site-header nav {
    gap: 20px;
  }
  .site-header .nav-text {
    display: none;
  }
  .nav-download {
    font-size: 12px;
    padding: 10px 13px;
    gap: 12px;
  }
  .hero {
    padding: 45px 18px 95px;
    min-height: 615px;
  }
  .hero-symbol {
    width: 76px;
    height: 76px;
    margin-bottom: 35px;
  }
  h1 {
    font-size: clamp(45px, 10.5vw, 68px);
    line-height: 1.09;
    letter-spacing: -0.04em;
  }
  .hero-actions {
    flex-direction: column;
    gap: 25px;
    margin-top: 34px;
  }
  .button {
    min-height: 50px;
    font-size: 14px;
  }
  .availability {
    font-size: 11px;
    margin-top: 20px;
  }
  .hero .availability {
    order: 3;
    margin-top: 19px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .demo-section {
    padding-top: 65px;
  }
  .demo-picker {
    gap: 0;
    margin-bottom: 16px;
  }
  .sample-button {
    font-size: 12px;
    padding: 9px 14px;
  }
  .mac-menubar {
    height: 35px;
    padding: 0 14px;
  }
  .mac-menubar .menu-item,
  .menu-right {
    display: none !important;
  }
  .mac-menubar > div {
    gap: 10px;
  }
  .notch {
    height: 40px;
    width: 160px;
    padding-inline: 11px;
    font-size: 10px;
    gap: 6px;
    left: auto;
    right: 20px;
    transform: none;
  }
  .notch img {
    width: 20px;
    height: 20px;
  }
  .wave {
    gap: 2px;
  }
  .wave i {
    width: 1px;
  }
  .demo-window {
    border-radius: 11px;
  }
  .demo-content {
    grid-template-columns: 1fr;
  }
  .spoken-pane,
  .note-pane {
    padding: 30px 25px;
  }
  .spoken-pane {
    border-right: 0;
    border-bottom: 1px solid #242424;
  }
  .spoken-pane blockquote {
    font-size: 20px;
    line-height: 1.5;
    max-width: none;
    margin-top: 17px;
    min-height: 120px;
  }
  .note-pane {
    min-height: 180px;
  }
  .note-pane p {
    font-size: 23px;
    line-height: 1.5;
  }
  .note-toolbar {
    margin-bottom: 20px;
  }
  .demo-bottom {
    padding: 14px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .demo-bottom > div {
    justify-content: space-between;
  }
  .demo-bottom > span {
    font-size: 11px;
  }
  .quiet-button {
    font-size: 11px;
    min-height: 32px;
  }
  figcaption {
    font-size: 10px;
    line-height: 1.6;
    text-align: left;
  }
  .belief-story {
    padding-block: 50px 60px;
  }
  .belief-copy {
    max-width: 460px;
    align-self: flex-start;
  }
  .belief-copy > p:first-child {
    font-size: 27px;
    margin-bottom: 24px;
  }
  .belief-copy .body-copy {
    font-size: 15px;
  }
  .questions {
    display: block;
    padding-block: 70px 45px;
  }
  .question-list summary {
    font-size: 14px;
    padding-block: 21px;
  }
  .question-list details p {
    font-size: 13px;
  }
  .download-section {
    padding: 70px 20px 75px;
  }
  .download-section > img {
    width: 65px;
    height: 65px;
  }
  .release-status {
    font-size: 11px;
  }
  .site-footer {
    padding-block: 25px 30px;
    flex-wrap: wrap;
    gap: 20px;
  }
  .site-footer p {
    order: 3;
    width: 100%;
    font-size: 11px;
  }
  .site-footer > a:last-child {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-symbol,
  h1 {
    filter: none;
    opacity: 1;
    transform: none;
  }
}
.belief-copy > p:first-child {
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: -0.35px;
}
@media (max-width: 700px) {
  .belief-copy > p:first-child {
    font-size: 22px;
    line-height: 1.65;
  }
}

/* Readable functional copy, including smaller screens. */
.availability,
figcaption,
.release-status,
.site-footer p {
  font-size: 12px;
}
.demo-bottom > span,
.quiet-button {
  font-size: 12px;
}
.quiet-button {
  min-height: 36px;
}

/* The product follows the opening directly, inspired by T3's early product reveal. */
[hidden] {
  display: none !important;
}
.site-header {
  height: 88px;
}
.hero {
  min-height: 565px;
  padding: 35px 24px 70px;
}
.hero-symbol {
  width: 76px;
  height: 76px;
  margin-bottom: 24px;
}
.hero-actions {
  margin-top: 32px;
}
.demo-section {
  position: relative;
  padding-top: 16px;
}
.demo-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.demo-picker {
  margin: 0;
}
.sample-button,
.text-link,
.nav-download,
.quiet-button {
  min-height: 44px;
}
.demo-content {
  min-height: 270px;
}
.spoken-pane,
.note-pane {
  padding-block: 45px 35px;
}
.spoken-pane del {
  color: #8d8d8d;
  text-decoration-color: #ccc;
}
.local-history {
  width: 100%;
  max-width: 720px;
  margin: 30px auto 0;
}
.local-history > img {
  width: 100%;
  height: auto;
}
.questions {
  display: block;
  max-width: 800px;
  padding-block: 90px 55px;
}
.question-list summary {
  font-size: 16px;
  padding-block: 25px;
}
.download-section {
  padding-block: 70px 85px;
}
.download-section > .button {
  margin-top: 28px;
}
.release-status {
  font-size: 16px;
  color: #e2e2e2;
  margin-top: 28px;
}

/* Motion carries the actual sequence: arrive, speak, clean, keep. */
.hero .hero-symbol {
  animation:
    logo-arrive 1.25s var(--ease) both,
    logo-float 7s ease-in-out 1.25s infinite;
}
.hero:not(.is-in-view) .hero-symbol {
  animation-play-state: paused;
}
.page-paused *,
.page-paused *::before,
.page-paused *::after {
  animation-play-state: paused !important;
}
.demo-window.entered {
  /* Keep the visibility gate stable during anchor scrolling and motion changes. */
  animation: window-arrive 600ms var(--ease) both;
}
.notch {
  transform-origin: top center;
  transition: transform 0.5s var(--ease);
}
.question-list details[open] p {
  animation: answer-arrive 0.35s var(--ease) both;
}
@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes window-arrive {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes answer-arrive {
  from {
    transform: translateY(-6px);
    opacity: 0.65;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (min-width: 1600px) {
  .hero {
    min-height: 620px;
    padding-top: 45px;
  }
}
@media (max-width: 700px) {
  .site-header {
    height: 76px;
  }
  .hero {
    min-height: 505px;
    padding: 28px 18px 46px;
  }
  .hero-symbol {
    width: 65px;
    height: 65px;
    margin-bottom: 24px;
  }
  .hero-actions {
    gap: 7px;
    margin-top: 28px;
  }
  .hero .availability {
    margin-top: 8px;
  }
  .demo-section {
    padding-top: 10px;
  }
  .demo-controls {
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }
  .demo-picker {
    flex: 1 0 100%;
  }
  .sample-button {
    flex: 1;
    font-size: 12px;
    padding-inline: 10px;
  }
  .spoken-pane,
  .note-pane {
    padding: 25px 23px;
  }
  .spoken-pane blockquote {
    min-height: 0;
    font-size: 19px;
    margin-top: 15px;
  }
  .note-pane {
    min-height: 155px;
  }
  .demo-bottom {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .demo-bottom > span {
    max-width: 150px;
    line-height: 1.6;
  }
  .demo-bottom > div {
    flex: none;
  }
  .belief-story {
    padding-block: 50px 60px;
  }
  .local-history {
    margin-top: 25px;
  }
  .belief-copy {
    order: 1;
  }
  .questions {
    padding-block: 45px 35px;
  }
  .question-list summary {
    font-size: 14px;
  }
  .download-section {
    padding-block: 45px 60px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero.is-in-view .hero-symbol,
  .demo-window.entered,
  .question-list details[open] p {
    animation: none !important;
    filter: none;
    transform: none;
  }
}

.motion-observed:not(.is-in-view),
.motion-observed:not(.is-in-view) * {
  animation-play-state: paused;
}

/* Both speech and the note reserve their complete text height during playback. */
.speech-output {
  display: grid;
  min-width: 0;
}
.speech-output > blockquote {
  grid-area: 1 / 1;
  min-width: 0;
}
.speech-measure {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}
/* The cleanup is one deliberate passage of light, followed by settling words. */
.note-output {
  display: grid;
  position: relative;
  isolation: isolate;
  min-height: 3em;
}
.note-output > p {
  grid-area: 1 / 1;
  display: block;
  min-width: 0;
}
.note-measure {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}
.note-output::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12px -20px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    105deg,
    transparent 20%,
    #ffffff09 43%,
    #ffffff20 50%,
    #ffffff09 57%,
    transparent 80%
  );
  transform: translateX(-45%);
}
.demo-window.phase-cleaning .note-output::before {
  animation: cleanup-sweep 1.1s cubic-bezier(0.3, 0, 0.2, 1) both;
}
.demo-window.phase-cleaning .spoken-pane del {
  animation: correction-settle 0.8s var(--ease) both;
}
.revealed-word {
  display: inline-block;
  white-space: pre;
  animation: word-settle 0.45s var(--ease) both;
}
.demo-window:has(#copy-note:disabled) .note-toolbar > .icon {
  opacity: 0;
}
.note-toolbar > .icon {
  transition: opacity 0.45s ease-out;
}
@keyframes cleanup-sweep {
  0% {
    opacity: 0;
    transform: translateX(-45%);
  }
  25% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(45%);
  }
}
@keyframes correction-settle {
  from {
    color: #c2c2c2;
    text-decoration-color: transparent;
  }
  to {
    color: #8d8d8d;
    text-decoration-color: #ccc;
  }
}
@keyframes word-settle {
  from {
    opacity: 0;
    filter: blur(3px);
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .demo-window.phase-cleaning .note-output::before {
    animation: none;
    opacity: 0;
  }
  .revealed-word,
  .demo-window.phase-cleaning .spoken-pane del {
    animation: none;
    filter: none;
    transform: none;
    opacity: 1;
  }
}

.local-history figcaption {
  margin-top: 4px;
  text-align: center;
  font-size: 12px;
  color: #999;
}
.belief-copy {
  margin-inline: auto;
}
/* Mask thin phrase rows, not a viewport-sized animated surface. */
.hero-thoughts {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  --mask-width: 360px;
  --mask-height: 240px;
  --mask-center: 0.43;
  --mask-start: 78%;
  --mask-end: 112%;
}
.thought-fragment {
  --arrival-x: -18px;
  --arrival-y: -8px;
  --travel-y: 14px;
  --thought-opacity: 0.5;
  position: absolute;
  left: 0;
  width: 100%;
  padding-block: 24px;
  margin-top: -24px;
  color: #8c8c91;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.1px;
  white-space: nowrap;
  opacity: var(--thought-opacity);
  animation: thought-arrive 1.6s var(--ease) both;
}
.thought-fragment.crosses-headline {
  mask-image: radial-gradient(
    ellipse var(--mask-width) var(--mask-height) at 50% var(--mask-row-y),
    transparent var(--mask-start),
    #000 var(--mask-end)
  );
}
.thought-near {
  --thought-opacity: 0.65;
  font-size: 13px;
}
.thought-far {
  --thought-opacity: 0.35;
  font-size: 11px;
}
.thought-float {
  display: block;
  width: max-content;
  will-change: transform;
  animation: thought-drift 52s linear infinite;
  animation-delay: -12s;
}
.thought-one {
  top: 6%;
}
.thought-two {
  top: 14%;
}
.thought-three {
  top: 23%;
}
.thought-four {
  top: 31%;
}
.thought-five {
  top: 40%;
}
.thought-six {
  top: 48%;
}
.thought-seven {
  top: 57%;
}
.thought-eight {
  top: 65%;
}
.thought-nine {
  top: 74%;
}
.thought-ten {
  top: 81%;
}
.thought-eleven {
  top: 88%;
}
.thought-twelve {
  top: 94%;
  --travel-y: 7px;
}
.thought-two,
.thought-four,
.thought-six,
.thought-eight,
.thought-ten,
.thought-twelve {
  --arrival-x: 18px;
}
.thought-five,
.thought-six,
.thought-seven,
.thought-eight,
.thought-nine,
.thought-ten,
.thought-eleven,
.thought-twelve {
  --arrival-y: 8px;
}
.thought-two .thought-float {
  animation-duration: 61s;
  animation-delay: -40s;
  animation-direction: reverse;
}
.thought-three .thought-float {
  animation-duration: 47s;
  animation-delay: -35s;
}
.thought-four .thought-float {
  animation-duration: 67s;
  animation-delay: -14s;
  animation-direction: reverse;
}
.thought-five .thought-float {
  animation-duration: 43s;
  animation-delay: -17s;
}
.thought-six .thought-float {
  animation-duration: 58s;
  animation-delay: -43s;
  animation-direction: reverse;
}
.thought-seven .thought-float {
  animation-duration: 49s;
  animation-delay: -8s;
}
.thought-eight .thought-float {
  animation-duration: 64s;
  animation-delay: -30s;
  animation-direction: reverse;
}
.thought-nine .thought-float {
  animation-duration: 41s;
  animation-delay: -28s;
}
.thought-ten .thought-float {
  animation-duration: 55s;
  animation-delay: -9s;
  animation-direction: reverse;
}
.thought-eleven .thought-float {
  animation-duration: 46s;
  animation-delay: -22s;
}
.thought-twelve .thought-float {
  animation-duration: 70s;
  animation-delay: -55s;
  animation-direction: reverse;
}
@keyframes thought-arrive {
  from {
    opacity: 0.25;
    filter: blur(1px);
    transform: translate(var(--arrival-x), var(--arrival-y)) scale(1.1);
  }
  to {
    opacity: var(--thought-opacity);
    filter: none;
    transform: translate(0, 0) scale(1);
  }
}
@keyframes thought-drift {
  0% {
    opacity: 0;
    transform: translate(-100%, 0);
  }
  8% {
    opacity: 1;
  }
  25% {
    transform: translate(calc(25vw - 75%), var(--travel-y));
  }
  50% {
    transform: translate(calc(50vw - 50%), 0);
  }
  75% {
    transform: translate(calc(75vw - 25%), calc(var(--travel-y) * -0.5));
  }
  92% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(100vw, 0);
  }
}
@media (max-width: 1200px) {
  .thought-nine,
  .thought-ten,
  .thought-eleven,
  .thought-twelve {
    display: none;
  }
  .thought-one {
    top: 3%;
  }
  .thought-two {
    top: 16%;
  }
  .thought-three {
    top: 29%;
  }
  .thought-four {
    top: 42%;
  }
  .thought-five {
    top: 55%;
  }
  .thought-six {
    top: 68%;
  }
  .thought-seven {
    top: 81%;
  }
  .thought-eight {
    top: 92%;
  }
}
@media (max-width: 900px) {
  .thought-three,
  .thought-four {
    display: none;
  }
  .hero-thoughts {
    --mask-width: 300px;
    --mask-height: 235px;
  }
  .thought-one {
    top: 3%;
  }
  .thought-two {
    top: 20%;
  }
  .thought-five {
    top: 38%;
  }
  .thought-six {
    top: 56%;
  }
  .thought-seven {
    top: 75%;
  }
  .thought-eight {
    top: 92%;
  }
}
@media (max-width: 700px) {
  .hero-thoughts {
    --mask-width: 230px;
    --mask-height: 195px;
    --mask-center: 0.39;
    --mask-start: 80%;
    --mask-end: 110%;
  }
  .thought-fragment {
    font-size: 11px;
    --travel-y: 3px;
    --arrival-y: 0px;
  }
  .thought-two,
  .thought-seven,
  .thought-eight {
    display: none;
  }
  .thought-one {
    top: 5px;
  }
  .thought-five {
    top: auto;
    bottom: 83px;
    --travel-y: 8px;
  }
  .thought-six {
    top: auto;
    bottom: 24px;
    --travel-y: -8px;
  }
  .thought-one .thought-float {
    animation-duration: 40s;
    animation-delay: -14s;
  }
  .thought-five .thought-float {
    animation-duration: 44s;
    animation-delay: -26s;
  }
  .thought-six .thought-float {
    animation-duration: 48s;
    animation-delay: -11s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .thought-fragment,
  .thought-float {
    animation: none;
    filter: none;
    transform: none;
  }
  .thought-fragment {
    left: 7%;
  }
  .thought-two,
  .thought-four,
  .thought-six,
  .thought-eight,
  .thought-ten,
  .thought-twelve {
    left: auto;
    right: 7%;
  }
}

/* Shared silver selection surface, with a measured moving selection. */
.demo-picker {
  position: relative;
  isolation: isolate;
  width: fit-content;
  padding: 4px;
  gap: 2px;
  border: 1px solid #303033;
  border-radius: 11px;
  background: linear-gradient(180deg, #18181a, #101011);
  box-shadow: inset 0 1px 0 #ffffff08;
}
.demo-picker::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: var(--selection-width, 0px);
  transform: translateX(var(--selection-x, 0px));
  border: 1px solid #656568;
  border-radius: 7px;
  background: linear-gradient(180deg, #505053, #303032);
  box-shadow:
    inset 0 1px 0 #ffffff24,
    0 2px 4px #0005;
  opacity: 0;
}
.demo-picker.selection-ready::before {
  opacity: 1;
  transition:
    transform 350ms var(--ease),
    width 350ms var(--ease);
}
.sample-button {
  min-height: 44px;
  position: relative;
  border-radius: 7px;
  padding: 10px 20px;
  color: #aaa;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms var(--ease);
}
.sample-button:hover {
  color: #eee;
  background: #ffffff08;
}
.sample-button:active {
  transform: translateY(1px);
}
.sample-button[aria-pressed="true"] {
  color: #f2f2f3;
  background: linear-gradient(180deg, #505053, #303032);
  border-color: #656568;
}
.selection-ready .sample-button[aria-pressed="true"] {
  background: transparent;
  border-color: transparent;
}

.belief-copy > p:first-child {
  max-width: 32ch;
  font-size: 23px;
  line-height: 1.55;
  letter-spacing: -0.35px;
  color: #ddd;
}

.belief-story {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  max-width: 1120px;
  align-items: center;
  gap: 64px;
  padding-block: 100px 80px;
}
.belief-copy {
  margin: 0;
  order: initial;
}
.belief-copy > p:first-child {
  margin-bottom: 22px;
}
.belief-copy .body-copy {
  max-width: 36ch;
  font-size: 15px;
  line-height: 1.75;
}
.local-history {
  margin: 0;
  max-width: none;
}
@media (max-width: 900px) {
  .belief-story {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .belief-copy > p:first-child {
    max-width: 40ch;
    font-size: 21px;
  }
  .belief-story {
    padding-block: 64px;
  }
  .belief-copy {
    max-width: none;
  }
  .belief-copy .body-copy {
    max-width: 54ch;
  }
  .local-history {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
  }
}
@media (max-width: 700px) {
  .demo-picker {
    width: 100%;
    gap: 2px;
  }
  .sample-button {
    padding: 10px 9px;
    flex: 1;
    font-size: 12px;
  }

  .belief-copy > p:first-child {
    font-size: 20px;
    line-height: 1.6;
  }
  .belief-story {
    padding-block: 52px;
    gap: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .demo-picker.selection-ready::before,
  .sample-button {
    transition: none;
  }
  .sample-button:active {
    transform: none;
    translate: none;
  }
}

/* Three compact chapters: understand, inspect, and reuse your words. */
.demo-section {
  padding-top: 120px;
}
.demo-intro {
  margin: 0 0 32px;
  color: #c9c9cc;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.25px;
}
.demo-bottom > div {
  gap: 18px;
}
#inspect-cleanup {
  min-height: 44px;
}
#inspect-cleanup[aria-expanded="true"] {
  color: #eee;
}
.cleanup-insight {
  margin: 20px 0 0;
  max-width: 74ch;
  padding: 0 0 0 18px;
  border-left: 1px solid #505053;
  color: #b9b9bd;
  font-size: 15px;
  line-height: 1.8;
}

.belief-story {
  padding-block: 120px 72px;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.75fr);
  gap: 60px;
}
.belief-copy {
  grid-column: 2;
  grid-row: 1;
}
.local-history {
  grid-column: 1;
  grid-row: 1;
}
.belief-copy > p:first-child {
  font-size: 22px;
}
.history-download {
  display: inline-flex;
  margin-top: 22px;
  font-size: 14px;
}
.history-stage {
  position: relative;
}
.history-stage > img {
  display: block;
  width: 100%;
  height: auto;
}
.history-actions button {
  position: absolute;
  left: 84.6%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #ddd;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}
.history-actions button[data-history="chapter"] {
  top: 28.1%;
}
.history-actions button[data-history="message"] {
  top: 43.6%;
}
.history-actions button[data-history="idea"] {
  top: 59.2%;
}
.history-actions button:hover {
  background: #ffffff0b;
  border-color: #ffffff28;
}
.history-actions button:focus-visible {
  outline: 2px solid #ccc;
  outline-offset: 2px;
  background: #ffffff10;
}
.history-actions button > .icon,
.history-actions button > span {
  display: none;
}
#history-feedback {
  min-height: 24px;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: #b5b5b9;
  text-align: center;
}
@media (max-width: 900px) {
  .demo-section {
    padding-top: 80px;
  }
  .belief-story {
    grid-template-columns: 1fr;
    padding-block: 80px 60px;
    gap: 32px;
  }
  .belief-copy,
  .local-history {
    grid-column: auto;
    grid-row: auto;
  }

  .history-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
  }
  .history-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: static;
    transform: none;
    width: auto;
    min-height: 44px;
    padding: 10px 12px;
    border-color: #333;
    background: #111;
    font-size: 12px;
  }
  .history-actions button > .icon,
  .history-actions button > span {
    display: inline-block;
  }
  .history-actions button > .icon {
    width: 14px;
    height: 14px;
  }
  .local-history figcaption {
    margin-top: 16px;
  }
}
@media (max-width: 700px) {
  .demo-section {
    padding-top: 72px;
  }
  .demo-intro {
    max-width: 28ch;
    margin-bottom: 28px;
    font-size: 18px;
  }
  .demo-bottom {
    flex-wrap: wrap;
    gap: 6px;
  }
  .demo-bottom > span {
    max-width: none;
    flex: 1 0 100%;
  }
  .demo-bottom > div {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .cleanup-insight {
    font-size: 14px;
    margin-top: 18px;
    padding-left: 14px;
  }

  .belief-story {
    padding-block: 72px 52px;
    gap: 28px;
  }
  .belief-copy > p:first-child {
    font-size: 20px;
  }
  .history-download {
    margin-top: 16px;
  }
  .history-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .history-actions button {
    justify-content: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .history-actions button {
    transition: none;
  }
}

/* The sky continues through a slower, viewport-scale product story. */
body {
  position: relative;
  isolation: isolate;
}
#page-galaxy {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  transform-origin: 50% 42%;
  will-change: transform;
  animation:
    sky-arrive 1.6s var(--ease) both,
    sky-drift 36s ease-in-out 1.6s infinite alternate;
}
main,
.hero,
.demo-section,
.belief-story,
.questions,
.download-section,
.site-footer {
  background: transparent;
}
.hero {
  min-height: max(820px, calc(108svh - 88px));
  padding: 80px 24px 240px;
  place-items: center;
}
.hero-content {
  background: radial-gradient(ellipse at center, #0005, transparent 72%);
}
.demo-section {
  padding-top: 240px;
  scroll-margin-top: 0;
}
.demo-intro {
  margin-bottom: 48px;
  text-align: center;
  max-width: none;
  text-shadow: 0 2px 18px #000;
}
.demo-controls {
  margin-bottom: 32px;
  justify-content: center;
}
.demo-window {
  box-shadow:
    0 0 100px #afafc00a,
    0 30px 80px #0008;
}

.belief-story {
  min-height: 1050px;
  padding-block: 240px 180px;
  gap: 76px;
  border-bottom: 0;
}
.belief-copy {
  padding-block: 24px;
  background: radial-gradient(ellipse, #0007, transparent 76%);
  text-shadow: 0 2px 18px #000;
}
.history-stage {
  isolation: isolate;
}
.history-stage::before {
  content: "";
  position: absolute;
  inset: -70px 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse, #9999a815, transparent 68%);
}
.local-history figcaption {
  margin-top: 24px;
}
.questions {
  padding-block: 180px 160px;
}
.question-list {
  background: radial-gradient(ellipse, #0007, transparent 90%);
  text-shadow: 0 2px 14px #000;
}
.question-list summary {
  padding-block: 30px;
}
.download-section {
  min-height: 620px;
  justify-content: center;
  padding-block: 150px 170px;
}
.download-light {
  background: radial-gradient(ellipse 40% 38% at 50% 50%, #0007, transparent);
}
.site-footer {
  padding-block: 44px 56px;
  border-top-color: #ffffff17;
}
@media (max-width: 900px) {
  .hero {
    min-height: max(780px, calc(105svh - 88px));
    padding: 68px 24px 192px;
  }
  .demo-section {
    padding-top: 160px;
  }

  .belief-story {
    min-height: 0;
    padding-block: 160px 120px;
    gap: 44px;
  }
  .belief-copy {
    padding: 0;
  }
  .questions {
    padding-block: 120px;
  }
  .download-section {
    min-height: 520px;
    padding-block: 120px 140px;
  }
}
@media (max-width: 700px) {
  .hero {
    min-height: max(700px, calc(100svh - 76px));
    padding: 72px 18px 164px;
  }
  .demo-section {
    padding-top: 120px;
  }
  .demo-intro {
    max-width: 28ch;
    margin: 0 auto 36px;
    font-size: 18px;
  }
  .demo-controls {
    margin-bottom: 24px;
  }

  .belief-story {
    padding-block: 140px 100px;
    gap: 40px;
  }
  .history-stage::before {
    inset: -25px 0;
  }
  .questions {
    padding-block: 100px;
  }
  .question-list summary {
    padding-block: 28px;
  }
  .download-section {
    min-height: 460px;
    padding-block: 100px 120px;
  }
  .site-footer {
    padding-block: 36px 44px;
  }
}

/* The painted star texture moves on the compositor instead of being redrawn. */
@keyframes sky-arrive {
  from {
    transform: scale(1.12);
    opacity: 0.5;
  }
  to {
    transform: scale(1.02);
    opacity: 1;
  }
}
@keyframes sky-drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.025) translate3d(-3px, 2px, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  #page-galaxy {
    animation: none;
    transform: none;
    will-change: auto;
  }
  .thought-float {
    will-change: auto;
  }
}

/* One free offer. The crossed-out tier is a statement, not a purchase option. */
.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 100px;
  padding-block: 100px 80px;
}
.pricing-free {
  padding: 44px 48px 48px;
  background: #0b0b0bed;
  border: 1px solid #ffffff30;
  border-radius: 16px;
  box-shadow: inset 0 1px #ffffff12;
}
.tier-label {
  color: #ededee;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.tier-price {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-block: 22px 32px;
}
.tier-price > span:first-child {
  font-size: 88px;
  line-height: 1;
  letter-spacing: -4px;
  font-weight: 500;
  color: #f3f3f4;
}
.tier-terms {
  font-size: 14px;
  line-height: 1.8;
  color: #aaa;
}
.included-features {
  list-style: none;
  display: grid;
  gap: 21px;
  margin: 0 0 36px;
  padding: 30px 0 0;
  border-top: 1px solid #ffffff18;
}
.included-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #d2d2d5;
  font-size: 15px;
  line-height: 1.55;
}
.included-features .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
  color: #aaaab1;
}
.pricing-download {
  width: 100%;
}
.pricing-pro {
  max-width: 300px;
}
.pro-mark {
  position: relative;
  display: inline-block;
  color: #77777e;
  font-size: 84px;
  line-height: 1.2;
  letter-spacing: -3px;
  margin-bottom: 32px;
}
.pro-cross-line {
  --cross-angle: -18deg;
  position: absolute;
  top: 50%;
  left: -12%;
  width: 124%;
  height: 2px;
  background: #d4d4db;
  transform: rotate(var(--cross-angle)) scaleX(1);
  transform-origin: center;
}
.pro-cross-line:last-child {
  --cross-angle: 18deg;
}
.pro-message {
  color: #dddde0;
  font-size: 23px;
  line-height: 1.55;
  letter-spacing: -0.4px;
}
.pro-detail {
  margin-top: 20px;
  color: #aaaab1;
  font-size: 15px;
  line-height: 1.7;
}
.pricing-pro.entered .pro-cross-line {
  animation: cross-pro 650ms var(--ease) 200ms both;
}
.pricing-pro.entered .pro-cross-line:last-child {
  animation-delay: 420ms;
}
@keyframes cross-pro {
  from {
    transform: rotate(var(--cross-angle)) scaleX(0);
  }
  to {
    transform: rotate(var(--cross-angle)) scaleX(1);
  }
}
@media (max-width: 900px) {
  .pricing-section {
    gap: 52px;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr);
  }
  .pricing-free {
    padding: 32px;
  }
  .tier-price {
    gap: 18px;
  }
  .tier-price > span:first-child {
    font-size: 72px;
  }
  .pro-message {
    font-size: 20px;
  }
}
@media (max-width: 700px) {
  .pricing-section {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 64px 40px;
  }
  .pricing-free {
    padding: 30px 24px;
  }
  .tier-price {
    margin-block: 24px 28px;
  }
  .included-features {
    gap: 20px;
  }
  .included-features li {
    font-size: 14px;
  }
  .pricing-pro {
    padding-inline: 24px;
    max-width: none;
  }
  .pro-mark {
    font-size: 64px;
    margin-bottom: 20px;
  }
  .pro-detail {
    margin-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-pro.entered .pro-cross-line {
    animation: none;
  }
}

/* A Mac screen stages the native notch above the destination document. */
#demo-window {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.mac-screen {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3024 / 1964;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #4a4a4e;
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 18%, #bfc0cc88 0 0.7px, transparent 1.6px),
    radial-gradient(circle at 89% 12%, #bfc0cc66 0 0.8px, transparent 1.7px),
    radial-gradient(circle at 19% 28%, #bfc0cc55 0 0.6px, transparent 1.4px),
    radial-gradient(circle at 94% 48%, #bfc0cc55 0 0.7px, transparent 1.5px),
    radial-gradient(circle at 5% 74%, #bfc0cc66 0 0.8px, transparent 1.8px),
    radial-gradient(circle at 83% 92%, #bfc0cc55 0 0.6px, transparent 1.5px),
    radial-gradient(ellipse at 50% 16%, #202020, #101010 46%, #050505 80%);
  box-shadow:
    inset 0 0 0 5px #090a0b,
    0 24px 80px #0008;
}
.mac-screen .mac-menubar {
  position: absolute;
  inset: 5px 5px auto;
  height: 30px;
  padding: 0 18px;
  background: #080808;
  color: #ddd;
  border: 0;
  z-index: 1;
}
.mac-screen .mac-menubar > div {
  gap: 18px;
}
.mac-screen .demo-content {
  position: absolute;
  inset: 0;
  display: block;
  min-height: 0;
}
.mac-screen .notch {
  top: 5px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 5;
  width: 190px;
  height: 30px;
  display: block;
  padding: 0;
  border-radius: 0 0 15px 15px;
  overflow: visible;
  color: #ddd;
  background: #000;
  box-shadow:
    0 1px 0 #ffffff24,
    0 8px 24px #0006;
  transition:
    width 180ms var(--ease),
    height 180ms var(--ease);
}
.mac-screen .notch::before,
.mac-screen .notch::after {
  display: block;
  top: 0;
  width: 12px;
  height: 12px;
}
.notch-header {
  position: relative;
  display: flex;
  align-items: center;
  height: 33px;
  padding: 0 20px;
  gap: 8px;
  white-space: nowrap;
}
.notch-header > img,
.notch-header > #notch-status,
.notch-header > .wave {
  opacity: 0;
  transition: opacity 100ms ease;
}
.notch-camera {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 7px;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #101724;
  box-shadow: inset 0 0 0 2px #080b11;
}
.notch-header .wave {
  margin-left: auto;
}
.mac-screen .spoken-pane {
  visibility: hidden;
  overflow: hidden;
  height: calc(100% - 33px);
  min-height: 0;
  padding: 12px 22px 18px;
  border: 0;
  background: transparent;
  opacity: 0;
  transition: opacity 100ms ease;
}
.mac-screen .spoken-pane blockquote {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.15px;
  color: #e4e4e6;
  max-width: none;
  min-height: 0;
  margin: 0;
}
.mac-screen .spoken-pane del {
  color: inherit;
  text-decoration: none;
  animation: none;
}
.mac-screen .speech-output {
  min-height: 0;
}
.notch-progress {
  display: none;
  height: 3px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 2px;
  background: #222;
  opacity: 0;
}
.notch-progress::after {
  content: "";
  display: block;
  width: 38%;
  height: 100%;
  background: #a9a9b1;
  transform: translateX(-100%);
}
#demo-window.phase-opening .notch {
  width: min(560px, calc(100% - 42px));
  height: 46px;
  transition-duration: 300ms;
}
#demo-window:is(
    .phase-listening,
    .phase-cleaning,
    .phase-revealing,
    .phase-delivered
  )
  .notch {
  width: min(560px, calc(100% - 42px));
  height: var(--notch-height, 112px);
  transition-duration: 260ms;
}
#demo-window:is(
    .phase-opening,
    .phase-listening,
    .phase-cleaning,
    .phase-revealing,
    .phase-delivered
  )
  .notch-header
  > :is(img, #notch-status, .wave),
#demo-window:is(
    .phase-listening,
    .phase-cleaning,
    .phase-revealing,
    .phase-delivered
  )
  .spoken-pane {
  opacity: 1;
}
#demo-window.phase-cleaning .notch-progress {
  display: block;
  opacity: 1;
}
#demo-window.phase-cleaning .notch-progress::after {
  animation: notch-cleanup 1s ease-in-out infinite;
}

@keyframes notch-cleanup {
  to {
    transform: translateX(360%);
  }
}
.app-window {
  position: absolute;
  inset: 88px 64px 38px;
  overflow: hidden;
  background: #f7f6f2;
  color: #26262a;
  border: 1px solid #ffffff45;
  border-radius: 10px;
  box-shadow: 0 16px 42px #0006;
  --app-accent: #d9b23b;
}
.app-toolbar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 16px;
  background: #e7e5e0;
  border-bottom: 1px solid #cecdc9;
}
.window-lights {
  display: flex;
  gap: 6px;
}
.window-lights i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ce6b64;
}
.window-lights i:nth-child(2) {
  background: #d7b057;
}
.window-lights i:nth-child(3) {
  background: #77aa70;
}
.scene-brand {
  font-size: 12px;
  font-weight: 600;
}
.scene-brand::after {
  content: "Notes";
}
.app-toolbar-detail {
  margin-left: auto;
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: #767575;
}
.app-workspace {
  display: flex;
  min-height: calc(100% - 44px);
}
.app-sidebar {
  width: 180px;
  flex: none;
  padding: 24px 14px;
  border-right: 1px solid #dad9d4;
  background: #eeede8;
}
.sidebar-label {
  font-size: 11px;
  font-weight: 550;
  color: #777670;
}
.sidebar-paper {
  width: 10px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.6;
}
.sidebar-lines {
  display: grid;
  gap: 16px;
  padding: 24px 10px;
}
.sidebar-lines i {
  width: 76%;
  height: 3px;
  background: #d3d1ca;
}
.sidebar-lines i:nth-child(2) {
  width: 58%;
}
.mac-screen .note-pane {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 310px;
  padding: 24px 36px;
  background: #faf9f5;
}
.mac-screen .note-toolbar {
  margin: 0 0 22px;
  font-size: 10px;
  color: #8b8880;
}
.mac-screen .note-toolbar > .icon {
  color: #777;
}
.mac-screen .note-pane p {
  display: block;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.2px;
  color: #303035;
}
.mac-screen .note-pane .scene-title {
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.65px;
  color: #222;
}
.mac-screen .note-output {
  min-height: 140px;
}
.mac-screen .note-output::before {
  display: none;
}
.mac-screen .revealed-word {
  display: block;
  white-space: normal;
  animation-duration: 450ms;
  filter: none;
}
:is(#app-context, .app-context)[data-scene="docs"] .app-window {
  --app-accent: #477ab8;
  background: #e8ecf2;
}
:is(#app-context, .app-context)[data-scene="docs"] .app-toolbar {
  background: #eef2f8;
}
:is(#app-context, .app-context)[data-scene="docs"] .scene-brand::after {
  content: "Google Docs";
  color: #416894;
}
:is(#app-context, .app-context)[data-scene="docs"] .app-sidebar {
  background: #eef2f8;
  width: 140px;
}
:is(#app-context, .app-context)[data-scene="docs"] .note-pane {
  margin: 16px 36px 0;
  background: #fff;
  border: 1px solid #d9dce2;
}
:is(#app-context, .app-context)[data-scene="journal"] .app-window {
  border-color: #b9aa94;
}
:is(#app-context, .app-context)[data-scene="journal"] .scene-brand::after {
  content: "Journal";
}
:is(#app-context, .app-context)[data-scene="journal"] .app-sidebar {
  background: #ddd1bd;
}
:is(#app-context, .app-context)[data-scene="journal"] .note-pane {
  background: #f4eddf;
}
:is(#app-context, .app-context)[data-scene="journal"] .scene-title {
  font-family: Georgia, serif;
  font-weight: 400;
}
:is(#app-context, .app-context)[data-scene="reminders"] .scene-brand::after {
  content: "Reminders";
  color: #796690;
}
:is(#app-context, .app-context)[data-scene="reminders"] .note-output {
  padding-left: 26px;
}
:is(#app-context, .app-context)[data-scene="reminders"] .note-output::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 1px solid #b1adb5;
  border-radius: 50%;
}
.mac-screen .demo-controls {
  position: absolute;
  inset: auto 0 20px;
  z-index: 6;
  justify-content: center;
  margin: 0;
}
.mac-screen .demo-picker {
  padding: 6px;
  gap: 4px;
  width: fit-content;
  border-color: #ffffff30;
  background: #161616;
  box-shadow:
    inset 0 1px 0 #ffffff0d,
    0 4px 20px #0003;
}
.mac-screen .demo-picker::before {
  top: 6px;
  bottom: 6px;
  background: #343434;
  border-color: #626262;
}
.mac-screen .sample-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 86px;
  min-height: 72px;
  padding: 5px;
  color: #c6c6cd;
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
}
.mac-screen .sample-button[aria-pressed="true"] {
  color: #fff;
}

#demo-window .demo-bottom {
  border-top: 0;
  padding: 18px 2px;
  min-height: 76px;
}
@media (max-width: 900px) {
  .mac-screen {
    height: 820px;
    aspect-ratio: auto;
  }
  .app-window {
    inset: 240px 28px 120px;
  }
  .app-sidebar {
    width: 130px;
    padding-inline: 10px;
  }
  .mac-screen .note-pane {
    padding: 22px;
  }
  .mac-screen .note-pane p {
    font-size: 18px;
  }
  .mac-screen .note-pane .scene-title {
    font-size: 22px;
  }
  :is(#app-context, .app-context)[data-scene="docs"] .note-pane {
    margin: 10px 12px 0;
  }
}
@media (max-width: 700px) {
  .mac-screen {
    height: 800px;
    border-radius: 13px;
  }
  .mac-screen .mac-menubar {
    padding-inline: 10px;
    font-size: 10px;
  }
  .mac-screen .mac-menubar > div {
    gap: 9px;
  }
  .mac-screen .mac-menubar .menu-item,
  .mac-screen .menu-right {
    display: none;
  }
  .mac-screen .notch {
    width: 120px;
    height: 27px;
  }
  #demo-window.phase-opening .notch {
    width: calc(100% - 18px);
    height: 42px;
  }
  #demo-window:is(
      .phase-listening,
      .phase-cleaning,
      .phase-revealing,
      .phase-delivered
    )
    .notch {
    width: calc(100% - 18px);
    height: var(--notch-height, 150px);
  }
  .notch-header {
    padding-inline: 12px;
    height: 33px;
    gap: 6px;
    font-size: 10px;
  }
  .notch-camera {
    left: 62%;
  }
  .mac-screen .spoken-pane {
    padding: 10px 15px 15px;
  }
  .mac-screen .spoken-pane blockquote {
    font-size: 14px;
    line-height: 1.6;
  }
  .mac-screen .speech-output {
    min-height: 0;
  }
  .app-window {
    inset: 256px 12px 118px;
  }
  .app-toolbar {
    padding: 0 10px;
    gap: 14px;
    height: 35px;
  }
  .window-lights {
    gap: 4px;
  }
  .window-lights i {
    width: 7px;
    height: 7px;
  }
  .scene-brand {
    font-size: 10px;
  }
  .app-toolbar-detail {
    font-size: 12px;
  }
  .app-toolbar-detail span {
    display: none;
  }
  .app-sidebar {
    display: none;
  }
  .mac-screen .note-pane {
    padding: 22px 18px;
    min-height: 300px;
  }
  .mac-screen .note-toolbar {
    margin-bottom: 18px;
    font-size: 9px;
  }
  .mac-screen .note-pane .scene-title {
    font-size: 20px;
    margin-bottom: 18px;
  }
  .mac-screen .note-pane p {
    font-size: 16px;
    line-height: 1.6;
  }
  :is(#app-context, .app-context)[data-scene="docs"] .note-pane {
    margin: 0;
    border: 0;
  }
  .mac-screen .demo-controls {
    inset: auto 10px 20px;
  }
  .mac-screen .demo-picker {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 4px;
    gap: 0;
    width: 100%;
  }
  .mac-screen .demo-picker::before {
    top: 4px;
    bottom: 4px;
  }
  .mac-screen .sample-button {
    width: auto;
    min-width: 0;
    min-height: 72px;
    padding: 4px 1px;
    gap: 6px;
    font-size: 10.5px;
    white-space: normal;
  }
  .mac-screen .sample-button > span:last-child {
    min-height: 24px;
    display: flex;
    align-items: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mac-screen .notch,
  .notch-header > img,
  .notch-header > #notch-status,
  .notch-header > .wave,
  .mac-screen .spoken-pane {
    transition: none;
  }
  #demo-window.phase-cleaning .notch-progress::after {
    animation: none;
    transform: translateX(80%);
  }
}

#demo-window:not(.phase-listening) .wave i {
  animation: none;
}

#demo-window:is(
    .phase-listening,
    .phase-cleaning,
    .phase-revealing,
    .phase-delivered
  )
  .spoken-pane {
  visibility: visible;
}

/* Keep speech and its destination simultaneously readable on short screens. */
@media (max-height: 600px) {
  .mac-screen {
    height: 430px;
  }
  .mac-screen .mac-menubar {
    height: 24px;
    font-size: 9px;
  }
  .mac-screen .notch {
    height: 25px;
  }
  #demo-window.phase-opening .notch {
    height: 33px;
  }
  #demo-window:is(
      .phase-listening,
      .phase-cleaning,
      .phase-revealing,
      .phase-delivered
    )
    .notch {
    height: var(--notch-height, 112px);
  }
  .notch-header {
    height: 28px;
    padding-inline: 12px;
    font-size: 10px;
  }
  .notch-header > img {
    width: 16px;
    height: 16px;
  }
  .notch-camera {
    top: 8px;
  }
  .mac-screen .spoken-pane {
    height: calc(100% - 28px);
    padding: 8px 14px;
  }
  .mac-screen .speech-output {
    min-height: 0;
  }
  .mac-screen .spoken-pane blockquote {
    font-size: 12px;
    line-height: 1.5;
  }
  .notch-progress {
    margin-top: 7px;
    height: 2px;
  }
  .app-window {
    inset: 122px 12px 38px;
  }
  .app-toolbar {
    height: 24px;
    padding-inline: 10px;
  }
  .app-toolbar-detail,
  .app-sidebar,
  .mac-screen .note-toolbar,
  .mac-screen .scene-title {
    display: none;
  }
  .app-workspace {
    min-height: calc(100% - 24px);
  }
  .mac-screen .note-pane {
    min-height: 94px;
    padding: 8px 12px;
  }
  .mac-screen .note-pane p {
    font-size: 12.5px;
    line-height: 1.45;
  }
  .mac-screen .note-output {
    min-height: 0;
  }
  :is(#app-context, .app-context)[data-scene="docs"] .note-pane {
    margin: 0;
    border: 0;
  }
  .mac-screen .demo-controls {
    bottom: 12px;
  }
  .mac-screen .sample-button {
    min-height: 56px;
    gap: 3px;
    padding-block: 2px;
  }

  .mac-screen .sample-button > span:last-child {
    min-height: 20px;
    font-size: 10px;
  }
}
#demo-window:not(.phase-listening) .notch-header .wave {
  visibility: hidden;
}
@media (max-height: 600px) {
  .mac-screen .note-pane .scene-title {
    display: none;
  }
}

/* Compact native speech panel; distinct destination windows. */
.notch-header .wave {
  margin-left: 0;
  margin-right: auto;
}
.notch-tools {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-left: auto;
  font-size: 15px;
  opacity: 0;
}
#notch-timer {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  color: #9d9da5;
}
.notch-stop {
  width: 7px;
  height: 7px;
  background: #bdbdc4;
  border-radius: 1px;
}
#demo-window:is(
    .phase-opening,
    .phase-listening,
    .phase-cleaning,
    .phase-revealing,
    .phase-delivered
  )
  .notch-tools {
  opacity: 1;
}
#demo-window:not(.phase-listening) :is(#notch-timer, .notch-stop) {
  visibility: hidden;
}
.mac-screen .spoken-pane {
  padding: 10px 18px 12px;
}
.mac-screen .spoken-pane blockquote {
  font-size: 15px;
  line-height: 1.5;
}
.notch-progress {
  margin-top: 8px;
}
#demo-window:not([data-complete="true"]) :is(#scene-title, #scene-context) {
  visibility: hidden;
}
#demo-window .app-workspace {
  height: calc(100% - 44px);
  min-height: 0;
}
.app-sidebar {
  padding: 22px 12px;
}
.sidebar-notes,
.sidebar-docs,
.sidebar-journal,
.sidebar-reminders {
  display: none;
  font-size: 11px;
}
:is(#app-context, .app-context)[data-scene="notes"] .sidebar-notes,
:is(#app-context, .app-context)[data-scene="journal"] .sidebar-journal,
:is(#app-context, .app-context)[data-scene="docs"] .sidebar-docs,
:is(#app-context, .app-context)[data-scene="reminders"] .sidebar-reminders {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}
.sidebar-notes > span,
.sidebar-docs > span {
  padding: 9px 10px;
}

.sidebar-selected {
  display: flex;
  gap: 9px;
  border-radius: 5px;
  background: #e4d7aa;
}
.browser-bar,
.docs-menu,
.mail-envelope {
  display: none;
}
.mac-screen .note-pane {
  min-height: 0;
}
:is(#app-context, .app-context)[data-scene="notes"] .app-sidebar {
  width: 170px;
}
:is(#app-context, .app-context)[data-scene="notes"] .app-toolbar-detail {
  color: #9a8031;
}
:is(#app-context, .app-context)[data-scene="notes"] .note-pane {
  padding: 28px 42px;
}
:is(#app-context, .app-context)[data-scene="journal"] .app-window {
  background: #e8e6e1;
}
:is(#app-context, .app-context)[data-scene="journal"] .app-sidebar {
  width: 190px;
  background: #eceae5;
}

:is(#app-context, .app-context)[data-scene="journal"] .note-pane {
  align-self: flex-start;
  width: calc(100% - 238px);
  flex: none;
  margin: 24px;
  padding: 30px;
  min-height: calc(100% - 48px);
  border: 1px solid #d7d1c5;
  border-radius: 10px;
  background: #fdfbf5;
}
:is(#app-context, .app-context)[data-scene="journal"] .note-toolbar {
  color: #969086;
}
:is(#app-context, .app-context)[data-scene="docs"] .browser-bar {
  height: 35px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 15px;
  background: #dee3ea;
  border-bottom: 1px solid #c9ced5;
  font-size: 12px;
}
.browser-address {
  width: 56%;
  padding: 5px 16px;
  margin-inline: auto;
  text-align: center;
  font-size: 10px;
  border-radius: 5px;
  background: #f4f6f9;
  color: #737984;
}
:is(#app-context, .app-context)[data-scene="docs"] .app-toolbar {
  height: 43px;
  border-bottom: 0;
}
:is(#app-context, .app-context)[data-scene="docs"]
  .app-toolbar
  > .window-lights {
  display: none;
}
:is(#app-context, .app-context)[data-scene="docs"] .docs-menu {
  display: flex;
  gap: 18px;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  font-size: 10px;
  background: #eef2f8;
  border-bottom: 1px solid #dce0e7;
}
:is(#app-context, .app-context)[data-scene="docs"]
  .docs-menu
  > span:nth-child(7) {
  margin-left: auto;
}
:is(#app-context, .app-context)[data-scene="docs"] .app-workspace {
  height: calc(100% - 114px);
  background: #e9edf3;
}
:is(#app-context, .app-context)[data-scene="docs"] .app-sidebar {
  width: 145px;
  background: #e9edf3;
  border: 0;
}
:is(#app-context, .app-context)[data-scene="docs"] .sidebar-selected {
  background: #d9e4f4;
}
:is(#app-context, .app-context)[data-scene="docs"] .note-pane {
  margin: 18px 32px 0 0;
  padding: 32px 40px;
  min-height: 100%;
  border-color: #d5d9df;
}
:is(#app-context, .app-context)[data-scene="reminders"] .app-sidebar {
  width: 190px;
  background: #ececf0;
}
.reminder-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 8px;
  border-radius: 6px;
  background: #f8f8fa;
  color: #82718f;
}

.reminder-filter.selected {
  background: #dbd4e3;
  margin-top: 20px;
}
:is(#app-context, .app-context)[data-scene="reminders"] .note-pane {
  padding: 32px 36px;
  background: #fff;
}
:is(#app-context, .app-context)[data-scene="reminders"] .scene-title {
  color: #817093;
  font-size: 28px;
}
:is(#app-context, .app-context)[data-scene="reminders"] .note-output {
  padding-block: 10px;
  border-bottom: 1px solid #e5e3e7;
  min-height: 50px;
}
:is(#app-context, .app-context)[data-scene="reminders"] .note-output::after {
  top: 19px;
}
:is(#app-context, .app-context)[data-scene="mail"] .scene-brand::after {
  content: "New Message";
}
:is(#app-context, .app-context)[data-scene="mail"] .app-toolbar {
  background: #e9e9ec;
}
:is(#app-context, .app-context)[data-scene="mail"] .app-sidebar,
:is(#app-context, .app-context)[data-scene="mail"] .note-toolbar {
  display: none;
}
:is(#app-context, .app-context)[data-scene="mail"] .note-pane {
  padding: 0 28px 28px;
  background: #fff;
}
:is(#app-context, .app-context)[data-scene="mail"] .mail-envelope {
  display: flex;
  gap: 16px;
  align-items: center;
  height: 49px;
  border-bottom: 1px solid #e5e5e8;
  font-size: 12px;
  color: #929299;
}
.mail-address-line {
  flex: 1;
}
:is(#app-context, .app-context)[data-scene="mail"] .scene-title {
  min-height: 49px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-block: 10px;
  border-bottom: 1px solid #e5e5e8;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}
:is(#app-context, .app-context)[data-scene="mail"] .scene-title::before {
  content: "Subject:";
  color: #929299;
  font-weight: 400;
  font-size: 12px;
}
:is(#app-context, .app-context)[data-scene="mail"]:not([data-complete="true"])
  .scene-title {
  visibility: visible;
  color: transparent;
}
:is(#app-context, .app-context)[data-scene="mail"] .note-output {
  min-height: 160px;
}

@media (max-width: 900px) {
  .app-window {
    inset: 98px 28px 38px;
  }
  :is(#app-context, .app-context)[data-scene="journal"] .app-sidebar,
  :is(#app-context, .app-context)[data-scene="reminders"] .app-sidebar {
    width: 145px;
  }
  :is(#app-context, .app-context)[data-scene="journal"] .note-pane {
    width: calc(100% - 177px);
    margin: 16px;
    padding: 24px;
    min-height: calc(100% - 32px);
  }
  :is(#app-context, .app-context)[data-scene="docs"] .note-pane {
    padding: 24px;
    margin-right: 18px;
  }
  :is(#app-context, .app-context)[data-scene="notes"] .note-pane {
    padding: 24px;
  }
}
@media (max-width: 700px) {
  .app-window {
    inset: 108px 12px 38px;
  }
  .notch-tools {
    gap: 7px;
  }
  .mac-screen .spoken-pane {
    padding: 9px 14px 10px;
  }
  .mac-screen .spoken-pane blockquote {
    font-size: 13px;
    line-height: 1.5;
  }
  #demo-window .app-workspace {
    height: calc(100% - 35px);
  }
  :is(#app-context, .app-context)[data-scene="notes"] .note-pane,
  :is(#app-context, .app-context)[data-scene="reminders"] .note-pane {
    padding: 24px 18px;
  }
  :is(#app-context, .app-context)[data-scene="journal"] .note-pane {
    width: calc(100% - 24px);
    margin: 12px;
    padding: 24px 18px;
    min-height: calc(100% - 24px);
  }
  :is(#app-context, .app-context)[data-scene="docs"] .browser-bar {
    height: 30px;
    padding-inline: 10px;
    gap: 8px;
  }
  .browser-address {
    width: 72%;
  }
  :is(#app-context, .app-context)[data-scene="docs"] .app-toolbar {
    height: 34px;
  }
  :is(#app-context, .app-context)[data-scene="docs"] .docs-menu {
    gap: 14px;
    height: 31px;
    padding-inline: 10px;
  }
  :is(#app-context, .app-context)[data-scene="docs"]
    .docs-menu
    > :nth-child(n + 5) {
    display: none;
  }
  :is(#app-context, .app-context)[data-scene="docs"] .app-workspace {
    height: calc(100% - 95px);
  }
  :is(#app-context, .app-context)[data-scene="docs"] .note-pane {
    margin: 10px 12px 0;
    padding: 24px 18px;
    min-height: 100%;
    border: 1px solid #d5d9df;
  }
  :is(#app-context, .app-context)[data-scene="mail"] .note-pane {
    padding: 0 16px 20px;
  }
  :is(#app-context, .app-context)[data-scene="mail"] .scene-title {
    min-height: 45px;
    font-size: 14px;
  }
}
@media (max-height: 600px) {
  .mac-screen {
    height: 430px;
  }
  .app-window {
    inset: 122px 12px 38px;
  }
  .mac-screen .spoken-pane {
    padding: 8px 14px;
  }
  .mac-screen .spoken-pane blockquote {
    font-size: 12px;
    line-height: 1.5;
  }
  .notch-tools {
    gap: 8px;
  }
  :is(#app-context, .app-context) .app-workspace,
  :is(#app-context, .app-context)[data-scene="docs"] .app-workspace {
    height: calc(100% - 24px);
  }
  #demo-window :is(.browser-bar, .docs-menu, .app-sidebar, .mail-envelope),
  #demo-window .note-pane .scene-title {
    display: none;
  }
  #demo-window .app-toolbar {
    height: 24px;
  }
  :is(#app-context, .app-context) .note-pane,
  :is(#app-context, .app-context):is(
      [data-scene="docs"],
      [data-scene="journal"],
      [data-scene="notes"],
      [data-scene="mail"],
      [data-scene="reminders"]
    )
    .note-pane {
    flex: 1;
    width: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
    min-height: 94px;
    padding: 8px 12px;
  }
  :is(#app-context, .app-context) .note-output,
  :is(#app-context, .app-context)[data-scene="mail"] .note-output {
    min-height: 0;
  }
  :is(#app-context, .app-context)[data-scene="reminders"] .note-output {
    padding-block: 0;
    padding-left: 22px;
  }
  :is(#app-context, .app-context)[data-scene="reminders"] .note-output::after {
    top: 4px;
  }
}

/* Text sizing follows the actual transcript; hidden speech reserves no space. */
.mac-screen .speech-output {
  display: block;
  position: relative;
  min-height: 0;
}
.mac-screen .speech-measure {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  visibility: hidden;
  pointer-events: none;
}
.mac-screen .note-pane .scene-title:empty {
  display: none;
}
.mac-screen .note-toolbar:has(#scene-context:empty) {
  display: none;
}
:is(#app-context, .app-context)[data-scene="mail"]
  .note-pane
  .scene-title:empty {
  display: flex;
}
:is(#app-context, .app-context)[data-scene="mail"] .note-output {
  min-height: 0;
}
#demo-window .note-output {
  min-height: 0;
}
@media (max-height: 600px) {
  :is(#app-context, .app-context)[data-scene="mail"]
    .note-pane
    .scene-title:empty {
    display: none;
  }
}
.mac-screen #spoken-text,
.mac-screen .speech-measure,
.mac-screen .note-output > p,
.mac-screen .revealed-word {
  white-space: pre-wrap;
}

.sidebar-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  vertical-align: -2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-height: 600px) {
  :is(#app-context, .app-context)[data-scene="docs"]
    :is(.browser-bar, .docs-menu),
  :is(#app-context, .app-context)[data-scene="mail"] .mail-envelope {
    display: none;
  }
}

@media (max-height: 600px) {
  :is(#app-context, .app-context)[data-scene="docs"] .app-toolbar {
    height: 24px;
  }
}

/* Keep full app chrome readable near the tablet breakpoint. */
@media (min-width: 901px) and (max-width: 1100px) and (min-height: 601px) {
  .mac-screen {
    min-height: 640px;
  }
}

/* App-specific chrome surrounds one shared, initially empty writing surface. */
#demo-window .scene-icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#demo-window .scene-tools {
  display: none;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  color: #68686e;
}
:is(#app-context, .app-context)[data-scene="notes"] .tools-notes,
:is(#app-context, .app-context)[data-scene="journal"] .tools-journal,
:is(#app-context, .app-context)[data-scene="reminders"] .tools-reminders,
:is(#app-context, .app-context)[data-scene="mail"] .tools-mail,
:is(#app-context, .app-context)[data-scene="messages"] .tools-messages {
  display: flex;
}
#demo-window .app-toolbar {
  height: 44px;
  font-size: 12px;
  background: #f0f0f2;
}
#demo-window .scene-brand {
  font-size: 12px;
  color: #343438;
}
#demo-window .note-pane {
  min-width: 0;
}
#demo-window .note-pane .note-output > p {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.15px;
}
#demo-window .app-sidebar {
  font-size: 12px;
  padding: 18px 10px;
}
#demo-window .sidebar-label {
  font-size: 11px;
  color: #747479;
}
#demo-window :is(.sidebar-notes, .sidebar-journal, .sidebar-docs) {
  font-size: 12px;
}
#demo-window :is(.sidebar-notes, .sidebar-journal) > span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
}
#demo-window .scene-search {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  background: #00000007;
  border-radius: 6px;
  font-size: 11px;
  color: #737378;
}
#demo-window
  :is(
    .notes-list,
    .journal-editor-header,
    .journal-editor-tools,
    .reminders-list-header,
    .messages-contact-header,
    .messages-conversation,
    .sidebar-messages,
    .docs-document-name,
    .docs-share,
    .docs-format
  ) {
  display: none;
}
#demo-window .app-workspace {
  height: calc(100% - 44px);
}
#demo-window .note-toolbar,
#demo-window .note-pane .scene-title:empty {
  display: none;
}
:is(#app-context, .app-context)[data-scene="notes"] .app-sidebar {
  width: 145px;
  background: #ecebed;
}
:is(#app-context, .app-context)[data-scene="notes"] .notes-list {
  display: block;
  width: 170px;
  flex: none;
  padding: 13px 10px;
  background: #f7f7f8;
  border-right: 1px solid #d9d9dc;
}
#demo-window .notes-list-date {
  display: block;
  color: #65656a;
  font-size: 11px;
  margin: 18px 8px 8px;
}
#demo-window .notes-list-selection {
  padding: 12px 9px;
  border-radius: 6px;
  background: #f0e3ae;
  font-size: 12px;
}
#demo-window .notes-list-selection strong {
  display: block;
  font-weight: 600;
}
:is(#app-context, .app-context)[data-scene="notes"] .note-pane {
  background: #fff;
  padding: 26px 28px;
}
:is(#app-context, .app-context)[data-scene="journal"] .app-window {
  background: #f4f3f5;
  border-color: #c9c7ce;
}
:is(#app-context, .app-context)[data-scene="journal"] .app-sidebar {
  width: 165px;
  background: #eeedf1;
}
#demo-window .journal-book-mark {
  flex-direction: column;
  align-items: flex-start !important;
  gap: 8px;
  margin-bottom: 18px;
  font-weight: 600;
}
:is(#app-context, .app-context)[data-scene="journal"] .sidebar-selected {
  background: #ded9e9;
}
:is(#app-context, .app-context)[data-scene="journal"] .note-pane {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  flex: 1;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 20px 26px;
  border: 0;
  border-radius: 0;
  background: #fff;
}
:is(#app-context, .app-context)[data-scene="journal"] .journal-editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #77717f;
  padding-bottom: 20px;
}
:is(#app-context, .app-context)[data-scene="journal"] .journal-editor-tools {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 18px;
  color: #77717f;
}
#demo-window .journal-editor-tools span {
  margin-left: auto;
  font-size: 12px;
}
:is(#app-context, .app-context)[data-scene="docs"] .app-toolbar {
  height: 38px;
  padding-inline: 15px;
  gap: 10px;
}
:is(#app-context, .app-context)[data-scene="docs"] .scene-brand {
  display: none;
}
:is(#app-context, .app-context)[data-scene="docs"] .docs-document-name {
  display: block;
  font-size: 16px;
  color: #414449;
}
:is(#app-context, .app-context)[data-scene="docs"] .docs-share {
  display: block;
  margin-left: auto;
  padding: 5px 13px;
  border-radius: 15px;
  background: #c2e7ff;
  color: #164063;
  font-size: 11px;
}
:is(#app-context, .app-context)[data-scene="docs"] .docs-menu {
  height: 25px;
  gap: 18px;
  padding-inline: 15px;
  font-size: 11px;
  border: 0;
}
:is(#app-context, .app-context)[data-scene="docs"]
  .docs-menu
  > span:nth-child(7) {
  margin-left: 0;
}
:is(#app-context, .app-context)[data-scene="docs"] .docs-format {
  display: flex;
  height: 34px;
  margin: 0 8px 5px;
  padding: 0 12px;
  gap: 15px;
  align-items: center;
  background: #e0e6ef;
  border-radius: 6px;
  color: #41474e;
  font-size: 11px;
}
#demo-window .docs-format i:empty {
  height: 16px;
  border-left: 1px solid #c4cbd4;
}
#demo-window .format-size {
  border: 1px solid #bbc2cc;
  padding: 1px 6px;
  background: #f7f9fc;
}
:is(#app-context, .app-context)[data-scene="docs"] .app-workspace {
  height: calc(100% - 137px);
  padding-top: 12px;
  background: #f0f3f7;
}
:is(#app-context, .app-context)[data-scene="docs"] .app-sidebar {
  width: 125px;
  background: transparent;
  padding-top: 7px;
}
:is(#app-context, .app-context)[data-scene="docs"] .sidebar-docs {
  margin-top: 14px;
}
:is(#app-context, .app-context)[data-scene="docs"] .note-pane {
  flex: 1;
  margin: 0 18px 0 0;
  padding: 54px 64px;
  min-height: 100%;
  border: 1px solid #d6dbe2;
  background: #fff;
}
:is(#app-context, .app-context)[data-scene="reminders"] .app-sidebar {
  width: 190px;
  background: #f0eff3;
}
:is(#app-context, .app-context)[data-scene="reminders"] .sidebar-reminders {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 12px;
}
#demo-window .reminder-filter {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 9px;
  color: #63666f;
  font-size: 10px;
  background: #fff;
}
#demo-window .reminder-filter .scene-icon {
  color: #4d89e7;
}
#demo-window .reminder-filter:nth-child(2) .scene-icon {
  color: #de5f5b;
}
#demo-window .reminder-filter.selected {
  grid-column: 1/-1;
  flex-direction: row;
  align-items: center;
  margin-top: 14px;
  background: #dfdcee;
}
:is(#app-context, .app-context)[data-scene="reminders"] .note-pane {
  padding: 24px 25px;
}
:is(#app-context, .app-context)[data-scene="reminders"] .reminders-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #72609a;
  font-size: 24px;
  font-weight: 650;
  margin-bottom: 18px;
}
:is(#app-context, .app-context)[data-scene="reminders"] .note-output {
  padding-block: 9px;
  min-height: 0;
}
:is(#app-context, .app-context)[data-scene="reminders"] .note-output::after {
  top: 16px;
  width: 14px;
  height: 14px;
}
:is(#app-context, .app-context)[data-scene="mail"] .note-pane {
  padding: 0 22px 20px;
  background: #fff;
}
:is(#app-context, .app-context)[data-scene="mail"] .mail-envelope {
  display: block;
  height: auto;
  border: 0;
  margin-bottom: 19px;
  color: #737379;
  font-size: 12px;
}
#demo-window .mail-envelope > div {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 35px;
  border-bottom: 1px solid #e5e5e8;
}
:is(#app-context, .app-context)[data-scene="mail"]
  .note-pane
  .scene-title:empty {
  display: none;
}
:is(#app-context, .app-context)[data-scene="messages"] .scene-brand::after {
  content: "Messages";
}
:is(#app-context, .app-context)[data-scene="messages"] .app-sidebar {
  display: block;
  width: 180px;
  background: #efeff2;
}
:is(#app-context, .app-context)[data-scene="messages"] .sidebar-label {
  display: none;
}
:is(#app-context, .app-context)[data-scene="messages"] .sidebar-messages {
  display: block;
}
#demo-window .contact-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d1d3db;
  color: #fff;
  flex: none;
}
#demo-window .conversation-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  border-radius: 7px;
  margin-top: 16px;
  background: #dadfe8;
  font-size: 13px;
}
:is(#app-context, .app-context)[data-scene="messages"] .note-pane {
  display: flex;
  flex-direction: column;
  padding: 0 18px 18px;
  min-height: 0;
  background: #fff;
}
:is(#app-context, .app-context)[data-scene="messages"]
  .messages-contact-header {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 57px;
  border-bottom: 1px solid #e9e9ed;
  color: #505057;
  font-size: 13px;
}
:is(#app-context, .app-context)[data-scene="messages"] .messages-conversation {
  display: block;
  flex: 1;
  min-height: 12px;
}
:is(#app-context, .app-context)[data-scene="messages"] .note-output {
  padding: 9px 13px;
  border: 1px solid #d5d5dc;
  border-radius: 15px;
  background: #fff;
  min-height: 0;
}
:is(#app-context, .app-context)[data-scene="messages"] .note-output > p {
  font-size: 15px;
  line-height: 1.4;
}
#demo-window .dock-app-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: none;
}
#demo-window .demo-picker {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
#demo-window .sample-button {
  width: 78px;
  min-width: 44px;
}
@media (max-width: 1100px) and (min-width: 701px) {
  :is(#app-context, .app-context)[data-scene="notes"] .app-sidebar {
    width: 115px;
  }
  :is(#app-context, .app-context)[data-scene="notes"] .notes-list {
    width: 130px;
  }
  #demo-window .note-pane .note-output > p {
    font-size: 16px;
  }
  :is(#app-context, .app-context)[data-scene="docs"] .app-sidebar {
    width: 100px;
  }
  :is(#app-context, .app-context)[data-scene="docs"] .note-pane {
    padding: 36px 40px;
  }
}
@media (max-width: 700px) {
  #demo-window .scene-tools {
    gap: 13px;
  }
  #demo-window .scene-tools > .scene-icon:nth-child(-n + 2) {
    display: none;
  }
  #demo-window .app-toolbar {
    height: 35px;
  }
  #demo-window .app-workspace {
    height: calc(100% - 35px);
  }
  #demo-window :is(.notes-list, .app-sidebar) {
    display: none !important;
  }
  #demo-window .note-pane .note-output > p {
    font-size: 15px;
    line-height: 1.5;
  }
  :is(#app-context, .app-context)[data-scene="notes"] .note-pane {
    padding: 20px 18px;
  }
  :is(#app-context, .app-context)[data-scene="journal"] .note-pane {
    margin: 0;
    padding: 16px;
  }
  :is(#app-context, .app-context)[data-scene="docs"] .app-toolbar {
    height: 34px;
  }
  :is(#app-context, .app-context)[data-scene="docs"] .docs-document-name {
    font-size: 12px;
  }
  :is(#app-context, .app-context)[data-scene="docs"] .docs-menu {
    height: 25px;
    gap: 14px;
  }
  :is(#app-context, .app-context)[data-scene="docs"]
    .docs-menu
    span:nth-child(n + 5) {
    display: none;
  }
  :is(#app-context, .app-context)[data-scene="docs"] .docs-format {
    height: 31px;
    gap: 12px;
    font-size: 10px;
    margin: 0 5px 5px;
    padding-inline: 8px;
  }
  #demo-window .docs-format :is(i, .scene-icon, u, em),
  #demo-window .docs-format span:nth-of-type(2) {
    display: none;
  }
  :is(#app-context, .app-context)[data-scene="docs"] .app-workspace {
    height: calc(100% - 125px);
    padding: 10px;
  }
  :is(#app-context, .app-context)[data-scene="docs"] .note-pane {
    padding: 28px 26px;
    margin: 0;
    min-height: 100%;
  }
  :is(#app-context, .app-context)[data-scene="reminders"] .note-pane {
    padding: 20px 18px;
  }
  :is(#app-context, .app-context)[data-scene="reminders"]
    .reminders-list-header {
    font-size: 21px;
  }
  :is(#app-context, .app-context)[data-scene="mail"] .note-pane {
    padding: 0 15px 15px;
  }
  :is(#app-context, .app-context)[data-scene="messages"] .note-pane {
    padding: 0 12px 14px;
  }
  #demo-window .sample-button {
    width: auto;
    min-width: 44px;
    font-size: 9px;
    padding-inline: 0;
  }
  #demo-window .dock-app-icon {
    width: 29px;
    height: 29px;
  }
}
@media (max-width: 360px) {
  #demo-window .demo-controls {
    left: 2px;
    right: 2px;
  }
}
@media (max-height: 600px) {
  :is(#app-context, .app-context) .app-toolbar,
  :is(#app-context, .app-context)[data-scene="docs"] .app-toolbar {
    height: 24px;
  }
  #demo-window .scene-tools {
    gap: 12px;
  }
  #demo-window .scene-tools .scene-icon {
    width: 14px;
    height: 14px;
  }
  #demo-window
    :is(
      .notes-list,
      .app-sidebar,
      .docs-format,
      .journal-editor-header,
      .journal-editor-tools,
      .reminders-list-header,
      .messages-contact-header
    ) {
    display: none !important;
  }
  :is(#app-context, .app-context) .app-workspace,
  :is(#app-context, .app-context)[data-scene="docs"] .app-workspace {
    height: calc(100% - 24px);
    padding: 0;
  }
  :is(#app-context, .app-context)[data-scene] .note-pane {
    padding: 8px 12px;
    margin: 0;
    border: 0;
    border-radius: 0;
    width: auto;
    min-height: 0;
    flex: 1;
  }
  #demo-window .note-pane .note-output > p {
    font-size: 12.5px;
    line-height: 1.45;
  }
  :is(#app-context, .app-context)[data-scene="mail"] .mail-envelope {
    display: none;
  }
  :is(#app-context, .app-context)[data-scene="messages"]
    .messages-conversation {
    min-height: 0;
  }
  :is(#app-context, .app-context)[data-scene="messages"] .note-output {
    padding: 7px 10px;
  }
  #demo-window .dock-app-icon {
    width: 22px;
    height: 22px;
  }
}

#demo-window .notes-list-selection strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#demo-window :is(.messages-add, .messages-send) {
  display: none;
  pointer-events: none;
}
:is(#app-context, .app-context)[data-scene="messages"] .note-output {
  margin-left: 30px;
  padding-right: 38px;
}
:is(#app-context, .app-context)[data-scene="messages"] .messages-add {
  display: grid;
  place-items: center;
  position: absolute;
  left: -31px;
  bottom: 7px;
  width: 24px;
  height: 24px;
  color: #73737c;
}
:is(#app-context, .app-context)[data-scene="messages"] .messages-send {
  display: grid;
  visibility: hidden;
  place-items: center;
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1687f8;
  color: white;
}
:is(#app-context, .app-context)[data-scene="messages"]:is(
    [data-complete="true"],
    .phase-revealing
  )
  .messages-send {
  visibility: visible;
}
@media (max-width: 700px) {
  :is(#app-context, .app-context)[data-scene="messages"]
    .tools-messages
    > .scene-icon {
    display: block;
  }
}

/* Window material continues behind the dock; useful bottom content stays above it. */
:is(#app-context, .app-context)[data-scene="messages"] .note-pane,
:is(#app-context, .app-context)[data-scene="journal"] .note-pane {
  padding-bottom: 112px;
}
@media (max-width: 700px) and (min-height: 601px) {
  :is(#app-context, .app-context)[data-scene="messages"] .note-pane {
    padding-bottom: max(112px, calc(850px - 100svh));
  }
}
@media (max-height: 600px) {
  :is(#app-context, .app-context)[data-scene="messages"] .note-pane {
    padding-bottom: 84px;
  }
  :is(#app-context, .app-context)[data-scene="journal"] .note-pane {
    padding-bottom: 8px;
  }
}

/* Insertion point belongs to the writing area, even before dictation starts. */
#demo-window
  :is(
    #cleaned-text:not(:has(.revealed-word)),
    #cleaned-text > .revealed-word
  )::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 1.05em;
  margin-right: -1.5px;
  border-left: 1.5px solid #2879df;
  vertical-align: -0.16em;
  animation: insertion-caret 1.1s step-end infinite;
  pointer-events: none;
}
@keyframes insertion-caret {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
#demo-window.motion-observed:not(.is-in-view)
  :is(
    #cleaned-text:not(:has(.revealed-word)),
    #cleaned-text > .revealed-word
  )::after,
.page-paused
  #demo-window
  :is(
    #cleaned-text:not(:has(.revealed-word)),
    #cleaned-text > .revealed-word
  )::after {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  #demo-window
    :is(
      #cleaned-text:not(:has(.revealed-word)),
      #cleaned-text > .revealed-word
    )::after {
    animation: none;
  }
}
@media (max-height: 600px) {
  :is(#app-context, .app-context)[data-scene="docs"] .note-pane {
    padding: 14px 22px;
  }
}

/* Messages follows the light, centered-contact macOS conversation layout. */
:is(#app-context, .app-context)[data-scene="messages"] .app-window {
  border-radius: 17px;
  background: #fff;
}
:is(#app-context, .app-context)[data-scene="messages"] .app-toolbar {
  background: #fafafa;
  border-bottom: 0;
}
:is(#app-context, .app-context)[data-scene="messages"] .scene-brand {
  display: none;
}
:is(#app-context, .app-context)[data-scene="messages"] .app-sidebar {
  background: #f7f7f8;
  border-right: 1px solid #efeff1;
  padding-top: 7px;
}
:is(#app-context, .app-context)[data-scene="messages"] .scene-search {
  border-radius: 16px;
  background: #ededee;
  padding: 8px 10px;
}
:is(#app-context, .app-context)[data-scene="messages"] .conversation-contact {
  margin-top: 9px;
  padding: 10px 8px;
  background: #0785fa;
  color: #fff;
}
#demo-window .conversation-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
#demo-window .conversation-label strong {
  font-weight: 600;
}
#demo-window .conversation-label > span {
  font-size: 11px;
  opacity: 0.85;
}
:is(#app-context, .app-context)[data-scene="messages"] .contact-avatar {
  background: linear-gradient(#b7cde6, #8c9fd0);
  color: #fff;
}
:is(#app-context, .app-context)[data-scene="messages"] .contact-avatar svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  stroke-width: 0;
}
:is(#app-context, .app-context)[data-scene="messages"]
  .messages-contact-header {
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-height: 72px;
  padding: 2px 0 10px;
  border-bottom: 0;
}
#demo-window .messages-contact-name {
  font-size: 12px;
  font-weight: 600;
  color: #252528;
}
#demo-window .contact-chevron {
  color: #a0a0a5;
  margin-left: 2px;
}
:is(#app-context, .app-context)[data-scene="messages"] .note-output {
  padding-top: 6px;
  padding-bottom: 6px;
  border-color: #e2e2e5;
  border-radius: 19px;
  box-shadow: 0 2px 12px #00000003;
}
:is(#app-context, .app-context)[data-scene="messages"] .note-measure {
  display: none;
}
:is(#app-context, .app-context)[data-scene="messages"] .messages-add {
  background: #fff;
  border-radius: 50%;
  color: #414146;
  bottom: 5px;
}
:is(#app-context, .app-context)[data-scene="messages"] .messages-send {
  bottom: 5px;
}

/* Separate scene contexts preserve the outgoing app during a concurrent slide. */
.app-context {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.app-context > .app-window {
  pointer-events: auto;
}
.app-context-ghost {
  pointer-events: none;
}
.app-context-ghost > .app-window {
  pointer-events: none;
}
.app-context-ghost * {
  animation: none !important;
}
#demo-window.phase-revealing
  #app-context[data-scene="messages"]
  .messages-send {
  visibility: visible;
}
