/* =========================================================
   哩里 · Android 下载页
   ========================================================= */

:root {
  --ink: #25231f;
  --ink-soft: #554f45;
  --muted: #8d8578;
  --line: rgba(104, 94, 80, 0.15);
  --paper: #f4f1e9;
  --gold: #a68b5d;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: #e6e2d9;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #e6e2d9;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
ol {
  margin: 0;
}

ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(166, 139, 93, 0.22);
}

/* ---------- page canvas ---------- */

.dl-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 10% 4%, rgba(255, 255, 252, 0.96), transparent 33%),
    radial-gradient(ellipse at 90% 14%, rgba(199, 220, 215, 0.66), transparent 39%),
    radial-gradient(ellipse at 55% 96%, rgba(241, 224, 203, 0.72), transparent 44%),
    linear-gradient(152deg, #f7f3e9 0%, #edf3ed 51%, #f3eadf 100%);
}

.dl-wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.dl-wash__a,
.dl-wash__b {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(38px);
}

.dl-wash__a {
  width: 42vw;
  height: 42vw;
  min-width: 420px;
  min-height: 420px;
  left: -14vw;
  top: 2vh;
  background: rgba(143, 191, 199, 0.44);
}

.dl-wash__b {
  width: 44vw;
  height: 44vw;
  min-width: 450px;
  min-height: 450px;
  right: -18vw;
  top: 34vh;
  background: rgba(234, 219, 197, 0.55);
}

.dl-wash__moon {
  position: absolute;
  top: -21vw;
  right: -8vw;
  width: 48vw;
  min-width: 520px;
  max-width: 760px;
  aspect-ratio: 1;
  opacity: 0.65;
  background: url("/assets/moon.svg") center / contain no-repeat;
  filter: saturate(0.65) contrast(1.03);
}

.dl-wash__grain {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
}

.dl-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fffdf5;
  box-shadow: 0 0 18px 5px rgba(255, 253, 245, 0.8);
  animation: dl-twinkle 5.5s ease-in-out infinite alternate;
}

.dl-spark--1 { left: 16%; top: 24%; }
.dl-spark--2 { right: 11%; top: 15%; animation-delay: -2s; }
.dl-spark--3 { right: 28%; top: 58%; width: 3px; height: 3px; animation-delay: -4s; }

@keyframes dl-twinkle {
  from { opacity: 0.3; transform: scale(0.7); }
  to { opacity: 0.92; transform: scale(1.1); }
}

/* ---------- header ---------- */

.dl-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
  padding: 34px 0 26px;
}

.dl-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #4b473f;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.2em;
}

.dl-brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(95, 89, 77, 0.24);
  border-radius: 50%;
  color: #75816d;
  background: rgba(255, 255, 251, 0.24);
}

.dl-brand__mark svg {
  width: 22px;
  height: 22px;
}

.dl-brand > span:last-child {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.dl-brand em {
  color: rgba(86, 80, 69, 0.52);
  font-family: var(--serif);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.22em;
}

.dl-platform {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  color: #5c655d;
  background: rgba(255, 254, 249, 0.34);
  box-shadow: 0 8px 25px rgba(78, 67, 51, 0.035);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.dl-platform svg {
  width: 18px;
  height: 18px;
  color: #637467;
}

.dl-platform__dot {
  width: 5px;
  height: 5px;
  margin-right: 2px;
  border-radius: 50%;
  background: #809b83;
  box-shadow: 0 0 0 4px rgba(128, 155, 131, 0.12);
}

/* ---------- main layout ---------- */

.dl-main {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
}

.dl-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(430px, 1.07fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  min-height: 660px;
  padding: 35px 0 88px;
}

.dl-copy {
  position: relative;
  z-index: 3;
  max-width: 555px;
  padding-bottom: 4px;
  animation: dl-rise 0.9s var(--ease) both;
}

@keyframes dl-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.dl-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9a825e;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.24em;
}

.dl-eyebrow > span {
  width: 25px;
  height: 1px;
  background: linear-gradient(90deg, #b59d75, transparent);
}

.dl-app {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.dl-app__icon {
  position: relative;
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  padding: 6px;
  border: 1px solid rgba(134, 121, 101, 0.26);
  border-radius: 27px;
  background: rgba(255, 254, 249, 0.4);
  box-shadow:
    0 14px 28px rgba(73, 61, 45, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.dl-app__icon::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border: 1px solid rgba(179, 162, 134, 0.21);
  border-radius: 33px;
  transform: rotate(-4deg);
}

.dl-app__icon img {
  width: 100%;
  height: 100%;
  border-radius: 21px;
  object-fit: cover;
}

.dl-app__ring {
  position: absolute;
  right: -13px;
  top: -14px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(139, 126, 104, 0.3);
  border-radius: 50%;
}

.dl-app__ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ad966d;
  transform: translate(-50%, -50%);
}

.dl-app__name > p {
  margin-bottom: 6px;
  color: #a28d6c;
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.24em;
}

.dl-app__name h1 {
  color: #23211d;
  font-family: var(--serif);
  font-size: clamp(46px, 5.1vw, 62px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.08;
}

.dl-app__name > span {
  display: block;
  margin-top: 7px;
  color: #756f64;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.dl-description {
  max-width: 480px;
  margin-top: 28px;
  color: #6d665a;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.025em;
}

.dl-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 23px;
  color: #7f776a;
  font-size: 10.5px;
  letter-spacing: 0.025em;
}

.dl-meta > i {
  width: 1px;
  height: 10px;
  background: rgba(105, 94, 79, 0.22);
}

.dl-android-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 3px 9px;
  border: 1px solid rgba(111, 129, 112, 0.22);
  border-radius: 999px;
  color: #647264;
  background: rgba(231, 239, 230, 0.67);
  font-size: 10px;
}

.dl-android-badge svg {
  width: 15px;
  height: 15px;
}

.dl-android-badge b {
  font-weight: 500;
  letter-spacing: 0.05em;
}

.dl-download {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  width: min(358px, 100%);
  min-height: 73px;
  margin-top: 30px;
  padding: 11px 19px 11px 14px;
  border-radius: 999px;
  color: #fbf8f1;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(255, 255, 255, 0.11), transparent 37%),
    #1a1916;
  box-shadow:
    0 16px 34px rgba(36, 29, 20, 0.21),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition:
    transform 0.25s var(--ease),
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.dl-download:hover {
  background-color: #28251f;
  box-shadow:
    0 19px 42px rgba(36, 29, 20, 0.27),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.dl-download:active {
  transform: scale(0.985);
}

.dl-download__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(247, 239, 225, 0.3);
  border-radius: 50%;
  color: #ddc7a1;
}

.dl-download__icon svg {
  width: 20px;
  height: 20px;
}

.dl-download > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dl-download strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.07em;
}

.dl-download small {
  color: #9e978a;
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.dl-download > svg {
  width: 19px;
  height: 19px;
  color: #c5b28e;
  transition: transform 0.25s var(--ease);
}

.dl-download:hover > svg {
  transform: translateX(3px);
}

.dl-download.is-disabled {
  color: #a39b8d;
  background: #e5e0d6;
  box-shadow: none;
  pointer-events: none;
}

.dl-download.is-disabled .dl-download__icon {
  border-color: rgba(92, 82, 66, 0.2);
  color: #9d9382;
}

.dl-download.is-disabled small {
  color: #a79e8f;
}

.dl-download-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  color: #8f887b;
  font-size: 10px;
  letter-spacing: 0.025em;
}

.dl-download-hint svg {
  width: 14px;
  height: 14px;
  color: #81967f;
}

.dl-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 31px;
  padding-top: 19px;
  border-top: 1px solid rgba(109, 95, 76, 0.12);
  color: #988f81;
  font-family: var(--serif);
  font-size: 9.5px;
  letter-spacing: 0.045em;
}

.dl-note span:first-child {
  color: #8b7350;
}

/* ---------- phone visual ---------- */

.dl-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  animation: dl-rise 1.1s 0.08s var(--ease) both;
}

.dl-visual__halo {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(560px, 95%);
  aspect-ratio: 1;
  border: 1px solid rgba(164, 146, 116, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 43% 38%, rgba(255, 254, 247, 0.88), transparent 47%),
    radial-gradient(circle at 50% 50%, rgba(207, 224, 216, 0.35), transparent 65%);
  transform: translate(-50%, -50%);
}

.dl-visual__halo::before,
.dl-visual__halo::after {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(173, 153, 121, 0.16);
  border-radius: 50%;
}

.dl-visual__halo::after {
  inset: 24%;
  border-style: dashed;
  opacity: 0.65;
}

.dl-phones {
  position: relative;
  width: 100%;
  height: 570px;
}

.dl-phone {
  position: absolute;
  overflow: hidden;
  border: 7px solid rgba(252, 250, 244, 0.92);
  border-radius: 30px;
  background: #f6f1e9;
  box-shadow:
    0 27px 51px rgba(53, 42, 29, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.7);
  transform-origin: 50% 100%;
}

.dl-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dl-phone--main {
  left: 50%;
  top: 0;
  z-index: 3;
  width: 248px;
  height: 534px;
  transform: translateX(-50%) rotate(1.5deg);
  animation: dl-float 7s ease-in-out infinite;
}

.dl-phone--left {
  left: 5%;
  top: 84px;
  z-index: 1;
  width: 174px;
  height: 388px;
  border-width: 5px;
  border-radius: 24px;
  opacity: 0.85;
  transform: rotate(-8deg) translateY(17px);
}

.dl-phone--right {
  right: 3%;
  top: 66px;
  z-index: 2;
  width: 184px;
  height: 408px;
  border-width: 5px;
  border-radius: 24px;
  opacity: 0.9;
  transform: rotate(7deg) translateY(31px);
}

@keyframes dl-float {
  0%, 100% { transform: translateX(-50%) rotate(1.5deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(0.5deg) translateY(-10px); }
}

.dl-visual__badge {
  position: absolute;
  right: 1%;
  bottom: 20px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  color: #727c6e;
  background: rgba(251, 249, 241, 0.6);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 25px rgba(64, 51, 37, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.dl-visual__badge svg {
  width: 15px;
  height: 15px;
}

.dl-visual__caption {
  position: absolute;
  left: 0;
  bottom: 15px;
  z-index: 4;
  color: #9c9080;
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

/* ---------- feature section ---------- */

.dl-features {
  position: relative;
  padding: 78px 0 80px;
  border-top: 1px solid rgba(101, 89, 72, 0.13);
}

.dl-section-head {
  max-width: 560px;
}

.dl-section-head > p {
  color: #9d845d;
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.25em;
}

.dl-section-head h2 {
  margin-top: 13px;
  color: #2e2a23;
  font-family: var(--serif);
  font-size: clamp(31px, 3.2vw, 42px);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.45;
}

.dl-section-head > span {
  display: block;
  margin-top: 13px;
  color: #8c8375;
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.9;
}

.dl-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 37px;
}

.dl-feature {
  position: relative;
  min-height: 201px;
  overflow: hidden;
  padding: 24px 21px 21px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(255, 254, 249, 0.62), rgba(255, 252, 245, 0.26));
  box-shadow:
    0 12px 29px rgba(68, 54, 38, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.dl-feature:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 36px rgba(68, 54, 38, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.dl-feature__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(139, 124, 101, 0.2);
  border-radius: 50%;
  color: #7e8f7c;
}

.dl-feature__icon svg {
  width: 20px;
  height: 20px;
}

.dl-feature h3 {
  margin-top: 23px;
  color: #4b4439;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.55;
}

.dl-feature p {
  margin-top: 8px;
  color: #938979;
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.8;
}

/* ---------- bottom content ---------- */

.dl-bottom {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 90px);
  padding: 72px 0 95px;
  border-top: 1px solid rgba(101, 89, 72, 0.13);
}

.dl-about {
  max-width: 520px;
}

.dl-about h2 {
  margin-top: 20px;
  color: #302b24;
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 39px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.dl-about > p:not(.dl-eyebrow) {
  max-width: 450px;
  margin-top: 22px;
  color: #81776a;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 2;
}

.dl-info-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  max-width: 410px;
  margin-top: 29px;
  padding-top: 22px;
  border-top: 1px solid rgba(103, 90, 72, 0.12);
}

.dl-info-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.dl-info-list dt {
  color: #9c9182;
  font-size: 10px;
}

.dl-info-list dd {
  color: #625a4f;
  font-family: var(--serif);
  font-size: 11.5px;
  text-align: right;
}

.dl-install {
  align-self: start;
  padding: 29px 27px 24px;
  border: 1px solid rgba(255, 255, 255, 0.63);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 255, 255, 0.72), transparent 42%),
    rgba(247, 242, 233, 0.56);
  box-shadow: 0 18px 43px rgba(67, 53, 36, 0.055);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.dl-install__label {
  color: #a38a62;
  font-size: 8.5px;
  letter-spacing: 0.24em;
}

.dl-install h2 {
  margin-top: 9px;
  color: #40392f;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.dl-install ol {
  margin-top: 22px;
}

.dl-install li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(105, 91, 72, 0.11);
}

.dl-install li > span {
  flex: 0 0 auto;
  color: #b09a73;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.6;
}

.dl-install strong {
  color: #574f43;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.dl-install li p {
  margin-top: 4px;
  color: #948a7b;
  font-family: var(--serif);
  font-size: 10.5px;
  line-height: 1.8;
}

.dl-install__safe {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(105, 91, 72, 0.11);
  color: #998f80;
  font-size: 9.5px;
  line-height: 1.7;
}

.dl-install__safe svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: #82947e;
}

/* ---------- footer ---------- */

.dl-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
  padding: 22px 0 31px;
  border-top: 1px solid rgba(101, 89, 72, 0.11);
  color: #a49a8b;
  font-family: var(--serif);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.dl-footer__icp {
  color: #988d7d;
  text-decoration: underline;
  text-decoration-color: rgba(152, 141, 125, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.dl-footer__icp:hover {
  color: #655b4d;
  text-decoration-color: rgba(101, 91, 77, 0.5);
}

/* ---------- mobile fixed download ---------- */

.dl-mobile-download {
  display: none;
}

/* ---------- error page ---------- */

.dl-error-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 15%, rgba(255, 255, 250, 0.88), transparent 42%),
    radial-gradient(ellipse at 84% 78%, rgba(221, 207, 188, 0.36), transparent 45%),
    #f1eee7;
}

.dl-error-page .dl-wash__moon {
  top: -24vw;
  right: -14vw;
  opacity: 0.5;
}

.dl-error {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(560px, calc(100% - 54px));
  margin: 0 auto;
  padding: 31px 0 80px;
}

.dl-error .dl-brand {
  margin-bottom: 84px;
}

.dl-error h1 {
  margin-top: 25px;
  color: #322d26;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.dl-error > p:not(.dl-eyebrow) {
  margin-top: 17px;
  color: #8c8273;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.9;
}

.dl-error__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 31px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(94, 82, 66, 0.34);
  color: #6f624f;
  font-family: var(--serif);
  font-size: 12px;
}

.dl-error__back svg {
  width: 15px;
  height: 15px;
}

.dl-error__moon {
  position: absolute;
  right: -33vw;
  bottom: -35vw;
  width: 80vw;
  height: 80vw;
  border: 1px solid rgba(162, 143, 112, 0.17);
  border-radius: 50%;
  pointer-events: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .dl-header,
  .dl-main,
  .dl-footer {
    width: min(940px, calc(100% - 56px));
  }

  .dl-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 28px;
  }

  .dl-visual {
    min-height: 545px;
  }

  .dl-phones {
    height: 520px;
  }

  .dl-phone--main {
    width: 222px;
    height: 478px;
  }

  .dl-phone--left {
    width: 152px;
    height: 338px;
    left: 2%;
  }

  .dl-phone--right {
    width: 158px;
    height: 352px;
    right: 0;
  }

  .dl-feature-grid {
    gap: 9px;
  }

  .dl-feature {
    padding-left: 17px;
    padding-right: 17px;
  }
}

@media (max-width: 860px) {
  .dl-header,
  .dl-main,
  .dl-footer {
    width: min(680px, calc(100% - 44px));
  }

  .dl-hero {
    grid-template-columns: 1fr;
    padding-top: 22px;
    padding-bottom: 65px;
    min-height: 0;
  }

  .dl-copy {
    max-width: 580px;
  }

  .dl-app__name h1 {
    font-size: 54px;
  }

  .dl-visual {
    order: 2;
    min-height: 550px;
    margin-top: 8px;
  }

  .dl-phones {
    height: 520px;
    max-width: 500px;
    margin: 0 auto;
  }

  .dl-phone--main {
    width: 230px;
    height: 497px;
  }

  .dl-phone--left {
    left: 8%;
    width: 156px;
    height: 347px;
  }

  .dl-phone--right {
    right: 7%;
    width: 162px;
    height: 360px;
  }

  .dl-feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .dl-bottom {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 80px;
  }

  .dl-about {
    max-width: 600px;
  }

  .dl-install {
    max-width: 540px;
  }

  .dl-footer {
    flex-wrap: wrap;
    gap: 8px 18px;
  }
}

@media (max-width: 640px) {
  .dl-header {
    padding-top: max(22px, env(safe-area-inset-top));
    padding-bottom: 19px;
  }

  .dl-header,
  .dl-main,
  .dl-footer {
    width: calc(100% - 38px);
  }

  .dl-brand {
    gap: 8px;
    font-size: 17px;
    letter-spacing: 0.15em;
  }

  .dl-brand__mark {
    width: 34px;
    height: 34px;
  }

  .dl-brand__mark svg {
    width: 19px;
    height: 19px;
  }

  .dl-brand em {
    display: none;
  }

  .dl-platform {
    min-height: 33px;
    padding: 5px 10px;
    font-size: 9.5px;
  }

  .dl-platform__dot {
    display: none;
  }

  .dl-platform svg {
    width: 15px;
    height: 15px;
  }

  .dl-hero {
    padding-top: 35px;
    padding-bottom: 54px;
  }

  .dl-eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.19em;
  }

  .dl-app {
    gap: 17px;
    margin-top: 24px;
  }

  .dl-app__icon {
    width: 76px;
    height: 76px;
    padding: 5px;
    border-radius: 22px;
  }

  .dl-app__icon img {
    border-radius: 17px;
  }

  .dl-app__ring {
    display: none;
  }

  .dl-app__name h1 {
    font-size: 43px;
  }

  .dl-app__name > span {
    margin-top: 5px;
    font-size: 12.5px;
  }

  .dl-description {
    margin-top: 22px;
    font-size: 13px;
    line-height: 1.9;
  }

  .dl-meta {
    gap: 8px;
    margin-top: 17px;
    font-size: 9.5px;
  }

  .dl-meta > i {
    height: 8px;
  }

  .dl-download {
    width: 100%;
    min-height: 67px;
    margin-top: 24px;
  }

  .dl-download strong {
    font-size: 17px;
  }

  .dl-note {
    margin-top: 24px;
    line-height: 1.7;
    gap: 5px 13px;
  }

  .dl-visual {
    min-height: 432px;
    margin-top: -4px;
  }

  .dl-visual__halo {
    width: 360px;
  }

  .dl-phones {
    height: 420px;
    max-width: 340px;
  }

  .dl-phone--main {
    width: 183px;
    height: 396px;
    border-width: 5px;
    border-radius: 25px;
  }

  .dl-phone--left {
    left: 0;
    top: 73px;
    width: 123px;
    height: 274px;
    border-width: 4px;
    border-radius: 19px;
  }

  .dl-phone--right {
    right: 0;
    top: 66px;
    width: 126px;
    height: 281px;
    border-width: 4px;
    border-radius: 19px;
  }

  .dl-visual__badge {
    right: -3px;
    bottom: 3px;
    font-size: 8.5px;
  }

  .dl-visual__caption {
    display: none;
  }

  .dl-features {
    padding: 57px 0 58px;
  }

  .dl-section-head h2 {
    font-size: 30px;
  }

  .dl-section-head > span {
    font-size: 11.5px;
  }

  .dl-feature-grid {
    grid-template-columns: 1fr;
    margin-top: 29px;
  }

  .dl-feature {
    min-height: 0;
    padding: 19px 18px 18px;
  }

  .dl-feature__icon {
    width: 33px;
    height: 33px;
  }

  .dl-feature h3 {
    margin-top: 15px;
    font-size: 16px;
  }

  .dl-feature p {
    margin-top: 5px;
  }

  .dl-bottom {
    padding: 54px 0 76px;
  }

  .dl-about h2 {
    font-size: 29px;
  }

  .dl-about > p:not(.dl-eyebrow) {
    font-size: 12.5px;
  }

  .dl-info-list {
    gap: 11px 16px;
  }

  .dl-info-list div {
    display: block;
  }

  .dl-info-list dd {
    margin-top: 3px;
    text-align: left;
  }

  .dl-install {
    padding: 23px 19px 20px;
  }

  .dl-install h2 {
    font-size: 22px;
  }

  .dl-footer {
    display: block;
    padding-bottom: calc(105px + env(safe-area-inset-bottom));
    line-height: 2;
  }

  .dl-footer span {
    display: block;
  }

  .dl-footer__icp {
    display: block;
  }

  .dl-mobile-download {
    position: fixed;
    z-index: 50;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(247, 244, 235, 0.82);
    box-shadow: 0 -10px 30px rgba(61, 49, 34, 0.09);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .dl-mobile-download > div {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 0 0 auto;
  }

  .dl-mobile-download > div > span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #736a5c;
    font-size: 9px;
  }

  .dl-mobile-download > div svg {
    width: 13px;
    height: 13px;
  }

  .dl-mobile-download > div small {
    color: #a09788;
    font-size: 8px;
  }

  .dl-mobile-download__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1;
    min-height: 47px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fbf7ef;
    background: #1b1a17;
    font-family: var(--serif);
    font-size: 14px;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 18px rgba(34, 27, 18, 0.18);
  }

  .dl-mobile-download__button svg {
    width: 18px;
    height: 18px;
  }

  .dl-mobile-download__button.is-disabled {
    color: #a9a092;
    background: #ded9cf;
    box-shadow: none;
  }

  .dl-error {
    padding-top: max(28px, env(safe-area-inset-top));
  }

  .dl-error .dl-brand {
    margin-bottom: 67px;
  }
}

@media (max-width: 370px) {
  .dl-header,
  .dl-main,
  .dl-footer {
    width: calc(100% - 30px);
  }

  .dl-platform span:last-child {
    display: none;
  }

  .dl-app__name h1 {
    font-size: 39px;
  }

  .dl-phones {
    max-width: 300px;
  }

  .dl-phone--main {
    width: 166px;
    height: 360px;
  }

  .dl-phone--left {
    width: 111px;
    height: 247px;
  }

  .dl-phone--right {
    width: 115px;
    height: 255px;
  }

  .dl-info-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* interaction states */
.dl-download.is-pressed {
  transform: scale(0.985);
}

.dl-mobile-download__button.is-pressed {
  opacity: 0.75;
  transform: scale(0.985);
}

/* admin modal scroll lock */
body.admin-modal-open {
  overflow: hidden;
}
