@font-face {
  font-family: "Kingnam Bobo";
  src: url("./assets/kingnam-bobo-bold-web-subset.ttf?v=20260928-labels") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: only light;
  color: #000;
  background: #fdf7e8;
  font-family: "Kingnam Bobo", "荆南波波黑", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --stage-width: 1440px;
  --system-font: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --glass-shadow: 0 8px 24px rgb(0 0 0 / 12%),
    inset 1px -1px 3px rgb(0 0 0 / 10%),
    inset -1px 2px 3px rgb(255 255 255 / 60%);
}

* { box-sizing: border-box; }
html, body { width: 100%; min-width: 320px; min-height: 100%; margin: 0; overscroll-behavior-y: none; }
body { overflow-x: clip; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100svh;
  height: 100dvh;
  min-height: 620px;
  overflow: clip;
  background: #fdf7e8;
}
.world {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: #fdf7e8 url("./assets/llk-website-background-desktop.webp") center bottom / cover no-repeat;
}
.design-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--stage-width);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
}
.brand {
  position: absolute;
  z-index: 3;
  top: max(32px, env(safe-area-inset-top));
  left: max(32px, env(safe-area-inset-left));
  width: 110px;
  height: 36px;
  margin: 0;
}
.brand img { display: block; width: 110px; height: 36px; object-fit: cover; }
.site-nav {
  position: absolute;
  z-index: 10;
  top: max(40px, calc(env(safe-area-inset-top) + 8px));
  left: max(174px, calc(env(safe-area-inset-left) + 142px));
  font-family: var(--system-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
.site-nav-links { display: flex; gap: 32px; }
.site-nav-links a { color: #565656; text-decoration: none; }
.site-nav-links a[aria-current="page"] { color: #000; font-weight: 500; }
.site-nav-links a:hover { color: #000; }
.site-nav-links img, .site-nav-toggle { display: none; }
.site-nav-toggle { user-select: none; -webkit-tap-highlight-color: transparent; }
.brand:focus-visible, .site-nav a:focus-visible, .site-nav-toggle:focus-visible {
  outline: 2px solid #126e82;
  outline-offset: 4px;
  border-radius: 4px;
}
.hero { position: absolute; inset: 0; }
.hero h1 {
  position: absolute;
  top: 30.740741%;
  left: 50%;
  width: 40.069444%;
  height: 10.246914%;
  margin: 0;
  transform: translateX(-50%);
}
.headline-desktop {
  position: absolute;
  top: 0;
  left: -2.26%;
  width: 104.85%;
}
.headline-desktop img, .headline-mobile img { display: block; width: 100%; height: auto; }
.headline-mobile { display: none; }
.downloads {
  position: absolute;
  top: 44.938272%;
  left: 50%;
  transform: translateX(-50%);
}
.download-options { display: flex; align-items: center; justify-content: center; gap: 24px; }
.download {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  width: 207px;
  height: 56px;
  padding: 16px 32px;
  border: 0;
  border-radius: 100px;
  background: #fff;
  box-shadow: 0 8px 8px rgb(0 0 0 / 4%);
  color: #000;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.download--android { width: 199px; }
.download-icon { display: block; width: 24px; height: 24px; flex: 0 0 auto; }
.download-icon--current { display: none; }
.download.is-current .download-icon--normal { display: none; }
.download.is-current .download-icon--current { display: block; }
.download.is-current { background: #000; box-shadow: 0 8px 16px rgb(0 0 0 / 20%); color: #fff; }
.download:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgb(0 0 0 / 20%); }
.download.is-current:hover { box-shadow: 0 8px 32px rgb(0 0 0 / 36%); }
.download:focus-visible, .feature-trigger:focus-visible, .site-filing:focus-visible { outline: 3px solid #3f3527; outline-offset: 5px; }
.no-script { margin: 12px 0; font-size: 14px; text-align: center; }

.features {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  height: 32px;
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
}
.feature { flex: 0 0 32px; width: 32px; height: 32px; }
.feature-divider { flex: 0 0 10px; display: grid; place-items: center; }
.feature-divider::before { content: ""; width: 2px; height: 16px; border-radius: 100px; background: #d6d6d6; }
.feature-trigger {
  position: relative;
  z-index: 1;
  display: block;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
.feature-trigger img { display: block; pointer-events: none; }
.feature-pill {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(var(--panel-width, 260px), calc(100vw - 32px));
  min-height: 126px;
  padding: 16px 20px;
  border-radius: 21px;
  background: rgb(255 255 255 / 4%);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  color: #3f3527;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 180ms ease-in-out, transform 180ms ease-in-out, visibility 180ms;
}
/* Keep the panel open through the gap and the spaces between triggers. */
.feature-pill::before { content: ""; position: absolute; right: 0; bottom: 100%; left: 0; height: 28px; }
.feature.is-open .feature-pill {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.feature-pill-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  white-space: nowrap;
}
.feature-pill-content img { display: block; flex: 0 0 auto; }
.feature-pill-detail {
  width: 100%;
  margin: 0;
  font-family: var(--system-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: justify;
  overflow-wrap: break-word;
}
.feature-pill-detail strong { color: #ff8e50; font-weight: 600; }
.feature--free { --panel-width: 220px; }
.feature--network { --panel-width: 286px; }
.feature--discovery { --panel-width: 290px; }
.feature--fast { --panel-width: 256px; }

.feature--support .feature-pill { min-height: 0; }
.feature--support .feature-trigger, .support-action { -webkit-tap-highlight-color: transparent; }
.support-hint { display: none; text-align: center; }
.support-qr {
  /* The downloads start 41px above the design center. The controls, panel spacing and footer take 287px of the remaining height. */
  width: 120px;
  width: clamp(48px, calc(max(620px, 100dvh) / 2 + var(--stage-width) * 41 / 1440 - 287px), 120px);
}
.support-qr img { display: block; width: 100%; height: auto; }
.support-actions { display: flex; justify-content: center; gap: 8px; padding: 4px 0; }
.support-action {
  display: inline-flex;
  align-items: center;
  height: 21px;
  border: 1px solid #000;
  border-radius: 4px;
  font: 400 12px / 17px var(--system-font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}
.support-action:focus-visible { outline: 2px solid #3f3527; outline-offset: 2px; }
.support-copy { padding: 0; background: transparent; color: #000; }
.support-copy-number { min-width: 79px; padding: 0 6px; text-align: center; }
.support-copy-icon { display: grid; place-items: center; width: 19px; height: 100%; background: #000; }
.support-direct { padding: 0 6px; background: #000; color: #fff; }

.toast {
  position: fixed;
  z-index: 100;
  top: max(80px, calc(env(safe-area-inset-top) + 16px));
  left: 50%;
  width: max-content;
  min-width: 240px;
  max-width: calc(100vw - 32px);
  min-height: 46px;
  margin: 0;
  padding: 12px 24px;
  border-radius: 21px;
  background: rgb(255 255 255 / 4%);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  color: #3f3527;
  font-family: var(--system-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
  overflow-wrap: anywhere;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 180ms ease-in-out;
}
.toast:empty { opacity: 0; }
.site-footer {
  position: absolute;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(30px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  color: #fff;
  font-family: var(--system-font);
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
  text-align: center;
}
.site-filing { color: inherit; text-decoration: none; }
.site-filing:hover { text-decoration: underline; }

@media (max-width: 1079px) and (min-width: 481px) {
  :root { --stage-width: calc(100vw * 1.3333333333); }
}
@media (max-width: 719px) and (min-width: 481px) {
  :root { --stage-width: 960px; }
}
@media (max-width: 480px) {
  :root {
    --stage-width: 402px;
    --mobile-viewport-height: 100svh;
    --mobile-usable-height: calc(var(--mobile-viewport-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    --mobile-headline-top: calc(clamp(72px, calc(72px + (var(--mobile-usable-height) - 600px) * .5), 200px) + env(safe-area-inset-top));
    --mobile-headline-width: clamp(236px, calc(236px + (var(--mobile-usable-height) - 600px) * .55), 282px);
    --mobile-headline-height: calc(var(--mobile-headline-width) * 124 / 282);
    --mobile-download-gap: clamp(20px, calc(var(--mobile-usable-height) - 740px), 32px);
    --mobile-button-gap: clamp(16px, calc(var(--mobile-usable-height) - 740px), 24px);
    --mobile-feature-gap: clamp(24px, calc(var(--mobile-usable-height) - 740px), 32px);
  }
  .landing { min-height: calc(600px + env(safe-area-inset-top) + env(safe-area-inset-bottom)); }
  .design-stage { top: 0; left: 0; width: 100%; height: 100%; aspect-ratio: auto; transform: none; }
  .brand { top: max(16px, env(safe-area-inset-top)); left: max(16px, env(safe-area-inset-left)); }
  .site-nav { top: max(24px, calc(env(safe-area-inset-top) + 8px)); right: max(16px, env(safe-area-inset-right)); left: auto; }
  .site-nav-toggle { display: flex; align-items: center; gap: 4px; padding: 0; border: 0; background: transparent; color: #565656; font: inherit; cursor: pointer; }
  .site-nav-toggle img { display: block; flex: none; }
  .site-nav-links { display: none; position: absolute; top: 28px; right: 0; width: 128px; padding: 4px; border-radius: 20px; background: #fff; box-shadow: 0 8px 16px rgb(0 0 0 / 12%); }
  .site-nav.is-open .site-nav-links { display: flex; flex-direction: column; gap: 3px; }
  .site-nav-links a { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 16px; color: #000; font-weight: 400; white-space: nowrap; }
  .site-nav-links a[aria-current="page"], .site-nav-links a:hover { background: #f6f6f6; font-weight: 400; }
  .site-nav-links img { display: block; flex: none; }
  .world { background-image: url("./assets/llk-website-background-mobile.webp"); }
  .hero h1 { top: var(--mobile-headline-top); width: var(--mobile-headline-width); height: var(--mobile-headline-height); }
  .headline-desktop { display: none; }
  .headline-mobile { display: flex; flex-direction: column; width: 100%; height: 100%; filter: drop-shadow(0 8px 8px #0000001f); }
  .headline-mobile-image { display: block; flex: 0 0 auto; width: 100%; height: 50%; }
  .downloads { top: calc(var(--mobile-headline-top) + var(--mobile-headline-height) + var(--mobile-download-gap)); }
  .download-options { flex-direction: column; gap: var(--mobile-button-gap); }
  .features { margin-top: var(--mobile-feature-gap); }
  .support-qr { display: none; }
  .support-hint { display: block; }
  .site-footer { display: flex; flex-direction: column; align-items: center; bottom: max(16px, env(safe-area-inset-bottom)); }
  .site-filing { order: -1; }
  .footer-divider { display: none; }
}
@supports (height: 100dvh) {
  @media (max-width: 480px) {
    :root { --mobile-viewport-height: 100dvh; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
