/* Thai glyphs only (Google Fonts' thai subset range); Latin falls through to the system font. */
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
  src: url("/assets/thai-400.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
  src: url("/assets/thai-500.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
  src: url("/assets/thai-600.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
  src: url("/assets/thai-700.ttf") format("truetype");
}
:root {
  color-scheme: light;
  --surface: #fff;
  --surface-subtle: #f8f8f7;
  --ink: #202020;
  --ink-secondary: #666661;
  --line: #e7e7e4;
  --coral: #ac513e;
  --plum: #201426;
  --focus: #4b6f9f;
  /* Keep "Noto Sans Thai" first. WebKit (Safari, every iPhone browser) expands
     -apple-system into the whole system cascade, which already covers Thai with
     Thonburi, so a web font listed after it never gets Thai text. */
  --font:
    "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
img {
  max-width: 100%;
}
.wrap {
  width: min(1184px, calc(100% - 64px));
  margin-inline: auto;
}
.site-header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 24px;
  letter-spacing: -1px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
}
.brand-period {
  margin-left: -9px;
  color: var(--coral);
}
.site-header nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--ink-secondary);
}
.site-header nav a:hover,
.text-link:hover {
  color: var(--coral);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 15px 24px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #3b303b;
  transform: translateY(-2px);
}
.button-small {
  font-size: 14px;
  padding: 11px 16px;
  gap: 15px;
}
.hero {
  text-align: center;
  padding-top: 68px;
  padding-bottom: 45px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero .eyebrow {
  justify-content: center;
}
.mini-bars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 19px;
}
.mini-bars i {
  display: block;
  width: 3px;
  height: 10px;
  border-radius: 3px;
  background: currentColor;
}
.mini-bars i:nth-child(2) {
  height: 18px;
}
.mini-bars i:nth-child(3) {
  height: 13px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(42px, 5.35vw, 72px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.045em;
  margin-bottom: 17px;
}
.heading-accent {
  color: var(--coral);
}
.hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-secondary);
  margin-bottom: 27px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.release-note {
  font-size: 12px;
  margin: 17px 0 0;
  color: var(--ink-secondary);
}
.demo-section {
  scroll-margin-top: 24px;
}
.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 3px;
  gap: 16px;
}
.demo-label {
  font-size: 14px;
  color: var(--ink-secondary);
}
.demo-tabs {
  display: flex;
  border: 1px solid var(--line);
  background: var(--surface-subtle);
  padding: 4px;
  border-radius: 9px;
  gap: 3px;
}
.demo-tabs button {
  padding: 8px 17px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 14px;
  color: var(--ink-secondary);
  transition:
    color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.demo-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 5px #00000012;
}
.demo-tabs button:hover {
  color: var(--ink);
}
.demo-stage {
  border-radius: 14px;
  background: var(--plum) url("/assets/voice-banner.png") center/cover;
  position: relative;
  padding: 26px 45px 24px;
  overflow: hidden;
}
.demo-stage-heading {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: #f1e8f3;
  font-size: 12px;
  letter-spacing: 0.16em;
  margin-bottom: 27px;
}
.demo-stage-heading span:last-child {
  font-size: 12px;
  letter-spacing: 0;
}
.demo-workspace {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.context-card {
  padding: 23px;
  background: #fffffff0;
  border: 1px solid #ffffff8c;
  border-radius: 11px;
  box-shadow: 0 10px 30px #0d041024;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.context-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
}
.context-subtitle {
  font-size: 12px;
  color: var(--ink-secondary);
  margin: 4px 0 19px 33px;
}
.source-document {
  background: #f4f3f1;
  border: 1px solid #e4e2e0;
  border-radius: 6px;
  padding: 13px 12px;
}
.source-label {
  font-size: 12px;
  font-weight: 500;
  display: flex;
  gap: 8px;
  align-items: center;
}
.source-label > span:first-child {
  font-size: 18px;
  line-height: 1;
}
.source-document p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-secondary);
  margin: 10px 0 0;
  white-space: pre-line;
}
.context-caption {
  font-size: 12px;
  color: var(--ink-secondary);
  margin: 16px 0 8px;
}
.context-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 58px;
  align-content: flex-start;
}
.context-terms span {
  font-size: 12px;
  line-height: 1.6;
  padding: 4px 8px;
  border: 1px solid #dcd3df;
  border-radius: 5px;
  color: #5c4567;
  background: #f3eff5;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.context-toggle {
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid #dedbdc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}
.context-toggle button {
  width: 36px;
  height: 22px;
  flex-shrink: 0;
  border: 0;
  padding: 3px;
  border-radius: 20px;
  background: #56425e;
  transition: background 0.2s;
  position: relative;
}
.context-toggle button::after {
  content: "";
  position: absolute;
  inset: -10px -4px;
}
.context-toggle button span {
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(14px);
  transition: transform 0.2s;
}
.context-toggle button[aria-checked="false"] {
  background: #878483;
}
.context-toggle button[aria-checked="false"] span {
  transform: translateX(0);
}
.context-off .source-document,
.context-off .context-terms,
.context-off .context-caption {
  opacity: 0.45;
}
.writing-card {
  background: #fff;
  border: 1px solid #ffffffb3;
  border-radius: 11px;
  box-shadow: 0 20px 55px #160d2240;
  min-width: 0;
  overflow: hidden;
}
.writing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 17px 23px;
  font-size: 14px;
}
.writing-header > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-symbol {
  width: 25px;
  height: 25px;
  border: 1px solid #e3e1df;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 650;
  font-size: 18px;
}
.draft-label {
  font-size: 12px;
  color: var(--ink-secondary);
}
.spoken-block {
  padding: 21px 25px 18px;
}
.field-label {
  font-size: 12px;
  color: var(--ink-secondary);
}
.spoken-block p {
  font-size: 17px;
  line-height: 1.85;
  color: #75716e;
  margin: 8px 0 0;
  min-height: 64px;
}
.output-block {
  margin: 0 12px 12px;
  padding: 18px 13px 21px;
  border-radius: 7px;
  background: #f7f7f5;
  min-height: 151px;
}
.output-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: #665273;
}
.output-label .mini-bars {
  transform: scale(0.75);
  transform-origin: left center;
  width: 16px;
}
#output-text {
  font-size: 19px;
  line-height: 1.85;
  font-weight: 500;
  margin: 9px 0 0;
  min-height: 71px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
mark {
  background: #eee5f1;
  color: #503658;
  border-radius: 3px;
  padding: 1px 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.writing-footer {
  padding: 0 25px 19px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-secondary);
}
.review-note {
  color: #686862;
}
.playback-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(580px, 100%);
  margin: 24px auto 0;
  background: #1d1427ed;
  border: 1px solid #ffffff29;
  border-radius: 100px;
  padding: 10px 12px 10px 19px;
  color: #f5edf8;
  gap: 12px;
  min-height: 54px;
}
.playback-status {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
}
.waveform {
  height: 22px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.waveform i {
  display: block;
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: #dcb8df;
  transform-origin: center;
}
.waveform i:nth-child(3n) {
  height: 19px;
}
.waveform i:nth-child(2n) {
  height: 13px;
}
.playback-bar button {
  border: 1px solid #ffffff38;
  border-radius: 50px;
  background: #ffffff0a;
  color: #fff;
  padding: 6px 12px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  min-height: 34px;
}
.playback-bar button:hover {
  background: #ffffff20;
}
.demo-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #ffffff12;
}
.demo-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: #e7bbd9;
  transform-origin: left;
  transform: scaleX(0);
}
[data-phase="speaking"] .waveform i {
  animation: wave 0.6s ease-in-out infinite alternate;
}
[data-phase="speaking"] .waveform i:nth-child(2n) {
  animation-delay: -0.4s;
}
[data-phase="speaking"] .waveform i:nth-child(3n) {
  animation-delay: -0.2s;
}
[data-paused="true"] .waveform i,
[data-paused="true"] #output-text::after {
  animation-play-state: paused;
}
[data-phase="writing"] #output-text::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #695471;
  vertical-align: -2px;
  margin-left: 3px;
  animation: blink 0.7s steps(1) infinite;
}
.demo-disclaimer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  line-height: 1.6;
  font-size: 12px;
  color: var(--ink-secondary);
  margin: 15px 0 0;
}
.app-strip {
  text-align: center;
  padding: 76px 0 68px;
  border-bottom: 1px solid var(--line);
}
.app-strip h2 {
  font-size: clamp(25px, 3vw, 38px);
  margin: 0 0 40px;
}
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.use-case-grid li {
  min-width: 0;
}
.use-case-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.use-case-grid span {
  display: block;
  margin-top: 15px;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -0.035em;
}
.compatibility-note {
  font-size: 12px;
  color: var(--ink-secondary);
  margin: 32px 0 0;
}
.section-space {
  padding-block: 96px;
}
h2 {
  font-size: clamp(29px, 3.2vw, 43px);
  line-height: 1.5;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 23px;
}
.muted-heading {
  color: #85837f;
}
.section-intro > p:last-child {
  font-size: 16px;
  color: var(--ink-secondary);
  line-height: 1.95;
  margin-bottom: 0;
}
.context-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.context-story {
  padding: 36px;
  background: #f7f6f4;
  border-radius: 10px;
}
.story-source {
  display: flex;
  gap: 15px;
  align-items: center;
  background: white;
  border: 1px solid #e6e3df;
  border-radius: 7px;
  padding: 18px;
}
.document-icon {
  width: 37px;
  height: 44px;
  border: 1px solid #d9d6d1;
  background: #f8f8f6;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
  color: #8c8984;
}
.story-source p {
  margin: 4px 0 0;
  font-size: 14px;
}
.story-source strong {
  font-weight: 500;
}
.story-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #88827d;
  font-size: 12px;
  gap: 6px;
  margin: 7px;
}
.story-connector span:first-child {
  height: 16px;
  width: 1px;
  background: #c8c0ba;
}
.story-memory {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid #ded2e1;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 6px 22px #46244e09;
}
.story-memory p {
  margin: 0 0 2px;
  font-size: 13px;
}
.story-memory div > span {
  font-size: 20px;
  font-weight: 500;
  color: #6a4870;
}
.memory-check {
  margin-left: auto;
  font-size: 14px;
  color: #72597c;
}
.story-footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #78716c;
  margin-top: 20px;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 90px;
}
.benefits article {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  min-width: 0;
}
.benefit-number {
  font-size: 12px;
  color: var(--ink-secondary);
  letter-spacing: 0.025em;
}
.benefits h3,
.steps h3 {
  font-size: 23px;
  line-height: 1.6;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 17px 0 10px;
}
.benefits p,
.steps p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.85;
  margin-bottom: 25px;
}
.inline-example {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  min-height: 52px;
}
.inline-example > span:first-child {
  color: #817c76;
  text-decoration: line-through;
}
.inline-example strong {
  font-weight: 500;
}
.inline-example .small-check {
  margin-left: auto;
}
.how-section {
  background: var(--surface-subtle);
  border-block: 1px solid var(--line);
}
.how-heading {
  text-align: center;
}
.how-heading .eyebrow {
  justify-content: center;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 53px;
}
.steps article {
  padding-left: 20px;
  border-left: 1px solid #d5d1cd;
}
.step-index {
  font-size: 13px;
  color: #897c72;
}
.steps h3 {
  margin-top: 22px;
}
.steps p {
  margin-bottom: 0;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 70px;
}
.faq-section .eyebrow {
  margin-bottom: 15px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 36px;
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
  padding: 22px 0;
}
summary::-webkit-details-marker {
  display: none;
}
summary > span {
  font-size: 22px;
  color: #807c77;
  font-weight: 400;
  transition: transform 0.2s;
}
details[open] summary > span {
  transform: rotate(45deg);
}
details p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.9;
  margin: 0 36px 25px 0;
}
.download-section {
  padding-bottom: 50px;
}
.download-panel {
  border-radius: 13px;
  background: var(--plum) url("/assets/voice-banner.png") center/cover;
  padding: 65px 60px;
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.download-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #1d122ae8, #21132960 68%, #21132920);
}
.download-panel .eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #e8d8ed;
  margin-bottom: 21px;
}
.download-panel h2 {
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.45;
  margin-bottom: 14px;
}
.download-panel > p:not(.eyebrow) {
  color: #e8d8ed;
  font-size: 15px;
}
.release-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #f3e8f047;
  background: #fff;
  color: #29202d;
  border-radius: 7px;
  padding: 14px 17px;
  margin-top: 12px;
  font-size: 14px;
}
.soon-label {
  font-size: 12px;
  background: #f0e9f2;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 9px;
}
.download-panel .download-note {
  font-size: 12px !important;
  margin: 14px 0 0;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px 36px;
}
.site-footer .brand {
  font-size: 21px;
}
.site-footer > span {
  font-size: 12px;
  color: var(--ink-secondary);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.noscript-note {
  font-size: 14px;
  background: #f7f6f4;
  padding: 15px;
  border-radius: 6px;
}
@keyframes wave {
  from {
    transform: scaleY(0.45);
  }
  to {
    transform: scaleY(1.25);
  }
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@media (min-width: 1440px) {
  .hero {
    padding-top: 82px;
    padding-bottom: 55px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .site-header nav {
    gap: 18px;
  }
  .site-header nav a:last-child {
    display: none;
  }
  .hero {
    padding-top: 54px;
  }
  .demo-stage {
    padding: 23px;
  }
  .demo-workspace {
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 17px;
  }
  .context-card {
    padding: 17px;
  }
  .spoken-block {
    padding: 18px;
  }
  .spoken-block p {
    font-size: 16px;
  }
  .output-block {
    padding: 16px 10px;
  }
  #output-text {
    font-size: 17px;
  }
  .writing-footer {
    padding-inline: 18px;
  }
  .use-case-grid {
    gap: 12px;
  }
  .context-section {
    gap: 40px;
  }
  .context-story {
    padding: 22px;
  }
  .benefits {
    gap: 25px;
  }
  .benefits h3,
  .steps h3 {
    font-size: 20px;
  }
  .section-space {
    padding-block: 75px;
  }
  .faq-section {
    gap: 40px;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 77px;
    gap: 14px;
  }
  .site-header nav {
    display: none;
  }
  .brand {
    font-size: 23px;
  }
  .site-header .button-small {
    font-size: 12px;
    padding: 10px 12px;
    gap: 10px;
  }
  .hero {
    padding-top: 47px;
    padding-bottom: 34px;
  }
  .hero .eyebrow {
    font-size: 12px;
    margin-bottom: 20px;
  }
  h1 {
    font-size: clamp(33px, 6.8vw, 48px);
    line-height: 1.48;
    letter-spacing: -0.045em;
    margin-bottom: 16px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-actions {
    gap: 21px;
  }
  .hero-actions .button {
    font-size: 14px;
    gap: 17px;
    padding: 13px 17px;
  }
  .hero-actions .text-link {
    font-size: 13px;
    gap: 10px;
  }
  .release-note {
    font-size: 12px;
  }
  .demo-toolbar {
    flex-direction: column;
    gap: 11px;
  }
  .demo-label {
    font-size: 12px;
  }
  .demo-tabs {
    width: 100%;
  }
  .demo-tabs button {
    flex: 1;
    padding: 8px 9px;
    font-size: 13px;
  }
  .demo-stage {
    padding: 18px 14px 17px;
    border-radius: 10px;
  }
  .demo-stage-heading {
    font-size: 12px;
    margin-bottom: 17px;
    letter-spacing: 0.13em;
  }
  .demo-stage-heading span:last-child {
    font-size: 12px;
  }
  .demo-workspace {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .context-card {
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 12px;
    align-items: center;
  }
  .context-heading {
    font-size: 13px;
  }
  .context-heading img {
    width: 21px;
    height: 21px;
  }
  .context-subtitle {
    grid-row: 2;
    grid-column: 1;
    margin: 2px 0 0 30px;
    font-size: 12px;
  }
  .context-toggle {
    grid-column: 2;
    grid-row: 1/3;
    border: 0;
    margin: 0;
    padding: 0;
    flex-direction: column;
    font-size: 12px;
    gap: 5px;
  }
  .source-document {
    grid-column: 1/-1;
    margin-top: 13px;
    padding: 9px 11px;
    display: flex;
    gap: 14px;
    align-items: center;
  }
  .source-label {
    font-size: 12px;
    flex-basis: 35%;
    flex-shrink: 0;
    line-height: 1.7;
  }
  .source-document p {
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
  }
  .context-caption {
    display: none;
  }
  .context-terms {
    grid-column: 1/-1;
    margin-top: 11px;
    min-height: 0;
    gap: 5px;
  }
  .context-terms span {
    font-size: 12px;
    padding: 3px 7px;
  }
  .writing-header {
    padding: 13px 17px;
    font-size: 13px;
  }
  .spoken-block {
    padding: 16px 18px 15px;
  }
  .spoken-block p {
    font-size: 15px;
    min-height: 108px;
    line-height: 1.8;
  }
  .output-block {
    padding: 14px 10px;
    min-height: 143px;
    margin: 0 8px 11px;
  }
  #output-text {
    font-size: 17px;
    min-height: 120px;
    line-height: 1.9;
  }
  .writing-footer {
    padding: 0 18px 14px;
    font-size: 12px;
    gap: 6px;
  }
  .playback-bar {
    padding: 8px 9px 8px 13px;
    gap: 7px;
    margin-top: 15px;
    min-height: 49px;
  }
  .playback-status {
    font-size: 12px;
    gap: 8px;
  }
  .waveform {
    gap: 2px;
  }
  .waveform i {
    width: 2px;
  }
  .playback-bar button {
    font-size: 12px;
    padding: 5px 10px;
  }
  .demo-disclaimer {
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    margin-top: 12px;
    text-align: center;
  }
  .app-strip {
    padding: 52px 0 48px;
  }
  .use-case-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 26px 12px;
  }
  .use-case-grid li {
    grid-column: span 2;
  }
  .use-case-grid li:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .use-case-grid span {
    font-size: 18px;
    margin-top: 8px;
  }
  .app-strip h2 {
    font-size: clamp(24px, 5.4vw, 32px);
    margin-bottom: 26px;
  }
  .compatibility-note {
    font-size: 12px;
    max-width: 310px;
    margin: 28px auto 0;
  }
  .section-space {
    padding-block: 58px;
  }
  .eyebrow {
    font-size: 12px;
    margin-bottom: 17px;
  }
  h2 {
    font-size: 30px;
    line-height: 1.5;
    margin-bottom: 17px;
  }
  .context-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .section-intro > p:last-child {
    font-size: 15px;
  }
  .context-story {
    padding: 24px;
  }
  .benefits {
    grid-template-columns: 1fr;
    gap: 29px;
    padding-bottom: 53px;
  }
  .benefits article {
    padding-top: 19px;
  }
  .benefits h3 {
    font-size: 23px;
    margin-top: 11px;
  }
  .benefits p {
    font-size: 15px;
    margin-bottom: 18px;
  }
  .inline-example {
    font-size: 13px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 34px;
  }
  .steps article {
    position: relative;
    padding-left: 56px;
    border-left: 0;
  }
  .step-index {
    position: absolute;
    top: 4px;
    left: 3px;
    width: 34px;
    height: 34px;
    border: 1px solid #d8d4cf;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
  }
  .steps h3 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 5px;
  }
  .steps p {
    font-size: 15px;
  }
  .steps p br {
    display: none;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .faq-section h2 {
    margin: 0;
  }
  summary {
    font-size: 14px;
    padding: 20px 0;
  }
  details p {
    font-size: 14px;
    margin-right: 20px;
  }
  .download-section {
    padding-bottom: 26px;
  }
  .download-panel {
    padding: 38px 25px;
    background-position: 60% center;
  }
  .download-panel::before {
    background: #2014268c;
  }
  .download-panel h2 {
    font-size: 37px;
  }
  .release-badge {
    font-size: 12px;
    padding: 12px;
    gap: 7px;
  }
  .soon-label {
    font-size: 12px;
    margin-left: 3px;
  }
  .download-panel .download-note {
    font-size: 12px !important;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 20px;
    padding-block: 15px 25px;
  }
  .site-footer > span {
    font-size: 12px;
  }
  .site-footer > span:nth-child(2) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.demo-section button:disabled {
  cursor: default;
  opacity: 0.55;
}

/* Restored lower-page motion and permission preview. */
.reveal-pending {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.context-story.is-visible .story-source {
  animation: story-arrive 0.8s 0.12s both;
}
.context-story.is-visible .story-memory {
  animation: story-arrive 0.85s 0.4s both;
}
.context-story.is-visible .story-connector {
  animation: story-arrive 0.7s 0.28s both;
}
.demo-stage {
  transition: box-shadow 0.5s;
}
.demo-stage[data-phase="speaking"] {
  box-shadow:
    0 0 0 1px #c79bcb55,
    0 14px 54px #6f437727;
}
.scenario-enter .writing-card {
  animation: scenario-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.scenario-enter .context-card {
  animation: scenario-enter 0.5s 0.06s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.privacy-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 85px;
  border-bottom: 1px solid var(--line);
}
.privacy-copy .eyebrow {
  margin-bottom: 15px;
}
.privacy-section h2 {
  line-height: 1.5;
  margin-bottom: 22px;
}
.privacy-section p:not(.eyebrow) {
  line-height: 1.9;
}
.permission-preview {
  background: #faf9f8;
  border: 1px solid #e9e5e1;
  border-radius: 12px;
  padding: 25px;
  min-width: 0;
}
.permission-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 21px;
}
.permission-heading > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.preview-tag {
  font-size: 12px;
  color: #7d746e;
}
.permission-row {
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
  padding: 19px 0;
  border-top: 1px solid #e9e5e1;
  cursor: pointer;
}
.permission-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e5dfd9;
  background: #fff;
  color: #70636f;
  border-radius: 7px;
  font-size: 17px;
  flex-shrink: 0;
}
.permission-description {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.permission-description strong {
  font-size: 14px;
  font-weight: 500;
}
.permission-description > span {
  font-size: 12px;
  color: #837a74;
}
.permission-input {
  position: absolute;
  right: 0;
  width: 44px;
  height: 44px;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}
.permission-switch {
  margin-left: auto;
  flex-shrink: 0;
  width: 35px;
  height: 21px;
  border-radius: 20px;
  background: #d0cac6;
  padding: 3px;
  transition: background 0.25s;
}
.permission-switch::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #0002;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.permission-input:checked + .permission-switch {
  background: #65516d;
}
.permission-input:checked + .permission-switch::before {
  transform: translateX(14px);
}
.permission-input:focus-visible + .permission-switch {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
.permission-input:disabled {
  cursor: default;
}
.permission-result {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid #e9e5e1;
  font-size: 12px;
}
.permission-result > span:last-child {
  margin-left: auto;
  font-size: 12px;
  color: #8a807b;
}
.permission-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #897195;
  transition: background 0.25s;
}
.permission-preview[data-sources="0"] .permission-indicator {
  background: #bbb5b1;
}
.privacy-section p.permission-note {
  font-size: 12px;
  color: #8a807b;
  margin: 17px 0 0;
  line-height: 1.7;
}
@keyframes story-arrive {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scenario-enter {
  from {
    opacity: 0.3;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 1000px) {
  .privacy-section {
    gap: 40px;
  }
}
@media (max-width: 720px) {
  .privacy-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 29px;
  }
  .privacy-section h2 {
    font-size: 30px;
  }
  .privacy-copy p br {
    display: none;
  }
  .permission-preview {
    padding: 19px;
    width: 100%;
  }
  .permission-heading {
    gap: 8px;
    padding-bottom: 18px;
  }
  .permission-heading > div {
    font-size: 13px;
    gap: 8px;
  }
  .permission-description strong {
    font-size: 13px;
  }
  .permission-description > span {
    font-size: 12px;
  }
  .permission-row {
    gap: 10px;
    padding: 17px 0;
  }
  .permission-symbol {
    width: 31px;
    height: 34px;
    font-size: 16px;
  }
  .permission-result > span:last-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-pending {
    opacity: 1;
    transform: none;
  }
}
.privacy-section p:not(.eyebrow) {
  font-size: 16px;
  color: var(--ink-secondary);
  margin-bottom: 0;
}
.privacy-section .text-link {
  margin-top: 20px;
}
.privacy-section p.permission-note {
  font-size: 12px;
  margin: 17px 0 0;
}
@media (max-width: 720px) {
  .privacy-copy p:not(.eyebrow) {
    font-size: 15px;
  }
}
