:root {
  color-scheme: light;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #20201f;
  background: #faf9f6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #c92f7b; outline-offset: 5px; }
.landing {
  width: min(100%, 1440px);
  height: 100vh;
  height: 100svh;
  margin-inline: auto;
  padding: 28px clamp(24px, 5vw, 76px) 18px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 20px;
}
.masthead, .footer { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 24px; font-weight: 750; letter-spacing: -1px; }
.brand svg { width: 31px; height: 31px; color: #da4387; }
.language { padding: 9px 0 9px 12px; font-size: 13px; color: #74736f; }
.language:hover, .footer a:hover { color: #20201f; }
.hero {
  min-height: 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr auto auto 1fr;
  column-gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.headline {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  padding-bottom: 36px;
  font-size: clamp(36px, 4.6vw, 66px);
  line-height: 1.22;
  font-weight: 650;
  letter-spacing: -0.055em;
  word-break: keep-all;
}
.headline span { display: block; }
.headline .thought { margin-bottom: 10px; font-size: 0.79em; font-weight: 500; color: #777571; letter-spacing: -0.045em; }
.headline .ending { display: block; }
.actions { grid-column: 1; grid-row: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.app-store {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 22px;
  border: 1px solid #20201f;
  border-radius: 14px;
  background: #20201f;
  color: #fff;
  font-size: 15px;
  font-weight: 550;
  white-space: nowrap;
  transition: background 150ms ease;
}
.app-store:hover { background: #3c3b39; }
.app-store svg { width: 20px; height: 23px; flex: none; }
.web-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 10px; font-size: 14px; white-space: nowrap; }
.web-link svg { width: 18px; height: 18px; transition: transform 150ms ease; }
.web-link:hover svg { transform: translateX(3px); }
.film {
  grid-column: 2;
  grid-row: 1 / -1;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 760px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 26px;
  margin: 0;
  border: 1px solid #eee5e5;
  border-radius: 32px;
  background: #f2e9e9;
}

.video-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #dfd5d5;
  border-radius: 50%;
  background: #faf7f4;
  color: #4f4549;
  cursor: pointer;
}
.video-toggle[hidden] { display: none; }
.video-toggle:hover { background: #fff; }
.video-toggle svg { width: 16px; height: 16px; }
.video-toggle .pause-icon, .video-toggle.is-playing .play-icon { display: none; }
.video-toggle.is-playing .pause-icon { display: block; }
.footer { gap: 16px; color: #74716d; font-size: 11px; line-height: 1.5; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { padding-block: 4px; }
.copyright { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
html[lang='en'] .headline { font-size: clamp(38px, 4.5vw, 64px); line-height: 1.12; letter-spacing: -0.055em; }
html[lang='en'] .headline .thought { font-size: 0.78em; margin-bottom: 14px; }

@media (max-width: 760px) and (min-height: 501px) {
  .landing { padding: max(14px, env(safe-area-inset-top)) 20px max(10px, env(safe-area-inset-bottom)); gap: 12px; }
  .brand { font-size: 21px; gap: 7px; }
  .brand svg { width: 27px; height: 27px; }
  .language { font-size: 12px; padding-block: 6px; }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; gap: 18px; }
  .headline { grid-row: 1; text-align: center; padding: 0; font-size: clamp(25px, 6.7vw, 36px); line-height: 1.25; letter-spacing: -0.05em; }
  .headline .thought { margin-bottom: 4px; font-size: 0.88em; }
  .headline .ending { display: inline; }
  .film { grid-column: 1; grid-row: 2; width: min(100%, 440px); justify-self: center; padding: 12px; border-radius: 24px; }
  .actions { grid-row: 3; justify-content: center; flex-wrap: nowrap; gap: 20px; }
  .app-store { min-height: 52px; padding: 13px 18px; font-size: 14px; gap: 10px; }
  .web-link { gap: 5px; font-size: 13px; }
  .footer { justify-content: center; font-size: 10px; }
  .footer nav { gap: 16px; }
  .copyright { display: none; }
  html[lang='en'] .headline { font-size: clamp(28px, 7vw, 38px); line-height: 1.12; }
  html[lang='en'] .headline .thought { font-size: 0.8em; margin-bottom: 5px; }
  html[lang='en'] .actions { gap: 15px; }
  html[lang='en'] .app-store { font-size: 13px; padding-inline: 14px; }
  html[lang='en'] .web-link { font-size: 12px; }
}

@media (max-width: 370px) and (min-height: 501px) {
  .landing { padding-inline: 14px; gap: 8px; }
  .hero { gap: 12px; }
  .actions { gap: 12px; }
  .app-store { padding-inline: 12px; font-size: 13px; }
  .app-store svg { width: 18px; }
  .web-link { font-size: 12px; }
  html[lang='en'] .actions { gap: 9px; }
  html[lang='en'] .app-store { font-size: 12px; padding-inline: 10px; gap: 7px; }
  html[lang='en'] .web-link { font-size: 11px; }
}

@media (max-height: 650px) and (min-width: 761px), (max-height: 500px) {
  .landing { padding: 14px 28px 10px; gap: 10px; }
  .hero { column-gap: 24px; grid-template-columns: 1.25fr 1fr; }
  .headline, html[lang='en'] .headline { font-size: clamp(29px, 4.5vw, 48px); padding-bottom: 20px; }
  .film { padding: 12px; border-radius: 24px; }
  .actions { gap: 12px; }
  .app-store { min-height: 46px; padding: 10px 14px; font-size: 13px; }
  .web-link { font-size: 12px; }
  .footer { font-size: 10px; }
}

/* Keep content reachable at extreme browser zoom or unusually small windows. */
@media (max-height: 330px), (max-width: 420px) and (max-height: 500px) {
  .landing { height: auto; min-height: 100svh; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 260px; }
  .headline, html[lang='en'] .headline { font-size: 24px; }
  .film { height: 260px; }
  .actions { flex-direction: column; align-items: flex-start; gap: 4px; }
  .app-store { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Locale selection and the shared, localized product demonstration. */
.language-picker { display: inline-flex; align-items: center; gap: 7px; color: #74716d; }
.language-picker > svg { width: 16px; height: 16px; flex: none; }
.language-picker select { max-width: 155px; padding: 8px 2px; border: 0; background: transparent; color: inherit; font: inherit; font-size: 12px; cursor: pointer; }
.language-picker select:focus-visible { outline: 3px solid #c92f7b; outline-offset: 3px; border-radius: 4px; }
.action-group { grid-column: 1; grid-row: 3; }
.support-note { color: #74716d; font-size: 12px; line-height: 1.5; margin: 14px 0 0; max-width: 400px; }
.film { padding: 36px 26px 20px; }
.demo-label { position: absolute; inset: 12px 50px auto; text-align: center; font-size: 10px; letter-spacing: .02em; color: #746469; }
.app-preview { display: grid; grid-template-rows: 9% minmax(0, 1fr) 9%; height: 100%; width: auto; max-width: 100%; aspect-ratio: 694 / 1502; min-width: 0; border: 5px solid #fff; border-radius: 23px; overflow: hidden; background: #fff; color: #18202f; box-shadow: 0 2px 6px #35222e08, 0 20px 44px #35222e12; container-type: inline-size; }
.app-preview svg { display: inline-block; width: 5cqw; height: 5cqw; flex: none; }
.demo-top { display: flex; align-items: center; justify-content: space-between; padding: 0 6%; }
.demo-top b { color: #ed4397; font-size: 8cqw; font-weight: 800; letter-spacing: -.04em; }
.demo-top > span { display: flex; gap: 3cqw; }
.demo-top svg { width: 6cqw; height: 6cqw; }
.demo-scene { min-height: 0; margin: 0 5%; }
.demo-read { height: 100%; display: grid; grid-template-rows: auto auto minmax(0,1fr) auto; }
.demo-room-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 2cqw; font-size: 5.8cqw; line-height: 1.22; padding-top: 1cqw; }
.demo-room-title strong { overflow-wrap: anywhere; }
.demo-room-title > span { color: #ed4397; font-size: 6cqw; line-height: 1; }
.demo-room-subtitle { font-size: 3cqw; line-height: 1.3; color: #b63178; padding: 2cqw 0 4cqw; }
.demo-note { display: flex; flex-direction: column; position: relative; min-height: 0; border: 1px solid #e4e6e9; border-left: 1cqw solid #ea4b9b; border-radius: 2.5cqw; background: #f8f9fa; padding: 6cqw 5cqw 4cqw; box-shadow: 0 1cqw 3cqw #18202f06; }
.demo-note::after { content: ''; position: absolute; right: 0; top: 0; width: 0; height: 0; border-style: solid; border-width: 0 0 6cqw 6cqw; border-color: transparent transparent #e5dcfa transparent; transform: rotate(90deg); }
.demo-author { display: flex; align-items: center; gap: 2cqw; color: #697184; font-size: 3.3cqw; font-weight: 600; }
.demo-author i { width: 1.7cqw; height: 1.7cqw; border-radius: 50%; background: #9470ce; }
.demo-note p { flex: 1; display: flex; align-items: center; min-height: 0; margin: 0; white-space: pre-line; overflow-wrap: anywhere; font-size: 5.5cqw; line-height: 1.65; letter-spacing: -.025em; }
.demo-reactions { display: flex; justify-content: space-between; gap: 3cqw; padding: 3.5cqw 0; border-block: 1px solid #e4e6e9; color: #758091; }
.demo-reactions svg { width: 4.8cqw; height: 4.8cqw; }
.demo-write { display: inline-flex; align-self: flex-end; align-items: center; gap: 1.8cqw; padding: 2.5cqw 3cqw; margin-top: 3cqw; border-radius: 1.5cqw; background: #ed4397; color: #fff; font-size: 3.3cqw; font-weight: 650; }
.demo-write svg { width: 3.5cqw; height: 3.5cqw; }
.demo-next { display: flex; align-items: center; justify-content: flex-end; gap: 2cqw; padding: 3.3cqw 0; font-size: 2.8cqw; color: #85909f; }
.demo-next strong { color: #4b5669; max-width: 55%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.demo-next svg { width: 3.5cqw; height: 3.5cqw; color: #ed4397; }
.demo-tabs { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; border-top: 1px solid #edf0f2; padding: 1cqw 2cqw; }
.demo-tabs > span { display: flex; align-items: center; flex-direction: column; gap: 1.4cqw; color: #8993a2; }
.demo-tabs small { font-size: 2.7cqw; line-height: 1; white-space: nowrap; }
.demo-tabs .selected { color: #ed4397; }
.demo-tabs .selected svg { box-sizing: content-box; padding: 2.5cqw; margin-top: -3cqw; border-radius: 50%; color: #fff; background: #ed4397; box-shadow: 0 0 0 1cqw #fff; }
.demo-compose { display: none; height: 100%; flex-direction: column; }
.demo-scene[data-mode='compose'] .demo-read { display: none; }
.demo-scene[data-mode='compose'] .demo-compose { display: flex; }
.demo-compose h2 { margin: 3cqw 0 7cqw; font-size: 6.3cqw; line-height: 1.35; letter-spacing: -.04em; }
.demo-compose-card { display: flex; flex-direction: column; min-height: 0; flex: 1; padding: 5cqw; border-radius: 6cqw; background: #fdf8fc; border: 1px solid #f3dce9; }
.demo-field-label { font-size: 3.6cqw; color: #70798a; margin-bottom: 3cqw; }
.demo-topic-input { display: flex; align-items: center; gap: 2cqw; min-height: 12cqw; padding: 2cqw 3cqw; border: 1px solid #eee2eb; border-radius: 3cqw; background: #fff; font-size: 4.2cqw; }
.demo-topic-input svg { color: #a2a9b2; width: 4cqw; height: 4cqw; }
.demo-compose-card p { flex: 1; margin: 7cqw 0 0; font-size: 5.2cqw; line-height: 1.6; white-space: pre-line; }
.demo-compose-card p::after { content: ''; display: inline-block; height: 1em; margin-left: 2px; border-left: 1px solid #ed4397; vertical-align: text-bottom; }
.demo-compose-tools { display: flex; gap: 4cqw; padding-top: 3cqw; color: #e56ca3; }
.demo-publish { display: flex; align-items: center; justify-content: center; gap: 3cqw; margin: 5cqw 0 12cqw; border-radius: 8cqw; padding: 4cqw; background: #f8c4e0; color: #fff; font-size: 4.5cqw; font-weight: 650; }
.demo-publish.ready { background: #ed4397; }
html[lang='ja'] .headline .thought { font-size: .67em; }
html[lang='es'] .headline, html[lang='pt-BR'] .headline { font-size: clamp(32px, 4.1vw, 58px); line-height: 1.15; }
html[lang='es'] .headline .ending, html[lang='pt-BR'] .headline .ending { font-size: .85em; }

@media (max-width: 760px) and (min-height: 501px) {
  .film { padding: 29px 12px 12px; }
  .app-preview { border-width: 3px; border-radius: 16px; }
  .demo-label { inset-block-start: 10px; font-size: 9px; }
  .support-note { text-align: center; margin: 7px auto 0; font-size: 10px; max-width: 335px; }
  .action-group { grid-row: 3; min-width: 0; }
  html[lang='es'] .headline, html[lang='pt-BR'] .headline { font-size: clamp(25px, 6.6vw, 34px); }
  html[lang='es'] .headline .ending, html[lang='pt-BR'] .headline .ending { display: block; font-size: .9em; }
  html[lang='es'] .actions, html[lang='pt-BR'] .actions { gap: 12px; }
  html[lang='es'] .app-store, html[lang='pt-BR'] .app-store { font-size: 12px; padding-inline: 12px; gap: 8px; }
  html[lang='es'] .web-link, html[lang='pt-BR'] .web-link { font-size: 12px; }
  .footer nav { gap: 12px; }
}
@media (max-width: 370px) and (min-height: 501px) {
  html[lang='es'] .actions, html[lang='pt-BR'] .actions { gap: 10px; }
  html[lang='es'] .app-store, html[lang='pt-BR'] .app-store { font-size: 11px; padding-inline: 9px; }
  html[lang='es'] .web-link, html[lang='pt-BR'] .web-link { font-size: 11px; }
  html[lang='ja'] .footer { font-size: 9px; }
}
@media (max-height: 650px) and (min-width: 761px), (max-height: 500px) {
  .film { padding: 28px 12px 12px; }
  .demo-label { inset-block-start: 9px; font-size: 9px; }
  .app-preview { border-width: 3px; border-radius: 16px; }
  .support-note { font-size: 10px; margin-top: 6px; }
  html[lang='es'] .headline, html[lang='pt-BR'] .headline { font-size: clamp(26px, 3.8vw, 42px); }
}
