:root {
  color-scheme: dark;
  --paper: #f6f0df;
  --muted: #c1ccc5;
  --edge: #8e9c904d;
  --highlight: #f4d698;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: #17231f; color: var(--paper); font: 1rem/1.6 "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #f8c875; outline-offset: 4px; }
.wrap { width: min(1220px, calc(100% - 88px)); margin-inline: auto; }
.bar, .bar nav, .brand, .actions, .button { display: flex; align-items: center; }
.bar { justify-content: space-between; min-height: 76px; border-bottom: 1px solid var(--edge); }
.bar nav { gap: 1.35rem; font-size: .875rem; }
.bar nav a, .brand { padding-block: .6rem; text-decoration: none; }
.bar nav a { color: var(--muted); }
.bar nav a:hover { color: var(--paper); }
header.bar nav a { white-space: nowrap; }
#shop-link { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; color: var(--highlight); font-weight: 600; }
.brand { gap: .6rem; font-size: 1.25rem; font-weight: 600; white-space: nowrap; }
.brand-name { letter-spacing: -.045em; }
.brand-zh, html:lang(zh) .brand-name { font: 600 1.18rem/1.25 "Songti SC", "STSong", serif; letter-spacing: .08em; }
header.bar .language-picker { position: relative; margin: 0; padding: 0; border: 0; color: var(--muted); font-size: .85rem; }
.language-picker:has([data-language-link][hidden]) { display: none; }
.language-picker summary { display: flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 400; list-style: none; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary::after { content: ""; width: .36rem; height: .36rem; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.language-picker[open] summary::after { transform: translateY(1px) rotate(225deg); }
.language-picker summary:hover { color: var(--paper); }
.language-options { position: absolute; z-index: 5; inset-inline-end: 0; top: 100%; min-width: 10rem; padding: .3rem; background: #22332b; border: 1px solid var(--edge); border-radius: .65rem; box-shadow: 0 .5rem 1.5rem #10181960; }
header.bar .language-options a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 44px; padding: .4rem .65rem; border-radius: .35rem; }
header.bar .language-options a:hover, header.bar .language-options a:focus-visible { background: #34483d; }
.language-options [aria-current]::after { content: ""; width: .32rem; height: .6rem; border: solid var(--highlight); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
html:lang(zh) :is(h1,h2) { font-family: "Songti SC", "STSong", serif; line-height: 1.16; letter-spacing: -.025em; }
.brand img { flex: none; }
main { background: radial-gradient(ellipse at 82% 14%, #304439, transparent 46%), #17231f; }
[data-landing="snow"] main { background: radial-gradient(ellipse at 82% 14%, #354c60, transparent 46%), #182530; }
.hero {
  display: grid; grid-template-columns: minmax(17rem, .78fr) minmax(0, 1.22fr);
  grid-template-areas: "intro film" "store film";
  gap: 1.25rem clamp(2rem, 4vw, 4rem); align-items: center; padding-block: clamp(3.5rem, 6vw, 5.5rem); min-height: 530px;
}
.intro { grid-area: intro; align-self: end; }
.scene { grid-area: film; display: flex; flex-direction: column; }
.store { grid-area: store; align-self: start; }
.update-guide,
.store:is(.update-visit, [data-live-store]:target) :is(#buy, #release-status, #checkout-status, .license-summary, .workspace-link, .mobile-handoff, .checkout-noscript),
.store:has(#purchase-next:not([hidden])) :is(.license-summary, .workspace-link, .mobile-handoff) { display: none; }
.store:is(.update-visit, [data-live-store]:target) .update-guide { display: block; }
.update-guide h2 { font-size: 1.6rem; }
.update-guide p, p.update-guide { color: var(--muted); font-size: .9rem; line-height: 1.5; margin-block: .65rem; }
.small { font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--highlight); margin: 0 0 1.25rem; }
h1, h2 { font: 400 1em/1.06 "Instrument Serif", Georgia, serif; margin: 0; }
h1 { font-size: clamp(3.6rem, 5.5vw, 5.4rem); line-height: .96; letter-spacing: -.058em; }
.lede { font-size: 1.12rem; line-height: 1.55; color: var(--muted); max-width: 35ch; margin: 1.35rem 0 0; }
.license-summary { max-width: 42ch; margin: 0 0 .8rem; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.license-summary strong { color: var(--paper); font-weight: 600; }
.license-summary a { text-underline-offset: .2em; }
.workspace-link {
  display: inline-flex; align-items: center; gap: .65rem; max-width: 100%; margin-top: .8rem;
  padding: .28rem .65rem .28rem .28rem; border: 1px solid var(--edge); border-radius: 8px;
  color: var(--paper); font-size: .82rem; line-height: 1.35; text-underline-offset: .2em;
}
.workspace-link:hover { border-color: var(--highlight); }
.workspace-thumbnails { display: flex; gap: .25rem; }
.workspace-thumbnails img { display: block; width: clamp(3.5rem, 17vw, 4rem); height: auto; border-radius: 4px; }
.mobile-handoff { display: none; }
.mobile-handoff .status { margin: 0; }
.mobile-handoff .status:not(:empty) { margin-bottom: .35rem; }
.handoff-link { min-height: 44px; padding: 0; border: 0; background: none; color: var(--paper); font: inherit; font-size: .9rem; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.mobile-handoff input { width: 100%; padding: .45rem .6rem; border: 1px solid var(--edge); border-radius: 6px; background: #101819; color: var(--paper); font: inherit; font-size: .9rem; }
.actions { flex-wrap: wrap; gap: .7rem; }
.button {
  display: inline-flex; min-height: 44px; padding: .6rem 1.1rem; border: 1px solid var(--edge); border-radius: 100px;
  text-decoration: none; background: #283730; color: var(--paper); font: inherit; font-size: .94rem; font-weight: 600; cursor: pointer;
}
.primary { background: var(--highlight); color: #20291f; border-color: transparent; }
.film-control {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%;
  padding: 0; border: 0; border-radius: 12px; background: transparent; font: inherit; cursor: pointer;
}
.film-link { gap: .65rem; margin-block-start: .4rem; padding-inline: 0; color: var(--paper); background: transparent; border-color: transparent; }
#watch-icon { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; color: #20291f; background: var(--highlight); font-size: .72rem; }
.film-control:hover #watch-label { text-decoration: underline; text-underline-offset: .24em; }
.film-control:hover .film-link { filter: brightness(1.1); }
.text-link { font-size: .9rem; text-underline-offset: .28rem; padding: .55rem .25rem; }
.button:hover { filter: brightness(1.1); }
.status, figcaption { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.purchase-next { margin-top: 1.25rem; padding: 1rem 0 0; border-top: 1px solid var(--edge); }
.purchase-next h2 { font-size: 1.7rem; }
.purchase-next p { margin: .65rem 0; font-size: .94rem; line-height: 1.5; color: var(--muted); }
.purchase-next strong { color: var(--paper); font-weight: 600; }
.purchase-next .actions { margin-top: .9rem; }
.purchase-steps { margin: .9rem 0; padding-inline-start: 1.25rem; font-size: .94rem; line-height: 1.5; color: var(--muted); }
.purchase-steps li + li { margin-top: .55rem; }
.status { margin: .75rem 0 0; }
.scene, .app-shot { margin: 0; min-width: 0; }
.screen { display: block; width: 100%; overflow: hidden; border: 1px solid var(--edge); border-radius: 12px; background: #101819; box-shadow: 0 24px 56px #0d141d61; }
.screen img, .screen video { display: block; width: 100%; aspect-ratio: 8/5; height: auto; object-fit: contain; }
.scene figcaption { margin: 10px 2px 0; }
.app-section { color: #243529; background: #eeeee2; }
.app-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(240px,1.25fr); align-items: center; gap: clamp(2rem,6vw,5rem); padding-block: clamp(3.8rem, 7vw, 6rem); }
.forecast-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.25fr); align-items: center; gap: clamp(2rem,6vw,5rem); padding-block: 2.8rem; border-top: 1px solid #a8b2a3; }
#hourly-forecast:focus-visible { outline-color: currentColor; }
.app-copy { max-width: 27rem; }
.app-copy h2, .questions h2 { font-size: clamp(2.55rem,4vw,4.5rem); letter-spacing: -.045em; }
.app-copy p { color: #445446; line-height: 1.65; }
.app-copy strong { font-weight: 600; color: #233527; }
.app-shot { display: grid; gap: .55rem; }
.app-shot img, .app-shot video { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 14px 30px #29382728; }
.app-shot video { aspect-ratio: 8/5; object-fit: contain; }
.app-shot figcaption { color: #475647; }
.forecast-shot { width: min(100%, 435px); }
.daylight { border-top: 1px solid #a8b2a3; padding-block: clamp(2rem, 4.5vw, 3.5rem) 3.8rem; }
.daylight h2 { font-size: clamp(2.25rem, 3.4vw, 3.4rem); letter-spacing: -.04em; }
.daylight p { max-width: 59ch; color: #445446; margin: .75rem 0 1.5rem; }
.sky-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(1rem, 2.5vw, 2rem); }
.clip-caption { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .9rem; }
.clip-caption:not(:has(> :not([hidden]))) { display: none; }
.clip-play { min-height: 44px; padding: 0; border: 0; background: transparent; color: #243529; font: inherit; font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: .25rem; cursor: pointer; }
.clip-status { flex-basis: 100%; }
.questions { max-width: 900px; padding-block: 4rem; }
.questions h2 { margin-bottom: 1.4rem; }
.questions p, .legal p { color: var(--muted); max-width: 58ch; }
.order-reference { max-width: 25rem; padding: .5rem .75rem .75rem; border: 1px solid var(--edge); border-radius: 8px; }
.order-reference-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-bottom: .2rem; }
.order-reference code { display: block; overflow-wrap: anywhere; user-select: text; }
.copy-reference { padding-inline: .8rem; font-size: .82rem; }
details { border-top: 1px solid var(--edge); padding: .85rem 0; }
details:last-child { border-bottom: 1px solid var(--edge); }
summary { cursor: pointer; font-weight: 600; }
footer.bar { border-block: 1px solid var(--edge) 0; }
footer.bar nav { flex-wrap: wrap; justify-content: flex-end; row-gap: 0; }
.legal { padding-block: 3rem 4rem; }
.legal h1 { font-size: 3.5rem; }
.legal h2 { font-size: 2rem; margin-top: 2rem; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .hero { column-gap: 1.5rem; grid-template-columns: minmax(15rem,.82fr) minmax(0,1.18fr); }
  h1 { font-size: clamp(3rem,6vw,4rem); }
}
@media (max-width: 680px), (max-height: 720px) {
  .film-link { margin-block-start: .15rem; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .bar { min-height: 59px; }
  .bar nav { gap: .9rem; }
  header .brand { gap: .4rem; }
  header .brand-name { font-size: 1.08rem; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "intro" "film" "store"; gap: 1rem; min-height: auto; padding-block: 1.75rem 2rem; }
  .small { margin-bottom: .7rem; }
  h1 { font-size: clamp(3rem,11vw,4.3rem); }
  .lede { max-width: 42ch; margin-top: .9rem; font-size: 1rem; }
  .mobile-handoff { display: block; }
  .status { margin-top: .55rem; }
  .app-layout, .forecast-layout { grid-template-columns: 1fr; gap: 1.35rem; padding-block: 2.5rem; }
  .app-copy p:last-child { margin-bottom: 0; }
  .questions { padding-block: 2.7rem; }
  footer.bar { flex-direction: column; align-items: flex-start; padding-block: .65rem; }
  footer.bar nav { justify-content: flex-start; }
}
@media (max-width: 520px) {
  header.bar { flex-wrap: wrap; column-gap: .7rem; }
  header.bar nav { gap: .65rem; }
  .sky-pair { grid-template-columns: 1fr; }
  .daylight { padding-bottom: 2.5rem; }
}

@media (max-width: 400px) {
  header.bar { gap: 0 .5rem; }
  header.bar nav { margin-inline-start: auto; gap: .65rem; }
}
