@font-face {
  font-family: Geist;
  src: url('/assets/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f8f5ea;
  --ink: #26231b;
  --mute: #605d51;
  --yellow: #ffd649;
  --line: #ccc6b6;
  --width: 1280px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 22px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Geist, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  line-height: 1.5;
}
button,
a {
  font: inherit;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-underline-offset: 0.18em;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
video:focus-visible {
  outline: 3px solid #bb4000;
  outline-offset: 5px;
}
img,
video {
  display: block;
  max-width: 100%;
}
button {
  cursor: pointer;
}
.wrap {
  width: min(calc(100% - 9vw), var(--width));
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: 4px;
  left: 8px;
  z-index: 9;
  transform: translateY(-150%);
  padding: 9px 15px;
  background: white;
}
.skip:focus {
  transform: none;
}
.site-head {
  border-bottom: 1px solid var(--line);
}
.head-inner {
  min-height: 85px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand,
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-decoration: none;
}
.brand img {
  width: 42px;
  height: 42px;
}
.brand span {
  font-size: 21px;
  line-height: 1.04;
}
.brand small {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 580;
  letter-spacing: 0.01em;
}
.site-head nav,
.foot-top nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.4vw, 38px);
}
.site-head nav a,
.foot-top nav a {
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
}
.nav-link:hover,
.foot-top nav a:hover,
.try-link:hover {
  text-decoration: underline;
}
.lang {
  padding: 6px 0 6px 22px;
  border-left: 1px solid var(--line);
}
.nav-install {
  background: var(--ink);
  color: white;
  padding: 11px 19px;
  border-radius: 7px;
}
.nav-install:hover {
  background: #494536;
}
.hero {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: clamp(32px, 5vw, 82px);
  align-items: center;
  padding-block: clamp(42px, 5.3vw, 78px) clamp(56px, 6vw, 87px);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
.pitch h1 {
  font-size: clamp(76px, 7.7vw, 123px);
  font-weight: 800;
  letter-spacing: -0.083em;
  line-height: 0.94;
}
.pitch > p:not(.others) {
  color: #504d40;
  font-size: clamp(17px, 1.48vw, 21px);
  line-height: 1.52;
  max-width: 34ch;
  letter-spacing: -0.016em;
  margin-top: 27px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  flex-wrap: wrap;
  margin-top: 33px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 21px;
  font-size: 16px;
  font-weight: 720;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 8px;
}
.primary {
  background: var(--yellow);
  box-shadow: 0 4px 0 var(--ink);
}
.button:hover,
.key-row:hover kbd {
  transform: translateY(-1px);
}
.button:active,
.key-row:active kbd {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ink);
}
.primary img,
.store img {
  width: 22px;
  height: 22px;
}
.try-link {
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.try-link span {
  display: inline-block;
  margin-left: 3px;
}
.pitch .others {
  font-size: 13px;
  color: var(--mute);
  margin-top: 17px;
}
.others a {
  font-weight: 630;
}
.art {
  position: relative;
  display: block;
  isolation: isolate;
  aspect-ratio: 1.25;
  overflow: hidden;
  border-radius: 18px;
  background: #f6d75c;
  color: var(--ink);
  text-decoration: none;
}
.art picture,
.art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.watch {
  position: absolute;
  bottom: 20px;
  left: 21px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff9e9;
  color: #26231b;
  font-size: 15px;
  font-weight: 720;
  padding: 9px 15px 9px 9px;
  border: 1.5px solid var(--ink);
  border-radius: 30px;
  box-shadow: 0 3px 0 var(--ink);
}
.watch time {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  border-left: 1px solid #bcb6a4;
  padding-left: 11px;
  font-weight: 600;
}
.play-icon {
  border-radius: 50%;
  width: 31px;
  height: 31px;
  background: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.play-icon:after {
  content: '';
  display: block;
  margin-left: 3px;
  border-left: 9px solid #fff9e8;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.art:hover .watch {
  background: var(--yellow);
}
.demo-section {
  background: #26251e;
  color: #f8f5ea;
  padding-block: clamp(54px, 6.5vw, 94px);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 33px;
}
h2 {
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.066em;
  font-weight: 720;
}
.section-heading p,
.install-inner p {
  line-height: 1.55;
  color: var(--mute);
  max-width: 45ch;
  font-size: 16px;
}
.demo-section .section-heading p {
  color: #d9d7cb;
}
.demo-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 62px);
  align-items: center;
}
.screen {
  border: 1px solid #747365;
  background: #1b1a16;
  border-radius: 12px;
  overflow: hidden;
}
.viewport {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #14120e;
  aspect-ratio: 2.346;
  overflow: hidden;
}
.viewport:focus-visible {
  outline-offset: -5px;
  outline-color: var(--yellow);
}
.viewport video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.center-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.center-play .play-icon {
  width: 54px;
  height: 54px;
  background: #171610bf;
  border: 1px solid #ffffffa6;
}
.center-play .play-icon:after {
  border-width: 9px 0 9px 14px;
}
.is-playing .center-play {
  display: none;
}
.screen-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  font-size: 12px;
  color: #cecbbf;
}
.status {
  margin-left: auto;
  color: #f6d367;
  font-weight: 650;
}
.screen-bar time {
  padding-left: 10px;
  border-left: 1px solid #646257;
  font-variant-numeric: tabular-nums;
}
.key-controls {
  display: grid;
}
.key-row {
  display: flex;
  align-items: center;
  gap: 21px;
  background: none;
  border: 0;
  border-bottom: 1px solid #555449;
  padding: 19px 0;
  text-align: left;
  color: #faf8f0;
  touch-action: manipulation;
}
.key-row:first-child {
  border-top: 1px solid #555449;
}
.key-row kbd {
  min-width: 53px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #26221a;
  background: #eee9d9;
  border: 2px solid #15140e;
  border-radius: 8px;
  box-shadow: 0 4px 0 #100f0b;
  font:
    720 23px/1 Geist,
    sans-serif;
  transition: transform 0.1s;
}
.key-row.active kbd {
  background: var(--yellow);
  transform: translateY(3px);
  box-shadow: 0 1px 0 #100f0b;
}
.key-row strong,
.key-row small {
  display: block;
}
.key-row strong {
  font-size: 19px;
  letter-spacing: -0.025em;
}
.key-row small {
  margin-top: 2px;
  color: #d2cec0;
  font-size: 14px;
}
.guide {
  padding-block: clamp(54px, 6.5vw, 96px);
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: start;
  gap: clamp(30px, 6vw, 84px);
}
details {
  border-top: 1px solid #aca797;
}
details:last-child {
  border-bottom: 1px solid #aca797;
}
summary {
  cursor: pointer;
  list-style: none;
  font-size: 23px;
  font-weight: 690;
  letter-spacing: -0.035em;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
summary::-webkit-details-marker {
  display: none;
}
.expand::before {
  content: '+';
  font-size: 25px;
  font-weight: 450;
}
details[open] .expand::before {
  content: '−';
}
.details-body {
  padding-bottom: 18px;
}
.details-body p {
  color: var(--mute);
  max-width: 48ch;
  font-size: 15px;
}
.details-body dl {
  margin: 14px 0 0;
}
.details-body dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: 14px;
}
.details-body dd {
  margin: 0;
}
.details-body kbd {
  background: #fffdf3;
  font:
    620 13px Geist,
    sans-serif;
  border: 1px solid #969181;
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
}
.settings > div {
  overflow: hidden;
  border: 1px solid #d6cdb6;
  border-radius: 13px;
  background: #eee6cb;
  padding: 6%;
}
.settings img {
  height: auto;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 5px 19px #65512630;
}
.settings figcaption {
  font-size: 13px;
  color: var(--mute);
  margin-top: 10px;
}
.install {
  background: var(--yellow);
  padding-block: clamp(42px, 5.4vw, 76px);
  border-block: 1px solid #2e291c;
}
.install-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.install-inner h2 {
  font-size: clamp(37px, 3.9vw, 60px);
}
.install-inner p {
  color: #494027;
  margin-top: 13px;
}
.stores {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.store {
  background: var(--paper);
  box-shadow: 0 3px 0 var(--ink);
  min-width: 100px;
  font-size: 15px;
  padding: 10px 14px;
}
footer {
  padding-block: 32px 22px;
}
.foot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.foot-brand {
  font-size: 16px;
  gap: 8px;
}
.foot-top nav a {
  font-size: 13px;
}
footer p {
  font-size: 12px;
  color: var(--mute);
  margin-top: 17px;
}
.error {
  padding-block: 15vh;
}
.error h1 {
  font-size: 58px;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}
dialog {
  width: min(920px, 94vw);
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--paper);
  border-radius: 12px;
  color: var(--ink);
  box-shadow: 0 20px 76px #0006;
}
dialog::backdrop {
  background: #171510cc;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 15px;
  font-size: 15px;
}
.dialog-head button {
  font-size: 27px;
  background: none;
  border: 0;
  min-width: 42px;
  min-height: 40px;
}
.dialog-head strong {
  letter-spacing: -0.025em;
}
dialog video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #161512;
}
html:has(dialog[open]) {
  overflow: hidden;
}
:lang(zh-Hant) .pitch h1 {
  letter-spacing: -0.075em;
  font-size: clamp(65px, 6.6vw, 106px);
  line-height: 1.1;
}
:lang(zh-Hant) h2 {
  letter-spacing: -0.055em;
  line-height: 1.18;
}
@media (max-width: 850px) {
  .wrap {
    width: calc(100% - 8vw);
  }
  .head-inner {
    min-height: 72px;
  }
  .hero {
    gap: 24px;
  }
  .pitch h1 {
    font-size: clamp(64px, 8.5vw, 85px);
  }
  .pitch > p:not(.others) {
    font-size: 16px;
    margin-top: 19px;
  }
  .hero-actions {
    gap: 16px;
    margin-top: 24px;
  }
  .section-heading {
    align-items: start;
    gap: 24px;
  }
  .section-heading p {
    max-width: 37ch;
  }
  .demo-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 23px;
  }
  .key-row {
    padding: 14px 0;
    gap: 12px;
  }
  .key-row small {
    font-size: 13px;
  }
  .install-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .guide-grid {
    gap: 22px;
  }
}
@media (max-width: 650px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .head-inner {
    min-height: 66px;
    gap: 8px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .brand {
    gap: 7px;
  }
  .brand span {
    font-size: 17px;
  }
  .brand small {
    font-size: 10px;
  }
  .site-head nav {
    gap: 13px;
  }
  .site-head .nav-link {
    display: none;
  }
  .site-head .lang {
    border: 0;
    padding: 9px 0;
  }
  .site-head .nav-install {
    padding: 8px 11px;
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 34px 40px;
  }
  .pitch h1 {
    font-size: clamp(66px, 12vw, 80px);
  }
  .pitch > p:not(.others) {
    max-width: 45ch;
    font-size: 16px;
    margin-top: 15px;
  }
  .hero-actions {
    margin-top: 18px;
  }
  .pitch .others {
    margin-top: 13px;
  }
  .art {
    aspect-ratio: 1.52;
    border-radius: 12px;
  }
  .watch {
    bottom: 13px;
    left: 13px;
    font-size: 13px;
    padding: 6px 10px 6px 6px;
    gap: 8px;
  }
  .watch .play-icon {
    width: 25px;
    height: 25px;
  }
  .section-heading {
    display: block;
    margin-bottom: 23px;
  }
  .section-heading p {
    margin-top: 13px;
  }
  .demo-layout,
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .demo-layout {
    gap: 18px;
  }
  .key-row {
    padding: 13px 0;
  }
  .guide-grid {
    gap: 25px;
  }
  .demo-section,
  .guide {
    padding-block: 42px;
  }
  summary {
    font-size: 20px;
  }
  .install-inner {
    gap: 22px;
  }
  .stores {
    gap: 8px;
  }
  .store {
    min-width: auto;
    min-height: 45px;
    padding: 9px 11px;
  }
  .store img {
    height: 17px;
    width: 17px;
  }
  .foot-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
  .foot-top nav {
    gap: 20px;
  }
  .foot-brand {
    font-size: 15px;
  }
  :lang(zh-Hant) .pitch h1 {
    font-size: clamp(55px, 10.7vw, 68px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}

.guide-more {
  margin-top: 22px;
  font-weight: 650;
}
.handbook {
  max-width: 810px;
  padding-block: clamp(34px, 5vw, 70px);
}
.handbook nav,
.table-note {
  color: var(--mute);
  font-size: .92rem;
}
.handbook h1 {
  margin-top: .5em;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -.052em;
}
.handbook-intro {
  margin-block: 1.5rem 2.25rem;
  font-size: 1.16rem;
}
.handbook section + section {
  margin-top: 2.5rem;
}
.handbook h2 {
  margin-bottom: .75rem;
  font-size: clamp(1.45rem, 3.4vw, 2.1rem);
  line-height: 1.2;
}
.handbook table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 .65rem;
}
.handbook th, .handbook td {
  padding: .65rem .55rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.handbook thead th {
  background: var(--yellow);
}
.handbook tbody th {
  font-weight: 500;
}
.handbook kbd {
  font: inherit;
  font-weight: 650;
}
.handbook ol {
  padding-inline-start: 1.5rem;
}
.handbook li + li {
  margin-top: .6rem;
}
.handbook-links {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}
