@font-face {
  font-family: Fraunces;
  src: url('/assets/fraunces.ttf') format('truetype');
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: Readex;
  src: url('/assets/readex.ttf') format('truetype');
  font-display: swap;
  font-weight: 100 900;
}
:root {
  --forest: #293628;
  --paper: #f7f3e9;
  --ink: #293628;
  --muted: #636957;
  --amber: #e3b45c;
  --line: #d9dccd;
  --serif: Fraunces, Georgia, serif;
  --sans: Readex, Arial, sans-serif;
  color-scheme: light;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: max(108px, 6rem);
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button,
summary {
  min-width: 44px;
  min-height: 44px;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
p {
  line-height: 1.6;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 450;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
em {
  font-weight: 400;
}
svg {
  display: block;
}
button,
summary,
a,
input {
  outline-offset: 5px;
}
:focus-visible {
  outline: 2px solid #8e641e;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #e3b45c88;
}
.wrap {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.sr-only,
.honey {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -90px;
  z-index: 30;
  padding: 12px 20px;
  background: var(--amber);
  border-radius: 8px;
}
.skip-link:focus {
  top: 10px;
}
.button {
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 0.875rem;
  font-weight: 550;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button-gold {
  background: var(--amber);
  color: var(--forest);
}
.button:hover {
  background: #edc479;
  transform: translateY(-1px);
}
.text-button {
  background: none;
  border: 0;
  padding: 10px 6px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 0.75rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.625rem;
  font-weight: 550;
  line-height: 1.5;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
  gap: 8px 26px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0 calc((100% - 100vw) / 2);
  background: var(--paper);
  z-index: -1;
}
.wordmark {
  display: inline-flex;
  gap: 12px;
  align-items: baseline;
  font: 500 2.625rem/0.9 var(--serif);
  letter-spacing: -0.08em;
  min-height: 44px;
}
.wordmark span {
  font: 400 1.125rem var(--sans);
  letter-spacing: 0;
}
.site-header nav {
  margin-left: auto;
  display: flex;
  gap: 32px;
  font-size: 0.75rem;
}
.site-header nav a {
  padding-block: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}
.site-header nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.signup-panel {
  position: relative;
  scroll-margin-top: 108px;
}
.email-row {
  display: flex;
  border: 1px solid #c9cebc;
  padding: 5px;
  border-radius: 32px;
  background: #fffdf7;
  gap: 6px;
  align-items: stretch;
  flex-wrap: wrap;
}
.email-row input {
  background: transparent;
  border: 0;
  width: 0;
  min-width: 8rem;
  padding: 12px 18px;
  font-size: 0.875rem;
  color: var(--forest);
  border-radius: 100px;
  flex: 1 1 8rem;
}
.email-row input::placeholder {
  color: #676e5c;
}
.email-row input:focus-visible {
  outline: 2px solid #8e641e;
  outline-offset: -1px;
}
.email-row .button {
  padding-inline: 16px;
  font-size: 0.8125rem;
  gap: 14px;
  flex: 1 0 auto;
}
.form-note {
  font-size: 0.625rem;
  margin-top: 10px;
  color: var(--muted);
}
.form-error {
  color: #9a3929;
  font-size: 0.75rem;
  line-height: 1.5;
  margin-top: 10px;
}
.signup-result {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #eeeedd;
}
.signup-result h3 {
  font-size: 1.65rem;
  margin-bottom: 10px;
}
.signup-result p {
  font-size: 0.8rem;
  color: var(--muted);
}
.result-mark {
  float: right;
  border: 1px solid #809067;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  text-align: center;
  line-height: 26px;
}

/* The working conversation is the hero product visual. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 70px;
  align-items: center;
  padding-block: 48px 96px;
}
.hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  padding-top: 68px;
  padding-bottom: 30px;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #566443;
}
.hero .eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #758454;
}
.hero h1 {
  font-size: clamp(3.5rem, 5.4vw, 5rem);
  line-height: 1.015;
  letter-spacing: -0.06em;
  margin-block: 24px;
}
.hero h1 em {
  color: #62764c;
  position: relative;
  white-space: normal;
}
.hero-description {
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 430px;
  color: var(--muted);
}
.hero-signup {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  max-width: 540px;
}
.hero .form-note {
  margin-top: 2px;
}
.demo {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  min-width: 0;
  color: var(--forest);
}
.demo-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px 16px;
}
.demo-heading h2 {
  font-size: 1.35rem;
}
.preview-label {
  font-size: 0.5625rem;
  color: #626e52;
  display: flex;
  align-items: center;
  gap: 6px;
}
.preview-label::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  background: #72835e;
  border-radius: 50%;
}
.demo-stage {
  position: relative;
  min-height: 410px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  isolation: isolate;
}
.demo-stage::before {
  content: '';
  position: absolute;
  inset: 0 22px 23px;
  background: #e3e5cc;
  border-radius: 230px 230px 28px 28px;
  z-index: -2;
}
.demo-stage::after {
  content: '';
  position: absolute;
  inset: 18px 39px 23px;
  border: 1px solid #75835524;
  border-bottom: 0;
  border-radius: 215px 215px 0 0;
  z-index: -1;
}
.portrait-performance {
  width: 420px;
  height: 420px;
  max-width: 100%;
  position: relative;
  flex: none;
  margin: -13px -68px 0 0;
}
.portrait-performance img,
.portrait-performance canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: contain;
  display: block;
}
.portrait-performance canvas {
  visibility: hidden;
}
.portrait-performance video {
  display: none;
}
.portrait-performance[data-playing='true'] canvas {
  visibility: visible;
}
.portrait-performance[data-playing='true'] img {
  visibility: hidden;
}
.studio-phrase {
  position: absolute;
  left: -12px;
  bottom: 4px;
  width: 285px;
  min-height: 138px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 20px 20px 20px 4px;
  background: #fffdf7;
  border: 1px solid #dce0ce;
  box-shadow: 0 12px 30px -16px #34442e42;
}
.studio-arabic {
  font-size: 1.7rem;
  line-height: 1.6;
  letter-spacing: 0;
}
.studio-latin {
  font: 450 1.18rem/1.4 var(--serif);
  color: #62764c;
}
.studio-meaning {
  font-size: 0.6875rem;
  color: var(--muted);
}
.studio-phrase #reply-answer {
  font-size: 0.75rem;
  line-height: 1.6;
  max-width: 310px;
  color: var(--muted);
}
.demo-wave {
  position: absolute;
  right: 54px;
  bottom: 42px;
  height: 28px;
  display: flex;
  gap: 4px;
  align-items: center;
  color: #63764c;
}
.demo-wave i {
  display: block;
  width: 3px;
  background: currentColor;
  height: 5px;
  border-radius: 4px;
}
.demo-wave i:nth-child(3n) {
  height: 21px;
}
.demo-wave i:nth-child(2n) {
  height: 12px;
}
.demo[data-speaking='true'] .demo-wave i {
  animation: voice-wave 0.7s ease-in-out infinite alternate;
}
.demo[data-speaking='true'] .demo-wave i:nth-child(2n) {
  animation-delay: -0.3s;
}
.demo-actions {
  padding: 16px 14px 0;
  text-align: center;
}
.reply-instruction {
  font-size: 0.625rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.reply-choices {
  display: flex;
  justify-content: center;
  gap: 9px;
  padding: 10px 6px 14px;
  isolation: isolate;
}
.reply-choices button {
  --card-angle: -7deg;
  position: relative;
  min-height: 100px;
  min-width: 44px;
  flex: 1;
  max-width: 145px;
  overflow-wrap: anywhere;
  line-height: 1.3;
  border: 1px solid #a6ad9177;
  background: #f4dbab;
  border-radius: 12px;
  font-size: 0.75rem;
  padding: 15px 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow:
    0 3px 0 #b7a58140,
    0 12px 18px -13px #34442e55;
  transform: rotate(var(--card-angle));
  transition:
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.2s,
    box-shadow 0.2s;
}
.reply-choices button:nth-child(2) {
  --card-angle: 2deg;
  background: #e9d9cc;
}
.reply-choices button:nth-child(3) {
  --card-angle: 8deg;
  background: #dce2cc;
}
.reply-choices svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-corner {
  position: absolute;
  right: 9px;
  top: 6px;
  font-size: 0.6rem;
  opacity: 0.65;
}
.reply-choices button:hover,
.reply-choices button:focus-visible {
  transform: translateY(-10px) rotate(0);
  z-index: 2;
  box-shadow:
    0 4px 0 #b7a58140,
    0 18px 23px -13px #34442e55;
}
.reply-choices button[aria-pressed='true'] {
  transform: translateY(-8px) rotate(-2deg);
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}
.reply-choices button:active {
  transform: translateY(-3px) scale(0.97);
}
.demo-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  max-width: 450px;
  margin: 10px auto 0;
}
.surprise-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 14px 24px;
  border: 1px solid var(--forest);
  border-radius: 16px;
  background: var(--forest);
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: 0 3px 0 #1e2a1c;
  transition:
    background 0.2s,
    transform 0.2s;
}
.surprise-button span {
  color: var(--amber);
  font-size: 1.35em;
  line-height: 1;
}
.surprise-button:hover {
  background: #3b4d34;
}
.surprise-button:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #1e2a1c;
}
.demo-tools .text-button {
  color: var(--muted);
  font-size: 0.6875rem;
  min-height: 44px;
}
.demo-note {
  font-size: 0.6875rem;
  padding-top: 12px;
  text-align: center;
}
/* Three concise benefits, with specific visual evidence. */
.benefits {
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-block: 0 96px;
}
.benefit-visual {
  height: 212px;
  position: relative;
  margin-bottom: 25px;
  overflow: hidden;
  border-radius: 16px;
}
.benefit-world img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.visual-number {
  position: absolute;
  left: 18px;
  top: 17px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #89937766;
  border-radius: 50%;
  font-size: 0.625rem;
  color: #4e5e42;
  background: #f7f3e9d9;
  z-index: 1;
}
.benefit-language {
  background: #e9ddc5;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
}
.phrase-card {
  background: #fffdf7;
  border: 1px solid #d9d5bf;
  border-radius: 10px;
  box-shadow: 0 12px 25px -18px #463e2760;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 22px 45px;
  transform: rotate(-5deg);
}
.phrase-card span:first-child {
  font-size: 1.75rem;
  line-height: 1.5;
}
.phrase-card span:nth-child(2) {
  font: 1.1rem var(--serif);
  color: #63754a;
}
.phrase-card span:last-child {
  font-size: 0.625rem;
  color: var(--muted);
}
.phrase-spark {
  position: absolute;
  right: 40px;
  top: 30px;
  font-size: 2.5rem;
  color: #86704a;
  transform: rotate(14deg);
}
.benefit-memory {
  background: #e2e6d6;
}
.memory-loop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: #73855f;
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  pointer-events: none;
}
.benefit-memory {
  display: grid;
  place-items: center;
  padding: 30px;
}
.memory-slip {
  position: relative;
  z-index: 1;
  background: #fffdf7;
  border: 1px solid #ced3bb;
  border-radius: 3px 3px 14px 3px;
  width: 82%;
  min-height: 112px;
  padding: 20px 20px 32px;
  box-shadow: 0 15px 22px -17px #34442e66;
  transform: rotate(5deg);
}
.memory-slip::before {
  content: '';
  position: absolute;
  width: 52px;
  height: 19px;
  left: 35%;
  top: -8px;
  background: #b0bea487;
  transform: rotate(-8deg);
}
.memory-label {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.memory-phrase {
  font: 1.3rem/1.2 var(--serif);
  display: block;
  overflow-wrap: anywhere;
}
.memory-seal {
  position: absolute;
  right: 12px;
  bottom: 9px;
  width: 29px;
  height: 29px;
  border: 1px solid #7a8865;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #687755;
  font-size: 0.9rem;
}
.memory-slip[data-explored='true'] .memory-seal {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--forest);
}
.benefits h2 {
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 0 12px 12px;
}
.benefits p {
  color: var(--muted);
  font-size: 0.8125rem;
  max-width: 330px;
  margin-inline: 12px;
}
.how-section {
  background: var(--forest);
  color: var(--paper);
  padding-block: 88px;
  position: relative;
}
.how-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  column-gap: 88px;
  row-gap: 28px;
  align-items: center;
}
.how-heading {
  position: relative;
}
.how-layout > .how-listening {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.how-join {
  grid-column: 1;
  justify-self: start;
  max-width: 100%;
  white-space: normal;
}
.how-heading h2 {
  font-size: clamp(3rem, 4.4vw, 4.2rem);
  line-height: 1.05;
  margin-block: 26px 38px;
}
.how-heading em {
  color: #c6d0b7;
}
.how-heading .eyebrow {
  color: var(--amber);
}
.how-steps {
  margin-block: 0 28px;
}
.how-step {
  border-top: 1px solid #ffffff2c;
  padding-block: 17px;
}
.how-step:last-child {
  border-bottom: 1px solid #ffffff2c;
}
.how-step button {
  display: flex;
  gap: 18px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  color: var(--paper);
  min-height: 44px;
  font: 400 1.5rem var(--serif);
  letter-spacing: -0.03em;
}
.step-number {
  font: 0.6875rem var(--sans);
  color: #c4cdb9;
  letter-spacing: 0.02em;
}
.step-symbol {
  margin-left: auto;
  flex: none;
  font: 300 1.1rem var(--sans);
  color: #d4bb80;
  border: 1px solid #ced6c235;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.how-step button:hover .step-symbol,
.how-step button[aria-pressed='true'] .step-symbol {
  background: var(--amber);
  color: var(--forest);
  border-color: var(--amber);
}
.how-step p {
  font-size: 0.8125rem;
  color: #c7cfbd;
  margin: 7px 40px 0 36px;
  max-width: 360px;
}
.how-section[data-enhanced='true'] .how-step p {
  display: none;
}
.how-step button[aria-pressed='true'] .step-number {
  color: var(--amber);
}
.how-listening {
  --listening-progress: 0;
  background: var(--paper);
  color: var(--forest);
  border-radius: 22px;
  padding: 24px;
  box-shadow:
    0 8px 0 #17241444,
    0 24px 55px #10190f30;
  min-width: 0;
}
.listening-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.listening-topline [data-how-number] {
  color: #727e61;
  font-variant-numeric: tabular-nums;
}
.listening-scene {
  position: relative;
  margin: 0 8px;
  background: #e3e6d1;
  border-radius: 150px 150px 12px 12px;
  aspect-ratio: 1.85;
  overflow: hidden;
}
.listening-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.listening-sun {
  position: absolute;
  inset: 14px 22px auto auto;
  color: var(--paper);
  font-size: 2.1rem;
  text-shadow: 0 1px 10px #29362833;
}
.how-reading {
  text-align: center;
  margin-top: 20px;
}
.how-arabic {
  font: 400 clamp(2rem, 3vw, 2.8rem)/1.5 var(--sans);
  overflow-wrap: anywhere;
}
.how-latin {
  font: 450 1.55rem/1.4 var(--serif);
  color: #62764c;
  overflow-wrap: anywhere;
}
.how-meaning {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 5px;
}
.how-description {
  max-width: 360px;
  min-height: 3.2em;
  margin: 18px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
}
.listening-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 10px;
}
.listening-track {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.listening-track span {
  display: block;
  height: 100%;
  background: #718557;
  transform-origin: left;
  transform: scaleX(var(--listening-progress));
}
.how-listening[data-playing='true'] .listening-track span {
  background: #87611f;
}
.listening-controls button {
  font-size: 0.6875rem;
  min-width: 90px;
}
.closing {
  margin-top: 72px;
  position: relative;
  text-align: center;
  padding: 52px 30px 64px;
  border-radius: 24px;
  background: #e5e8d6;
  margin-bottom: 54px;
}
.closing-stamp {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #f7f3e9;
  overflow: hidden;
}
.closing-stamp img {
  width: 120px;
  height: 120px;
  max-width: none;
  margin: -8px -20px;
}
.closing h2 {
  font-size: clamp(2.7rem, 4.5vw, 4.25rem);
  line-height: 1.04;
  margin-block: 22px;
}
.closing h2 em {
  color: #677653;
}
.closing-description {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.closing .signup-panel {
  max-width: 510px;
  margin: auto;
  text-align: left;
}
.closing .form-note {
  text-align: center;
  margin-top: 2px;
}
.site-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 30px 90px;
  position: relative;
  flex-wrap: wrap;
}
.site-footer .wordmark {
  font-size: 2.2rem;
}
.footer-note {
  font-size: 0.625rem;
  color: var(--muted);
  flex: 1;
}
.privacy {
  font-size: 0.625rem;
  color: var(--muted);
}
.privacy summary {
  cursor: pointer;
  padding: 12px 0;
}
.privacy p {
  position: absolute;
  bottom: 100%;
  right: 0;
  width: 300px;
  max-width: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 10px 30px #29362820;
  font-size: 0.75rem;
}
.site-footer #motion-toggle {
  font-size: 0.625rem;
  background: none;
  border: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}
.sound-container {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 24px;
  z-index: 15;
  max-width: calc(100vw - 48px);
}
.sound-dock {
  display: flex;
  position: relative;
  align-items: center;
  border: 1px solid #ffffff30;
  background: var(--forest);
  color: var(--paper);
  border-radius: 28px;
  box-shadow: 0 4px 18px #0002;
  padding: 3px;
}
.sound-dock button,
.sound-settings summary {
  border: 0;
  background: transparent;
  color: inherit;
  min-height: 44px;
  padding: 9px 13px;
  font-size: 0.625rem;
}
.sound-dock button {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 24px;
}
.sound-settings summary {
  display: grid;
  place-items: center;
  cursor: pointer;
  list-style: none;
  padding-inline: 11px;
}
.sound-settings summary::-webkit-details-marker {
  display: none;
}
.sound-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  max-height: 65svh;
  overflow: auto;
  width: 260px;
  max-width: calc(100vw - 48px);
  bottom: auto;
  background: var(--forest);
  border: 1px solid #ffffff3a;
  box-shadow: 0 6px 30px #0002;
  padding: 18px;
  border-radius: 12px;
  font-size: 0.6875rem;
}
.sound-mixer {
  display: grid;
  gap: 12px;
}
.sound-mixer #room-toggle {
  padding: 8px 0;
  justify-self: start;
  text-decoration: underline;
}
.sound-mixer input {
  width: 100%;
  accent-color: var(--amber);
}
.sound-error {
  margin-top: 12px;
}
.sound-panel #retry-voice {
  text-decoration: underline;
}
.narration-caption {
  background: var(--forest);
  color: var(--paper);
  font-size: 0.6875rem;
  max-width: 300px;
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 20px #0002;
}
.narration-caption:empty {
  display: none;
}
.mini-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 14px;
  height: 16px;
}
.mini-wave i {
  background: var(--amber);
  width: 2px;
  height: 5px;
  border-radius: 2px;
}
.mini-wave i:nth-child(2) {
  height: 12px;
}
.mini-wave i:nth-child(3) {
  height: 8px;
}
html[data-sound='off'] .mini-wave {
  opacity: 0.45;
}
@keyframes voice-wave {
  to {
    transform: scaleY(0.3);
  }
}

/* Tactile details share the character motion control. */
.demo {
  --stage-color: #e3e5cc;
}
.demo[data-thought='greeting'] {
  --stage-color: #f0dfb5;
}
.demo[data-thought='thanks'] {
  --stage-color: #e8d7ca;
}
.demo[data-thought='plans_phrase'] {
  --stage-color: #dbe3d1;
}
.demo-stage::before {
  background: var(--stage-color);
  transition: background 0.45s;
}
.portrait-performance {
  transform: translateX(var(--drift, 0px));
  transition: transform 0.35s ease-out;
}
.stage-spark {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  color: #7b875f;
  line-height: 1;
}
.spark-one {
  left: 14%;
  top: 16%;
  font-size: 3.25rem;
  transform: rotate(-12deg);
}
.spark-two {
  right: 8%;
  top: 32%;
  font-size: 2.5rem;
  transform: rotate(10deg);
}
.stage-note {
  position: absolute;
  left: 0;
  top: 44%;
  width: 105px;
  font: italic 1.05rem/1.2 var(--serif);
  transform: rotate(-9deg);
  color: #65774f;
}
.demo[data-speaking='true'] .stage-spark {
  animation: star-turn 2s ease-in-out infinite alternate;
}
.benefit-language:hover .phrase-card {
  transform: rotate(1deg) translateY(-3px);
}
.benefit-memory:hover .memory-slip {
  transform: rotate(-2deg) translateY(-3px);
}
.phrase-card,
.memory-slip {
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
[data-signup-success]:not([hidden]) .result-mark {
  animation: stamp-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes star-turn {
  to {
    transform: rotate(35deg) scale(1.07);
  }
}
@keyframes stamp-in {
  from {
    opacity: 0;
    transform: scale(1.6) rotate(22deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
html[data-motion='paused'] {
  scroll-behavior: auto;
}
html[data-motion='paused'] *,
html[data-motion='paused'] *::before,
html[data-motion='paused'] *::after {
  animation: none !important;
  transition: none !important;
}
html[data-motion='paused'] .reply-choices button,
html[data-motion='paused'] .portrait-performance,
html[data-motion='paused'] .phrase-card,
html[data-motion='paused'] .memory-slip {
  transform: none !important;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    column-gap: 38px;
    padding-block: 34px 76px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
  .hero h1 {
    font-size: 3.7rem;
  }
  .hero-description {
    font-size: 0.875rem;
  }
  .demo-stage {
    min-height: 365px;
  }
  .portrait-performance {
    width: 365px;
    height: 365px;
    margin-right: -25px;
  }
  .studio-phrase {
    width: 240px;
    padding: 15px;
    left: -8px;
    min-height: 128px;
  }
  .demo-wave {
    right: 38px;
    bottom: 39px;
    gap: 2px;
  }
  .demo-wave i {
    width: 2px;
  }
  .demo-heading {
    padding-inline: 8px;
  }
  .demo-heading h2 {
    font-size: 1.1rem;
  }
  .preview-label {
    font-size: 0.5rem;
  }
  .demo-actions {
    padding-inline: 0;
  }
  .reply-choices button {
    padding-inline: 9px;
    font-size: 0.6875rem;
    gap: 7px;
  }
  .hero .email-row {
    flex-direction: column;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 8px;
  }
  .hero .email-row input {
    background: #fffdf7;
    border: 1px solid #c9cebc;
    min-height: 52px;
    width: 100%;
    flex: none;
    min-width: 0;
  }
  .benefits {
    gap: 20px;
    padding-bottom: 76px;
  }
  .benefit-visual {
    height: 175px;
  }
  .phrase-card {
    padding: 15px 32px;
  }
  .phrase-spark {
    right: 15px;
    top: 23px;
  }
  .benefits h2 {
    font-size: 1.4rem;
    margin-inline: 3px;
  }
  .benefits p {
    margin-inline: 3px;
  }
  .how-layout {
    gap: 55px;
  }
  .how-step button {
    font-size: 1.5rem;
    gap: 15px;
  }
  .how-heading h2 {
    font-size: 3rem;
  }
  .how-step p {
    margin-left: 32px;
    margin-right: 0;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    padding-block: 13px;
    gap: 14px;
  }
  .wordmark {
    font-size: 2.3rem;
  }
  .wordmark span {
    font-size: 0.9375rem;
  }
  .site-header nav {
    gap: 0;
    font-size: 0.625rem;
  }
  .site-header .sound-dock {
    margin-left: auto;
  }
  .site-header .sound-toggle-label {
    display: none;
  }
  html[data-sound='blocked'] .site-header nav {
    display: none;
  }
  html[data-sound='blocked'] .site-header .sound-toggle-label {
    display: inline;
  }
  html[data-sound='blocked'] .site-header #sound-toggle {
    width: auto;
  }
  html[data-sound='blocked'] .site-header .sound-dock {
    margin-left: auto;
  }
  .site-header #sound-toggle {
    width: 44px;
    justify-content: center;
    padding-inline: 10px;
  }
  .site-header .wordmark {
    font-size: 2rem;
    gap: 8px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 0;
    padding-block: 18px 40px;
  }
  .hero-copy {
    padding-top: 0;
    padding-bottom: 19px;
  }
  .hero .eyebrow {
    font-size: 0.5rem;
    letter-spacing: 0.13em;
    gap: 7px;
  }
  .hero .eyebrow::before {
    width: 5px;
    height: 5px;
  }
  .hero h1 {
    font-size: 2.7rem;
    line-height: 1.025;
    letter-spacing: -0.05em;
    margin-block: 14px;
    max-width: 500px;
  }
  .hero-description {
    font-size: 0.8125rem;
    line-height: 1.65;
    max-width: 410px;
  }
  .hero-signup {
    grid-column: 1;
    grid-row: 3;
    max-width: none;
  }
  .demo {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 18px;
    border: 1px solid #dce0cf;
    border-radius: 18px;
    padding: 12px 14px 0;
    background: #eeefdf;
  }
  .demo-heading {
    padding: 0;
    gap: 8px;
  }
  .demo-heading h2 {
    font-size: 1.05rem;
  }
  .preview-label {
    font-size: 0.4375rem;
  }
  .stage-note,
  .stage-spark {
    display: none;
  }
  .demo-stage {
    min-height: 135px;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    text-align: center;
  }
  .demo-stage::before {
    inset: 7px auto 4px 0;
    width: 121px;
    border-radius: 100px 100px 12px 12px;
    background: var(--stage-color);
  }
  .demo-stage::after {
    display: none;
  }
  .portrait-performance {
    width: 150px;
    height: 150px;
    margin: -4px -10px -11px -13px;
    max-width: none;
  }
  .studio-phrase {
    position: relative;
    inset: auto;
    width: auto;
    flex: 1;
    min-width: 0;
    min-height: 98px;
    border-radius: 13px 13px 13px 3px;
    padding: 12px 8px;
    gap: 2px;
    box-shadow: 0 5px 15px -13px #34442e42;
  }
  .studio-arabic {
    font-size: 1.15rem;
    line-height: 1.5;
  }
  .studio-latin {
    font-size: 0.875rem;
  }
  .studio-meaning {
    font-size: 0.5625rem;
  }
  .demo-wave {
    display: none;
  }
  .demo-actions {
    padding: 8px 0 0;
  }
  .reply-instruction {
    font-size: 0.5625rem;
    margin-bottom: 8px;
  }
  .reply-choices {
    gap: 7px;
    padding: 7px 2px 9px;
  }
  .reply-choices button {
    min-height: 73px;
    padding: 10px 5px 8px;
    font-size: 0.625rem;
    gap: 4px;
    border-radius: 9px;
  }
  .reply-choices svg {
    width: 24px;
    height: 24px;
  }
  .demo-tools {
    margin-top: 8px;
  }
  .surprise-button {
    min-height: 50px;
    padding: 12px 18px;
    font-size: 0.875rem;
    border-radius: 13px;
  }
  .demo .studio-phrase #reply-answer {
    font-size: 0.625rem;
    line-height: 1.5;
  }
  .email-row {
    padding: 4px;
    gap: 4px;
  }
  .email-row input {
    font-size: 0.8125rem;
    padding: 10px 12px;
  }
  .email-row .button {
    font-size: 0.6875rem;
    min-height: 46px;
    padding: 10px 14px;
    gap: 10px;
  }
  .form-note {
    font-size: 0.625rem;
    margin-top: 2px;
  }
  .benefits {
    grid-template-columns: minmax(0, 1fr);
    gap: 27px;
    padding-block: 0 44px;
  }
  .benefits article {
    display: grid;
    grid-template-columns: 7.1875rem minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
  }
  .benefit-visual {
    grid-row: 1 / span 2;
    height: 128px;
    margin: 0;
    border-radius: 12px;
  }
  .visual-number {
    display: none;
  }
  .benefit-world img {
    object-position: 47%;
  }
  .phrase-card {
    padding: 13px 10px;
    gap: 3px;
    transform: rotate(-5deg);
  }
  .phrase-card span:first-child {
    font-size: 1.25rem;
  }
  .phrase-card span:nth-child(2) {
    font-size: 0.8125rem;
  }
  .phrase-card span:last-child {
    font-size: 0.5rem;
  }
  .phrase-spark {
    display: none;
  }
  .benefit-memory {
    padding: 12px 8px;
  }
  .memory-slip {
    width: 100%;
    min-height: 88px;
    padding: 15px 8px 29px;
  }
  .memory-label {
    font-size: 0.4375rem;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
  }
  .memory-phrase {
    font-size: 0.8rem;
  }
  .memory-seal {
    width: 20px;
    height: 20px;
    font-size: 0.6875rem;
    bottom: 5px;
    right: 7px;
  }
  .benefits h2 {
    font-size: 1.35rem;
    line-height: 1.15;
    margin: 5px 0 9px;
    align-self: end;
  }
  .benefits p {
    font-size: 0.75rem;
    line-height: 1.6;
    max-width: none;
    margin: 0;
  }
  .how-section {
    padding-block: 44px;
  }
  .how-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
  .how-heading h2 {
    font-size: 2.75rem;
    margin-block: 18px 25px;
  }
  .how-heading .button {
    font-size: 0.75rem;
    min-height: 48px;
  }
  .how-step {
    padding-block: 17px;
  }
  .how-step button {
    font-size: 1.4rem;
    gap: 16px;
  }
  .how-step p {
    font-size: 0.8125rem;
    margin-top: 7px;
    margin-left: 33px;
    margin-right: 32px;
  }
  .step-symbol {
    width: 32px;
    height: 32px;
  }
  .closing {
    margin-top: 44px;
    padding: 30px 18px 36px;
    margin-bottom: 30px;
    border-radius: 18px;
  }
  .closing-stamp {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
  }
  .closing-stamp img {
    width: 100px;
    height: 100px;
    margin: -7px -18px;
  }
  .closing h2 {
    font-size: 2.25rem;
    line-height: 1.07;
    margin-block: 17px;
  }
  .closing h2 br {
    display: none;
  }
  .closing-description {
    font-size: 0.75rem;
    margin-bottom: 24px;
  }
  .closing .email-row {
    flex-direction: column;
    border: 0;
    background: none;
    padding: 0;
    gap: 8px;
  }
  .closing .email-row input {
    width: 100%;
    min-width: 0;
    flex: none;
    min-height: 48px;
    background: #fffdf7;
    border: 1px solid #c9cebc;
  }
  .site-footer {
    padding-block: 22px 90px;
    gap: 18px;
  }
  .footer-note {
    font-size: 0.5rem;
    flex-basis: 60%;
  }
  .privacy {
    margin-left: auto;
  }
  .sound-container {
    bottom: 12px;
    left: 14px;
    max-width: calc(100vw - 28px);
  }
  .narration-caption {
    max-width: min(300px, calc(100vw - 28px));
  }
  .sound-dock button {
    font-size: 0.5625rem;
    min-height: 44px;
  }
  .sound-settings summary {
    min-height: 44px;
  }
  .eyebrow {
    font-size: 0.5625rem;
  }
  .sound-panel {
    right: 0;
  }
}
@media (max-width: 359px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero-description {
    font-size: 0.75rem;
  }
  .demo {
    padding-inline: 10px;
  }
  .portrait-performance {
    width: 122px;
    height: 132px;
    margin-right: -11px;
  }
  .demo-stage {
    min-height: 124px;
  }
  .demo-stage::before {
    width: 95px;
  }
  .studio-arabic {
    font-size: 1rem;
  }
  .studio-latin {
    font-size: 0.75rem;
  }
  .demo-heading h2 {
    font-size: 0.9375rem;
  }
  .demo-utilities {
    gap: 0 8px;
  }
  .demo-tools {
    gap: 8px;
  }
  .email-row .button {
    padding-inline: 10px;
    gap: 5px;
    font-size: 0.625rem;
  }
  .email-row input {
    font-size: 0.75rem;
  }
  .benefits article {
    grid-template-columns: 5.625rem minmax(0, 1fr);
    column-gap: 14px;
  }
  .benefits h2 {
    font-size: 1.25rem;
  }
  .benefits p {
    font-size: 0.6875rem;
  }
  .benefit-visual {
    height: 120px;
  }
  .how-heading h2 {
    font-size: 2.3rem;
  }
  .how-step button {
    font-size: 1.25rem;
  }
  .how-step p {
    margin-right: 0;
  }
  .closing h2 {
    font-size: 2rem;
  }
}
/* Stack benefit artwork when the available measure is small relative to text. */
@container (max-width: 20rem) {
  .benefits article {
    grid-template-columns: minmax(0, 1fr);
  }
  .benefit-visual {
    grid-row: auto;
    width: 100%;
    height: auto;
    min-height: 8rem;
    margin-bottom: 16px;
  }
  .benefit-world img {
    position: absolute;
    inset: 0;
  }
  .benefit-language {
    padding: 20px;
  }
  .benefit-memory {
    padding: 24px;
  }
  .memory-slip {
    width: 85%;
  }
  .benefits h2 {
    margin-top: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reply-choices button,
  .portrait-performance,
  .phrase-card,
  .memory-slip {
    transform: none !important;
  }
}
/* Readings can grow at larger text sizes, including narrow tablet columns. */
.benefit-visual.benefit-memory,
.benefit-visual.benefit-language {
  height: auto;
  min-height: 212px;
}
.benefit-language {
  padding: 24px 12px;
}
@media (max-width: 1050px) {
  .benefit-visual.benefit-memory,
  .benefit-visual.benefit-language {
    min-height: 175px;
  }
}
@media (max-width: 760px) {
  .benefit-visual.benefit-memory,
  .benefit-visual.benefit-language {
    min-height: 128px;
  }
  .benefit-language {
    padding: 12px 8px;
  }
}
@container (max-width: 20rem) {
  .benefit-visual.benefit-memory,
  .benefit-visual.benefit-language {
    min-height: 8rem;
  }
  .benefit-language {
    padding: 24px;
  }
}
/* A small illustrated keepsake connects the conversation to the invitation. */
.benefit-visual.benefit-world {
  padding: 20px 23px;
  height: auto;
  min-height: 212px;
  background: #e3e5d4;
  overflow: visible;
}
.world-postcard {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  min-height: 172px;
  background: #fffdf7;
  padding: 8px 8px 10px;
  transform: rotate(-4deg);
  box-shadow: 0 10px 20px -12px #34442e55;
}
.world-postcard img {
  height: 130px;
  object-fit: cover;
  display: block;
}
.postcard-caption {
  position: relative;
  padding-right: 25px;
  overflow-wrap: anywhere;
  font: italic 0.875rem/1.2 var(--serif);
}
.postcard-mark {
  position: absolute;
  bottom: 5px;
  right: 9px;
  border: 1px solid #8b997c;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  color: #73855f;
}
.keepsake-action {
  margin: 4px 12px 0;
}
.keepsake-action .text-button {
  padding-inline: 0;
  color: #4f643b;
  font-size: 0.75rem;
}
.keepsake-action .text-button::after {
  content: ' ↓';
}
.benefits p.keep-status {
  margin: 0;
  font-size: 0.6875rem;
}
.keep-status:empty {
  display: none;
}
.closing {
  width: min(1100px, calc(100% - 112px));
  padding: 70px 46px 50px;
  margin-top: 72px;
  background: none;
  isolation: isolate;
  border-radius: 0;
}
.envelope-back {
  position: absolute;
  inset: 0 0 0;
  z-index: -2;
  background: #d7ddc8;
  clip-path: polygon(0 24%, 50% 0, 100% 24%, 100% 100%, 0 100%);
  border-radius: 18px;
}
.envelope-front {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: #c5d0b5;
  clip-path: polygon(0 0, 50% 54%, 100% 0, 100% 100%, 0 100%);
  border-radius: 0 0 18px 18px;
  z-index: -1;
  pointer-events: none;
}
.closing-letter {
  container-type: inline-size;
  position: relative;
  background: #fffdf7;
  border: 1px solid #d3d6c7;
  box-shadow: 0 14px 35px -20px #34442e66;
  padding: 42px 56px 28px;
  border-radius: 5px;
}
.closing .closing-stamp {
  width: 72px;
  height: 88px;
  border: 5px solid #fffdf7;
  outline: 1px dashed #8b997c;
  border-radius: 0;
  background: #e3e5cc;
  transform: rotate(-8deg);
  margin-bottom: 28px;
}
.closing-stamp img {
  width: 108px;
  height: 108px;
  margin: -3px -23px;
}
.letter-postmark {
  position: absolute;
  top: 34px;
  right: 28px;
  font-size: 0.5rem;
  line-height: 1.6;
  letter-spacing: 0.12em;
  border-block: 1px solid #aeb99b;
  padding: 8px 0;
  transform: rotate(10deg);
  color: #75845e;
}
.closing h2 {
  font-size: clamp(2.7rem, 4.3vw, 3.8rem);
}
.letter-signature {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 12px;
  margin-top: 30px;
  font: italic 1.7rem/1.4 var(--serif);
  color: #61754a;
}
.letter-signature span {
  font: 400 1rem var(--sans);
}
.letter-confirmed {
  position: absolute;
  right: 26px;
  bottom: 23px;
  width: 90px;
  height: 90px;
  border: 3px double #9b6b25;
  border-radius: 50%;
  color: #91662b;
  font-size: 0.75rem;
  line-height: 1.4;
  align-content: center;
  display: none;
  transform: rotate(-14deg);
}
.closing-letter:has([data-signup-success]:not([hidden])) .letter-confirmed {
  display: grid;
  animation: stamp-in 0.45s ease-out;
}
html[data-motion='paused'] .world-postcard,
html[data-motion='paused'] .closing-stamp,
html[data-motion='paused'] .letter-postmark,
html[data-motion='paused'] .letter-confirmed {
  transform: none !important;
}
@media (max-width: 1050px) {
  .benefit-visual.benefit-world {
    padding: 15px;
    min-height: 175px;
  }
  .world-postcard img {
    height: 95px;
  }
  .world-postcard {
    min-height: 145px;
  }
  .closing {
    width: calc(100% - 64px);
    padding: 62px 30px 40px;
  }
  .closing-letter {
    padding-inline: 32px;
  }
}
@media (max-width: 760px) {
  .benefit-visual.benefit-world {
    padding: 10px 7px;
    min-height: 128px;
  }
  .world-postcard img {
    height: 75px;
  }
  .world-postcard {
    min-height: 108px;
    padding: 5px;
    gap: 4px;
  }
  .postcard-caption {
    padding-right: 0;
    font-size: 0.625rem;
  }
  .postcard-mark {
    display: none;
  }
  .keepsake-action {
    grid-column: 2;
    margin: 4px 0 0;
  }
  .keepsake-action .text-button {
    font-size: 0.6875rem;
  }
  .closing {
    width: calc(100% - 24px);
    padding: 44px 14px 28px;
    margin-top: 44px;
  }
  .closing-letter {
    padding: 32px 18px 24px;
  }
  .closing h2 {
    font-size: 2.35rem;
  }
  .closing .closing-stamp {
    width: 62px;
    height: 75px;
    margin-bottom: 24px;
  }
  .closing-stamp img {
    width: 96px;
    height: 96px;
    margin: -4px -22px;
  }
  .letter-postmark {
    right: 16px;
    top: 24px;
    font-size: 0.375rem;
  }
  .letter-confirmed {
    width: 64px;
    height: 64px;
    right: 14px;
    bottom: 18px;
    font-size: 0.5625rem;
  }
  .letter-signature {
    margin-top: 26px;
  }
}
@container (max-width: 20rem) {
  .benefit-visual.benefit-world {
    min-height: 10rem;
    height: auto;
    padding: 14px 20px;
  }
  .world-postcard {
    min-height: 0;
  }
  .world-postcard img {
    position: static;
    height: 7rem;
  }
  .postcard-caption {
    font-size: 0.75rem;
  }
  .keepsake-action {
    grid-column: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .world-postcard,
  .closing-stamp,
  .letter-postmark,
  .letter-confirmed {
    transform: none !important;
  }
}

@container (max-width: 18rem) {
  .letter-postmark {
    display: none;
  }
  .letter-confirmed {
    position: static;
    width: max-content;
    height: auto;
    border-radius: 4px;
    padding: 8px 16px;
    margin: 20px auto 0;
  }
}

/* Reading in the benefit visual follows the visitor’s chosen phrase. */
.benefit-language .phrase-card {
  width: 100%;
  max-width: 17.5rem;
  padding-inline: 18px;
}
.benefit-language .phrase-card span {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  text-align: center;
}
.benefit-language .phrase-card span:first-child {
  font-size: clamp(1.15rem, 2.1vw, 1.7rem);
  line-height: 1.5;
}
@media (max-width: 760px) {
  .how-layout {
    gap: 24px;
  }
  .how-heading {
    display: contents;
  }
  .how-heading .eyebrow {
    order: 0;
  }
  .how-heading h2 {
    order: 1;
  }
  .how-steps {
    order: 2;
    margin: 0;
  }
  .how-layout > .how-listening {
    order: 3;
    grid-column: auto;
    grid-row: auto;
  }
  .how-join {
    order: 4;
    justify-self: start;
  }
  .how-section[data-enhanced='true'] .how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 5rem), 1fr));
    gap: 8px;
  }
  .how-section[data-enhanced='true'] .how-step {
    border: 0;
    padding: 0;
  }
  .how-section[data-enhanced='true'] .how-step button {
    height: 100%;
    min-height: 78px;
    padding: 10px 7px;
    border: 1px solid #c7cfbd44;
    border-radius: 12px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    font: 400 0.75rem/1.3 var(--sans);
    letter-spacing: 0;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .how-section[data-enhanced='true'] .how-step button[aria-pressed='true'] {
    background: #e3e7d6;
    color: var(--forest);
    border-color: #e3e7d6;
  }
  .how-section[data-enhanced='true']
    .how-step
    button[aria-pressed='true']
    .step-number {
    color: #62764c;
  }
  .how-section[data-enhanced='true'] .step-symbol {
    display: none;
  }
  .how-heading h2 {
    margin: 0;
    font-size: clamp(1.875rem, 11vw, 2.625rem);
  }
  .how-step {
    padding-block: 12px;
  }
  .how-step button {
    font-size: 1.35rem;
  }
  .how-listening {
    padding: 20px;
    border-radius: 18px;
  }
  .listening-scene {
    margin-inline: 0;
  }
  .how-description {
    min-height: 0;
  }
  .how-arabic {
    font-size: 2rem;
  }
  .how-latin {
    font-size: 1.3rem;
  }
  .benefit-language .phrase-card {
    width: 100%;
    padding-inline: 6px;
  }
  .benefit-language .phrase-card span:first-child {
    font-size: 1.25rem;
  }
}

/* A static screenshot of the actual app call layout inside the phone shell. */
.how-listening.call-screenshot {
  width: min(100%, 340px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  justify-self: center;
  background: transparent;
  box-shadow: none;
  color: var(--paper);
}
.call-screenshot .phone-preview {
  position: relative;
  padding: 7px;
  border: 2px solid #829071;
  border-radius: 42px;
  background: #101e16;
  box-shadow:
    0 0 0 2px #111d1488,
    9px 17px 0 -4px #172419,
    0 35px 55px -20px #111b12aa;
}
.call-screenshot .phone-preview::before,
.call-screenshot .phone-preview::after {
  content: '';
  position: absolute;
  width: 3px;
  background: #93987a;
  border-radius: 3px;
  top: 90px;
  height: 35px;
  left: -5px;
}
.call-screenshot .phone-preview::after {
  left: auto;
  right: -5px;
  top: 135px;
  height: 48px;
}
.call-screenshot .phone-stage {
  position: relative;
  aspect-ratio: 390 / 844;
  border-radius: 32px;
  overflow: hidden;
  background: #1b3022;
}
.phone-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.call-method .how-step h3 {
  display: flex;
  gap: 18px;
  align-items: center;
  font: 400 1.5rem var(--serif);
}
.call-method .how-step p {
  margin-right: 0;
  max-width: 350px;
}
@media (max-width: 760px) {
  .how-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .how-heading {
    display: block;
  }
  .how-heading h2 {
    margin-top: 22px;
  }
  .call-method {
    display: block;
    margin: 28px 0 0;
  }
  .call-method .how-step {
    padding-block: 14px;
  }
  .call-method .how-step h3 {
    font-size: 1.25rem;
  }
  .call-method .how-step p {
    font-size: 0.75rem;
    margin-left: 32px;
  }
  .how-layout > .call-screenshot {
    grid-column: 1;
    grid-row: auto;
    order: 1;
    margin-block: 8px;
    width: min(calc(100% - 16px), 310px);
  }
  .how-join {
    order: 2;
  }
}

/* Compact method layout after removing the phone preview. */
.how-layout {
  grid-template-columns: 1fr;
}
.how-heading {
  max-width: none;
}
.how-steps.call-method {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.call-method .how-step {
  border-bottom: 0;
}
@media (max-width: 760px) {
  .how-steps.call-method {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* One family of paper objects, from the choice to the keepsake. */
:root {
  --paper-edge: #bac0a280;
  --paper-depth: 0 3px 0 #b7a58133, 0 15px 26px -19px #34442e66;
}
.reply-choices button,
.studio-phrase,
.world-postcard,
.benefit-language .phrase-card,
.memory-slip {
  border-color: var(--paper-edge);
  box-shadow: var(--paper-depth);
}
.reply-choices button {
  --card-angle: -5deg;
}
.reply-choices button:nth-child(2) {
  --card-angle: 1deg;
}
.reply-choices button:nth-child(3) {
  --card-angle: 5deg;
}
.reply-choices button[aria-pressed='true'] {
  transform: translateY(-7px) rotate(0);
  box-shadow:
    0 3px 0 #182716,
    0 15px 22px -16px #34442e77;
}
.reply-choices button[aria-pressed='true'] .card-corner {
  opacity: 1;
}
.studio-phrase {
  border-radius: 16px 16px 16px 4px;
}
.phrase-reading {
  width: 100%;
}
.studio-context {
  font-size: 0.5625rem;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 7px;
}
.studio-phrase .keepsake-action {
  width: 100%;
  margin: 10px 0 -8px;
  padding-top: 3px;
  border-top: 1px solid var(--paper-edge);
  text-align: center;
}
.studio-phrase .keepsake-action .text-button {
  min-height: 44px;
  font-size: 0.625rem;
  padding: 5px 0;
  gap: 7px;
  justify-content: center;
  width: 100%;
}
.keep-status:empty {
  display: none;
}
.studio-phrase .keep-status {
  font-size: 0.5625rem;
  margin: 0 0 8px;
}
.preview-utilities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 18px;
  width: 100%;
}
.preview-utilities .text-button {
  min-height: 44px;
  font-size: 0.6875rem;
}
.preview-utilities [data-help] {
  color: #5a6b47;
}
.demo[data-helping='true'] .preview-utilities [data-help] {
  order: 3;
}
.demo-stage::before {
  box-shadow:
    inset 0 2px 7px #6472450b,
    0 10px 24px -22px #2936286b;
}
.stage-world {
  position: absolute;
  inset: 0 22px 23px;
  border-radius: 230px 230px 28px 28px;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  opacity: 0.13;
  transition: opacity 0.35s;
  mask-image: linear-gradient(to bottom, transparent 22%, #000 85%);
}
.stage-world img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 65%;
}
.demo[data-thought='family_phrase'] {
  --stage-color: #e8dace;
}
.demo[data-thought='cafe_phrase'] {
  --stage-color: #e4e6cc;
}
.demo[data-thought='speak'],
.demo[data-thought='correction'] {
  --stage-color: #e9dfc9;
}
.demo[data-reaction='attention'] .stage-world {
  opacity: 0.22;
}
.demo[data-reaction='speaking'] .demo-stage::after {
  border-color: #75835566;
}
.demo[data-reaction='acknowledged'] .spark-one {
  color: #af7629;
  transform: rotate(15deg);
}
.demo[data-speaking='true'] .stage-spark {
  animation: none;
}
.result-portrait {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border: 1px solid var(--paper-edge);
  border-radius: 50%;
  background: #e4e7d2;
}
.result-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}
.result-portrait .result-mark {
  position: absolute;
  right: -9px;
  bottom: -3px;
  width: 28px;
  height: 28px;
  font-size: 0.8125rem;
  margin: 0;
  background: var(--forest);
  color: var(--paper);
  border: 3px solid var(--paper);
}
[data-signup-success]:not([hidden]) .result-portrait {
  animation: invitation-settle 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.invitation-phrase {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 350px;
  padding: 16px 18px;
  margin: 20px auto 8px;
  border-block: 1px solid var(--paper-edge);
}
.invitation-label {
  font-size: 0.625rem;
  color: var(--muted);
  margin-bottom: 8px;
}
[data-invitation-arabic] {
  font-size: 1.3rem;
  line-height: 1.6;
}
[data-invitation-latin] {
  font: 450 1rem/1.5 var(--serif);
  color: #62764c;
}
[data-invitation-meaning] {
  font-size: 0.6875rem;
  line-height: 1.5;
}
@keyframes invitation-settle {
  from {
    opacity: 0.4;
    transform: translateY(8px) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}
@media (max-width: 760px) {
  .stage-world {
    inset: 7px auto 4px 0;
    width: 121px;
    border-radius: 100px 100px 12px 12px;
  }
  .studio-phrase {
    border-radius: 12px 12px 12px 3px;
  }
  .studio-phrase .keepsake-action {
    margin-top: 7px;
    padding-top: 0;
  }
  .studio-phrase .keepsake-action .text-button {
    font-size: 0.5625rem;
  }
  .studio-context {
    font-size: 0.5rem;
  }
  .preview-utilities {
    gap: 0 14px;
  }
  .preview-utilities .text-button {
    font-size: 0.625rem;
  }
  .result-portrait {
    width: 64px;
    height: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stage-world,
  .result-portrait {
    animation: none !important;
    transition: none !important;
  }
}

[data-signup-success] {
  text-align: center;
}
.invitation-phrase {
  text-align: center;
}
