/* Keep the logo blue on interactive elements and the violet glints in the sound sculpture. */
.lp-home {
  display: flex;
  flex-direction: column;
  isolation: isolate;
  --lp-fg-muted: #b6c8d8;
  --lp-fg-subtle: #a1b6c9;
  --lp-accent-hover: #90dcff;
  --lp-secondary: #7dd3fc;
  --lp-secondary-glow: rgb(125 211 252 / .12);
  --lp-container-max: 1352px;
  --lp-container-padding: clamp(20px, 5.2vw, 76px);
  --lp-font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
.lp-home .lp-header {
  order: -1;
  z-index: calc(var(--lp-z-overlay) + 1);
  background: rgb(10 14 26 / .95);
  padding-block: 15px;
}
.lp-home .lp-lang-suggestion {
  position: static;
  flex-flow: row wrap;
  align-items: center;
  gap: 8px 16px;
  background: #10243a;
}
.lp-home .lp-logo { gap: 4px; }
.lp-home .lp-logo-icon { width: 36px; height: 36px; }
.lp-home .lp-logo-wordmark { width: 135px; }
.lp-home .lp-nav-list { gap: clamp(12px, 2vw, 32px); }
.lp-home .lp-nav-list > li:has(> a[href*="/products/"]) { display: none; }
.lp-home .lp-nav-cta {
  padding: 10px 21px;
  background: var(--lp-accent);
  color: #061c2e !important;
}
.lp-home :focus-visible { outline: 3px solid var(--lp-accent); outline-offset: 4px; }
.home-modes .home-mode:focus-visible { outline-color: var(--lp-accent); }
.lp-home .lp-mobile-menu { top: 67px; overflow-y: auto; }
.lp-home .lp-mobile-menu ul { gap: 1rem; }
.lp-home .lp-lang-mobile-options { flex-wrap: wrap; }
.no-js .lp-home .lp-lang-switcher:focus-within .lp-lang-dropdown { display: block; }

.home-scenery {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 78% 44%, #103250, #0e1d32 40%, var(--lp-bg) 80%);
}
.home-backdrop {
  position: absolute;
  width: min(92vw, 1260px);
  aspect-ratio: 3 / 2;
  top: 47%;
  right: -8%;
  transform: translateY(-50%);
  opacity: .44;
  mix-blend-mode: screen;
  filter: hue-rotate(-22deg);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}
.home-art, .home-ripple {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.home-ripple { display: none; }
.home-backdrop.has-ripple .home-ripple { display: block; }
.home-backdrop.has-ripple .home-art { visibility: hidden; }
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  min-height: clamp(490px, 41vw, 594px);
  padding-block: clamp(58px, 6vw, 90px);
}
.home-intro { position: relative; z-index: 2; }
.home-tag {
  margin-bottom: clamp(21px, 2.1vw, 31px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #295775;
  border-radius: 100px;
  padding: 5px 12px;
  background: #102b40;
  color: #c2eaff;
  font-size: .78rem;
  font-weight: 580;
  letter-spacing: .018em;
}
.home-wave {
  display: inline-flex;
  height: 16px;
  align-items: center;
  gap: 2px;
  color: #69cfff;
}
.home-wave i {
  width: 2px;
  height: 20%;
  border-radius: 4px;
  background: currentColor;
}
.home-wave i:nth-child(2), .home-wave i:nth-child(6) { height: 43%; }
.home-wave i:nth-child(3) { height: 81%; }
.home-wave i:nth-child(4) { height: 100%; }
.home-wave i:nth-child(5) { height: 63%; }

.home-intro h1 {
  color: var(--lp-fg);
  font-size: clamp(3.45rem, 5.8vw, 5.65rem);
  line-height: .99;
  font-weight: 630;
  letter-spacing: -.055em;
}
.home-intro h1 span {
  display: block;
  color: #7dd3fc;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.06em;
  line-height: 1.09;
}
:lang(ja) .home-intro h1, :lang(zh-Hans) .home-intro h1 {
  font-size: clamp(3.05rem, 4.8vw, 4.55rem);
  letter-spacing: -.055em;
  line-height: 1.22;
}
:lang(ja) .home-intro h1 span, :lang(zh-Hans) .home-intro h1 span {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Songti SC", "Noto Serif CJK SC", serif;
  font-style: normal;
  line-height: 1.25;
}
:lang(vi) .home-intro h1 { font-size: clamp(2.8rem, 4.4vw, 4.45rem); line-height: 1.16; }
:lang(vi) .home-intro h1 span { line-height: 1.2; }
.home-lead {
  max-width: 440px;
  margin-top: 22px;
  color: var(--lp-fg-muted);
  font-size: clamp(1rem, 1.22vw, 1.13rem);
  line-height: 1.63;
  text-wrap: pretty;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 25px;
  margin-top: 29px;
}
.home-start, .home-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .63rem;
  min-height: 46px;
  font-size: .94rem;
  font-weight: 650;
}
.home-start {
  border-radius: 100px;
  background: var(--lp-accent);
  color: #061c2e;
  padding: 0 22px;
  transition: transform .2s, background .2s;
}
.home-start span { font-family: system-ui, sans-serif; font-size: 1.25em; }
.home-start:hover { color: #061c2e; background: var(--lp-accent-hover); transform: translateY(-2px); }
.home-explore { color: #deecf7; }
.home-down {
  display: inline-grid;
  width: 23px;
  height: 23px;
  place-content: center;
  border: 1px solid #68889e;
  border-radius: 50%;
  font-size: .9rem;
}
.home-explore:hover { color: var(--lp-accent-hover); }

.home-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: clamp(350px, 27vw, 410px);
}
.home-preview {
  width: min(100%, 374px);
  margin-left: 10%;
  position: relative;
  border: 1px solid #426580;
  border-radius: 16px;
  background: linear-gradient(135deg, rgb(27 54 76 / .97), rgb(13 31 49 / .96));
  box-shadow: 0 14px 36px rgb(3 12 23 / .36), inset 0 1px rgb(222 242 255 / .05);
  padding: 11px 18px 16px;
  color: var(--lp-fg);
}
.home-preview-head, .home-preview-title, .home-controls, .home-example p {
  display: flex;
  align-items: center;
}
.home-preview-head {
  justify-content: space-between;
  gap: 4px;
  min-height: 33px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgb(198 227 247 / .16);
}
.home-preview-title { gap: 7px; font-size: .77rem; font-weight: 620; color: #dcebf8; }
.home-preview-title .home-wave { height: 13px; gap: 1.5px; }
.home-controls { gap: 4px; }
.home-controls[hidden] { display: none; }
.home-count { font: .64rem var(--lp-font-mono); color: #b1c7d8; margin-right: 4px; white-space: nowrap; }
.home-controls button {
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  width: 28px;
  height: 28px;
  font: 1.25rem/1 system-ui, sans-serif;
  color: #e7f4ff;
  border: 1px solid #4c6b85;
  border-radius: 50%;
  background: #213b50;
  cursor: pointer;
}
.home-controls button:hover { background: #275674; }
.home-dialogue { padding-top: 12px; }
.home-example p { gap: 10px; align-items: baseline; font-size: .87rem; line-height: 1.65; color: #c6d8e5; }
.home-example p + p { margin-top: 6px; }
.home-example strong { font-weight: 580; color: #fff; }
.home-lang {
  display: inline-grid;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 4px;
  background: #263e50;
  color: #e0ecf5;
  font: 600 .61rem/1.7 var(--lp-font-mono);
}
.home-example p + p .home-lang { background: #15445e; color: #b6eaff; }
.home-modes {
  color: var(--lp-fg);
  background: rgb(14 38 58 / .28);
  border-block: 1px solid var(--lp-border);
  padding: clamp(40px, 4vw, 65px) 0 clamp(46px, 5vw, 72px);
  scroll-margin-top: 60px;
}
.home-modes-head {
  display: flex;
  gap: 15px 48px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.home-modes-head h2 {
  max-width: 760px;
  font-size: clamp(1.8rem, 3.1vw, 3rem);
  font-weight: 600;
  letter-spacing: -.052em;
  line-height: 1.16;
  text-wrap: balance;
}
.home-modes-head p { max-width: 340px; font-size: .92rem; line-height: 1.55; color: var(--lp-fg-muted); }
.home-mode-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-mode {
  height: 100%;
  display: block;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d5e1e9;
  color: #142738;
  transition: box-shadow .25s, border-color .25s;
}
.home-mode:hover { color: #123956; border-color: #609bbd; box-shadow: 0 8px 24px rgb(28 77 109 / .09); }
.home-mode-text { padding: 18px 20px 22px; }
.home-mode-text h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  font-size: 1.19rem;
  letter-spacing: -.03em;
  line-height: 1.35;
}
.home-mode-text h3::after { content: "↗" / ""; flex: none; color: #406b87; }
.home-mode-text p { margin-top: 6px; color: #465c6c; font-size: .9rem; line-height: 1.6; }
.home-illustration {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  height: clamp(112px, 10.8vw, 156px);
  overflow: hidden;
  perspective: 650px;
}
.home-illustration--voice { background: radial-gradient(ellipse at 55% 85%, #a4d9f6, transparent 72%), #d9f0fc; }
.home-illustration--captions { background: radial-gradient(ellipse at 60% 90%, #b9d3ee, transparent 70%), #e0eaf6; }
.home-illustration--transcript { background: radial-gradient(ellipse at 48% 85%, #a9d7d1, transparent 73%), #d8eeea; }
.home-speech, .home-captions, .home-paper { transition: transform .35s cubic-bezier(.2,.75,.2,1); }
.home-speech {
  position: absolute;
  display: grid;
  place-items: center;
  width: 91px;
  height: 47px;
  border: 1px solid rgb(61 129 168 / .25);
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 4px 1px #4b8eb3, 0 9px 12px rgb(45 97 134 / .17);
}
.home-speech--first { background: #f4fbff; transform: translate(-24px, -11px) rotate(-9deg); }
.home-speech--reply { background: #1b80b6; transform: translate(31px, 15px) rotate(6deg); }
.home-speech .home-wave { color: #2279ac; height: 24px; gap: 3px; }
.home-speech--reply .home-wave { color: #f5fcff; }
.home-speech .home-wave i { width: 4px; }
.home-mode:hover .home-speech--reply { transform: translate(35px, 11px) rotate(3deg); }
.home-captions {
  width: min(180px, 76%);
  color: #353c5f;
  background: #f5f8ff;
  box-shadow: 0 4px 1px #91a8c7, 0 10px 19px rgb(67 84 123 / .18);
  transform: rotate(-5deg) rotateY(-10deg);
  border: 1px solid #b6c9df;
  padding: 11px 14px;
  border-radius: 9px;
}
.home-captions span { display: block; font-size: .81rem; font-weight: 650; line-height: 1.5; }
.home-captions span + span { border-top: 1px solid #d7e0ed; padding-top: 5px; margin-top: 5px; color: #426393; }
.home-mode:hover .home-captions { transform: rotate(-2deg) rotateY(0deg) translateY(-3px); }
.home-paper {
  position: relative;
  width: 69px;
  height: 82px;
  padding: 10px;
  border: 1px solid #9bc9c6;
  border-radius: 6px;
  background: #f6fffc;
  box-shadow: 3px 3px #aed9d1, 4px 5px #83b8b0, 5px 10px 16px rgb(47 91 85 / .17);
  transform: rotate(9deg) rotateY(-9deg);
}
.home-paper-fold {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 17px;
  height: 17px;
  background: linear-gradient(45deg, #abd4cd 49%, #c7e5de 50%);
  border-radius: 0 5px 0 4px;
}
.home-paper .home-wave { color: #398579; height: 19px; }
.home-paper > i { display: block; height: 3px; border-radius: 3px; margin: 5px 0; background: #9dc8bd; }
.home-paper > i:last-child { width: 60%; }
.home-mode:hover .home-paper { transform: rotate(4deg) translateY(-4px); }
.lp-home .lp-section .lp-container { --lp-container-max: 1250px; }
.lp-home .lp-section { padding-block: clamp(44px, 5vw, 76px); }
.lp-home .lp-section:nth-child(even) { background: rgb(11 25 43 / .30); }
.lp-home .lp-footer { background: rgb(10 21 35 / .5); }
.lp-home .lp-section-header h2 { letter-spacing: -.035em; }
.lp-home .lp-feature-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); }

@media (min-width: 769px) and (max-width: 980px) {
  .lp-home .lp-nav { display: none; }
  .lp-home .lp-nav-toggle { display: flex; }
  .lp-home .lp-mobile-menu.is-open { display: block !important; }
}
@media (max-width: 850px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .home-intro h1 { font-size: 3.55rem; }
  .home-modes-head { align-items: start; flex-direction: column; gap: 9px; }
  .home-modes-head p { max-width: 540px; }
  .home-mode-list { gap: 12px; }
}
@media (max-width: 700px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 38px 27px; }
  .home-tag { margin-bottom: 18px; }
  .home-intro h1 { font-size: clamp(3.1rem, 10vw, 4.3rem); }
  :lang(ja) .home-intro h1, :lang(zh-Hans) .home-intro h1 { font-size: clamp(2.7rem, 9vw, 3.7rem); }
  :lang(vi) .home-intro h1 { font-size: clamp(2.5rem, 8.4vw, 3.3rem); }
  .home-lead { margin-top: 14px; }
  .home-actions { margin-top: 21px; gap: 10px 17px; }
  .home-stage { min-height: clamp(180px, 42vw, 260px); justify-content: flex-end; }
  .home-backdrop { width: 165vw; right: -36%; top: 49%; opacity: .39; }
  .home-preview { width: min(90%, 344px); margin: 0; }
  .home-mode-list { grid-template-columns: 1fr; }
  .home-mode { display: grid; grid-template-columns: minmax(100px, 28%) 1fr; }
  .home-illustration { height: 100%; min-height: 124px; }
  .home-mode-text { padding: 16px; align-self: center; }
  .home-speech { width: 64px; height: 37px; }
  .home-speech--first { transform: translate(-10px, -15px) rotate(-9deg); }
  .home-speech--reply { transform: translate(10px, 15px) rotate(6deg); }
  .home-mode:hover .home-speech--reply { transform: translate(12px, 12px) rotate(3deg); }
  .home-captions { padding: 8px; width: 85%; }
  .home-captions span { font-size: .58rem; }
}
@media (max-width: 380px) {
  .home-preview { width: 100%; padding-inline: 12px; }
  .home-mode { grid-template-columns: 83px 1fr; }
  .home-speech { width: 55px; }
  .home-mode-text { padding-inline: 12px; }
}
@media (pointer: coarse) {
  .home-controls button { width: 40px; height: 40px; }
}
/* Keep language navigation and common destinations available without scripting. */
@media (max-width: 1180px) {
  .no-js .lp-home .lp-header { position: static; }
  .no-js .lp-home .lp-header .lp-container { flex-wrap: wrap; gap: 5px 18px; }
  .no-js .lp-home .lp-nav-toggle { display: none; }
  .no-js .lp-home .lp-nav { display: block; }
  .no-js .lp-home .lp-nav-list { flex-wrap: wrap; gap: 6px 12px; }
  .no-js .lp-home .lp-lang-dropdown { left: 0; right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .home-backdrop.has-ripple .home-art { visibility: visible; }
  .home-backdrop.has-ripple .home-ripple { display: none; }
  .home-start:hover { transform: none; }
  .home-mode:hover .home-speech--reply, .home-mode:hover .home-captions, .home-mode:hover .home-paper { transform: revert; }
  .home-mode .home-speech--reply { transform: none; margin: 25px 0 0 26px; }
  .home-mode .home-speech--first { transform: none; margin: -16px 26px 0 0; }
  .home-mode .home-captions, .home-mode .home-paper { transform: none; }
}
