:root {
  color-scheme: dark;
  --night: #101a26;
  --ink: #f3f3ee;
  --dim: #c0c7cb;
  --line: #384450;
  --warm: #ffc797;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--night);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 4.7rem;
}
html[lang="ja"], [lang="ja"] { word-break: auto-phrase; line-break: strict; }
/* Han characters differ between Simplified Chinese, Traditional Chinese and Japanese: each page, and each name or link marked with another language, asks for its own fonts. */
[lang="zh-Hans"], [lang="zh-CN"] { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
[lang="zh-Hant"] { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif; }
[lang="ja"] { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--warm); outline-offset: 5px; }
.shell { width: min(1160px, 89%); margin-inline: auto; }
.top { position: sticky; top: 0; z-index: 2; background: #101a26; border-bottom: 1px solid var(--line); }
.top .shell, .links, .langs, .identity, .foot .shell, .foot-links { display: flex; align-items: center; }
.top .shell { min-height: 4.6rem; gap: 1rem clamp(.9rem, 3vw, 2.5rem); }
.identity { gap: .68rem; text-decoration: none; font-weight: 650; font-size: 1.3rem; letter-spacing: -.035em; }
.identity img { width: 2.25rem; height: 2.25rem; border-radius: 50%; }
.links { margin-left: auto; gap: clamp(.9rem, 3vw, 2.5rem); }
.links a, .langs a, .foot a { text-decoration: none; }
.links a:hover, .langs a:hover, .foot a:hover { text-decoration: underline; text-underline-offset: .25em; }
.links a { font-size: .95rem; }
.langs { flex-wrap: wrap; gap: .3rem 1.05rem; border-left: 1px solid #58616c; padding-left: clamp(.85rem, 2.4vw, 1.8rem); }
.links a, .langs a { display: inline-block; padding-block: .45rem; }
.langs a { font-size: .95rem; color: var(--dim); }
.langs a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.hero { isolation: isolate; overflow: hidden; position: relative; background: #243345; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero::before { background: url("blue-hour.jpg") center 59% / cover no-repeat; }
.hero::after { background: linear-gradient(90deg, rgba(10,19,32,.9) 0%, rgba(10,19,32,.78) 31%, rgba(10,19,32,.22) 70%, rgba(10,19,32,.12)), linear-gradient(0deg, rgba(10,19,32,.40), transparent 38%); }
.hero .shell { position: relative; display: grid; grid-template-columns: 1fr .88fr; align-items: center; gap: 3rem; min-height: clamp(33rem, 43vw, 40rem); padding-block: 4.3rem 5rem; }
.availability { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 1.4rem; font-size: .94rem; color: #fff1df; }
.availability .status { display: inline-flex; align-items: center; gap: .6rem; }
.availability .status::before { content: ""; height: 1px; width: 1.5rem; background: #efad7d; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(3.4rem, 6.6vw, 6.1rem); line-height: 1.12; letter-spacing: -.055em; font-weight: 650; }
h1 span { display: block; }
html[lang=en] h1 { font-size: clamp(3rem, 5vw, 4.6rem); }
html[lang="ja"] h1 { font-size: clamp(2.5rem, 4.5vw, 4.1rem); letter-spacing: -.03em; }
.intro { margin-top: 1.5rem; max-width: 28rem; color: #f0f0ee; font-size: 1.09rem; line-height: 1.8; text-wrap: pretty; }
.action { display: inline-block; margin-top: 1.9rem; padding: .78rem 1.3rem; border-radius: 2rem; background: #ffd0a7; color: #28221e; font-size: 1rem; font-weight: 650; text-decoration: none; }
.action:hover { background: #ffe1c7; }
.scene { margin: 0; padding-block: 1rem; perspective: 1000px; }
.window { transform: rotateY(-8deg) rotateZ(-1deg); }
.screen { width: 100%; aspect-ratio: 1.94; border: 1px solid rgba(255,255,255,.68); border-radius: 4.5% / 9%; box-shadow: 0 1.5rem 3.5rem rgba(6,13,24,.38), 0 3rem 6rem -1.5rem rgba(176,196,255,.22), inset 0 0 2px white; background: #121a28 url("night-sky.jpg") center / cover; }
.grabber { width: 15%; height: .4rem; margin: .95rem auto 0; border-radius: 1rem; background: rgba(255,255,255,.62); box-shadow: 0 1px 6px rgba(6,13,24,.35); }
figcaption { margin-top: 1.1rem; text-align: right; font-size: .8rem; color: #fff; text-shadow: 0 1px 5px #000, 0 1px 12px #000; }
.details { padding-block: clamp(3rem, 7vw, 6rem); }
.section-title { font-size: clamp(1.85rem, 3.6vw, 3rem); letter-spacing: -.045em; line-height: 1.2; margin-bottom: 2.3rem; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 7rem); }
.feature { padding-top: 1.3rem; border-top: 1px solid var(--line); }
.feature h3 { font-size: 1.3rem; line-height: 1.6; font-weight: 600; }
.feature .spec { display: block; margin: .45rem 0 .7rem; font-weight: 530; font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.2; letter-spacing: -.055em; color: var(--warm); }
.feature p { color: var(--dim); font-size: 1rem; line-height: 1.8; max-width: 31rem; }
.setup { background: #172431; border-block: 1px solid var(--line); }
.setup .shell { display: grid; grid-template-columns: .9fr 1.2fr; gap: 3rem; align-items: start; padding-block: clamp(2.4rem, 5vw, 4rem); }
.setup h2 { margin-bottom: .65rem; }
.setup ul { margin: 0; padding-left: 1.28rem; font-size: 1rem; color: var(--dim); line-height: 1.8; }
.setup li + li { margin-top: .3rem; }
.setup li::marker { color: var(--warm); }
.text-link { color: var(--warm); text-decoration-thickness: 1px; text-underline-offset: .25em; line-height: 1.8; }
.foot .shell { flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 2rem; }
.foot p { color: var(--dim); font-size: .88rem; line-height: 1.7; }
.foot-links { flex-wrap: wrap; gap: 1.3rem; font-size: .95rem; }
/* Numbered steps on the home pages and in the support guide. */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding-left: 2.6rem; }
.steps > li + li { margin-top: .85rem; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: .12rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 1px solid rgba(255,199,151,.7); color: var(--warm); font-size: .88rem; font-weight: 650; line-height: 1.6rem; text-align: center; }
.scenes { list-style: none; margin: clamp(2.6rem, 5vw, 4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.scenes li { padding: 1.35rem 1.4rem 1.45rem; border: 1px solid var(--line); border-radius: 1.1rem; background: linear-gradient(160deg, rgba(255,199,151,.07), rgba(255,199,151,0) 55%), #142030; }
.scenes h3 { font-size: 1.12rem; font-weight: 620; line-height: 1.5; }
.scenes p { margin-top: .4rem; color: var(--dim); font-size: .96rem; line-height: 1.75; }
.scenes-note { margin-top: 1rem; color: var(--dim); font-size: .9rem; line-height: 1.7; }
.ready { padding-block: 0 clamp(3rem, 6vw, 5rem); }
.ready .columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 7rem); }
.ready h3 { padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 1.12rem; font-weight: 620; line-height: 1.6; }
.ready ul { margin: .8rem 0 0; padding-left: 1.2rem; color: var(--dim); font-size: 1rem; line-height: 1.8; }
.ready li + li { margin-top: .25rem; }
.ready li::marker { color: var(--warm); }
.ready .limits li::marker { color: #8d98a2; }
.setup .steps { color: var(--dim); font-size: 1rem; line-height: 1.8; }
.faq { padding-block: clamp(3rem, 6vw, 5rem); }
.faq ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 8vw, 7rem); }
.faq li { border-top: 1px solid var(--line); }
.faq a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; text-decoration: none; font-size: 1.02rem; line-height: 1.6; }
.faq a::after { content: "→"; color: var(--warm); flex: none; }
.faq a:hover span { text-decoration: underline; text-underline-offset: .25em; }
.faq .more { margin-top: 1.6rem; }
.foot .legal { flex-basis: 100%; order: 3; margin-top: .2rem; font-size: .8rem; color: #97a1aa; max-width: 62rem; }

/* Support and privacy pages share the home pages' header, colours and footer. */
.page-langs { margin-left: auto; border-left: 0; padding-left: 0; }
.doc { max-width: 47rem; margin-inline: auto; padding: clamp(2.2rem, 5vw, 3.6rem) clamp(1.1rem, 5vw, 2.5rem) clamp(3rem, 6vw, 5rem); }
.doc [id] { scroll-margin-top: 1.5rem; }
.doc h1, .doc section > h2:first-child { font-size: clamp(2rem, 4.6vw, 2.9rem); line-height: 1.2; letter-spacing: -.04em; font-weight: 650; margin: 0 0 .9rem; padding-top: 0; border-top: 0; }
.doc h2, .doc h3 { font-size: 1.2rem; line-height: 1.5; font-weight: 620; margin: 2.3rem 0 .55rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.doc p, .doc li { color: var(--dim); font-size: 1.02rem; line-height: 1.85; }
.doc p { margin: .45rem 0 .8rem; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--warm); text-decoration-thickness: 1px; text-underline-offset: .2em; overflow-wrap: anywhere; }
.doc .steps { margin: .9rem 0 .4rem; }
.doc ul:not(.steps) { padding-left: 1.3rem; }
.doc ul:not(.steps) li::marker { color: var(--warm); }
.page-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0 0 1.5rem; font-size: .95rem; }
.doc .contact { margin: 1.2rem 0 .6rem; padding: 1.05rem 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: #172431; color: var(--ink); }
.contact a { font-weight: 600; }
.doc .updated { font-size: .92rem; }
/* One language at a time: the section named by the address (or Simplified Chinese) is shown, with its own header link, footer and highlighted language. */
@supports selector(main:has(section:target)) {
  .doc:not(:has(section:target, section :target)) > section:not(#zh),
  .doc:has(section:target, section :target) > section:not(:target):not(:has(:target)) { display: none; }
  body:not(:has(#zh-Hant:target, #zh-Hant :target)) [data-lang="zh-Hant"],
  body:not(:has(#en:target, #en :target)) [data-lang="en"],
  body:not(:has(#ja:target, #ja :target)) [data-lang="ja"],
  body:has(#zh-Hant:target, #zh-Hant :target, #en:target, #en :target, #ja:target, #ja :target) [data-lang="zh"] { display: none; }
  body:not(:has(#zh-Hant:target, #zh-Hant :target, #en:target, #en :target, #ja:target, #ja :target)) .page-langs a[href="#zh"],
  body:has(#zh-Hant:target, #zh-Hant :target) .page-langs a[href="#zh-Hant"],
  body:has(#en:target, #en :target) .page-langs a[href="#en"],
  body:has(#ja:target, #ja :target) .page-langs a[href="#ja"] { color: var(--ink); font-weight: 650; }
}
@supports not selector(main:has(section:target)) {
  [data-lang]:not([data-lang="zh"]) { display: none; }
}
@media(max-width: 750px) {
  .hero .shell { grid-template-columns: 1fr; gap: 1.4rem; min-height: auto; padding-block: 3.4rem 2.1rem; }
  .hero::after { background: linear-gradient(110deg,rgba(10,19,32,.77),rgba(10,19,32,.40) 70%,rgba(10,19,32,.24)); }
  .scene { width: min(87%, 27rem); justify-self: end; padding-block: 0; }
  .hero { background-position: center bottom; }
  figcaption { margin-top: .7rem; }
  .features { gap: 2rem; }
  .setup .shell { grid-template-columns: 1fr; gap: 1.25rem; }
  .scenes { grid-template-columns: 1fr; gap: .9rem; }
  .ready .columns, .faq ul { grid-template-columns: 1fr; gap: 0; }
  .ready .columns { row-gap: 2rem; }
  .foot .shell { flex-wrap: wrap; }
}
@media(max-width: 560px) {
  :root { scroll-padding-top: 5.4rem; }
  .shell { width: 89%; }
  .top .shell { flex-wrap: wrap; padding-top: .4rem; row-gap: .25rem; }
  .langs { flex-basis: 100%; margin: 0; padding: 0; border: 0; border-top: 1px solid var(--line); gap: 0; }
  .langs a { flex: 1 1 auto; padding-block: .7rem; text-align: center; white-space: nowrap; }
  .identity { font-size: 1.13rem; gap: .48rem; }
  .identity img { width: 1.85rem; height: 1.85rem; }
  .links a { font-size: .9rem; }
  .hero .shell { padding-top: 2.65rem; }
  .availability { margin-bottom: 1rem; }
  h1 { font-size: clamp(3rem, 13vw, 4.2rem); }
  html[lang=en] h1 { font-size: clamp(2.8rem, 12vw, 3.8rem); }
  html[lang="ja"] h1 { font-size: clamp(1.95rem, 8.4vw, 2.7rem); }
  .langs a { font-size: .88rem; }
  .intro { margin-top: 1rem; font-size: 1rem; }
  .action { margin-top: 1.25rem; }
  .features { grid-template-columns: 1fr; gap: 1.9rem; }
  .section-title { margin-bottom: 1.5rem; }
}
