/* /download-app/: the "Get VARA" page (decision 184), in /start's look: Poppins, the App Brand Book colours, the yellow
   highlighter on the headline, the app phones with mood stickers, a clay card for the QR code and the dotted step
   timeline. Desktops and tablets (html.is-desk) see the QR code; phones (html.is-phone) see one button pinned to the
   bottom of the screen. Values follow start.css's onboarding skin. */

:root {
  --dl-ink: #111821; --dl-ink-2: #444444; --dl-line: #E9E9EE; --dl-cream: #FFF4E5; --dl-cream-2: #FFEBD0; --dl-cream-3: #FCECD3;
  --dl-orange: #FF9F21; --dl-picked: #FFB71B; --dl-mango: #FFC52A; --dl-desk: #F3F7FD;
  --dl-grad: linear-gradient(90deg, #FFC52A 0%, #F69515 100%);
  --dl-ease: cubic-bezier(.16, 1, .3, 1);
  --dl-clay: inset 0 2px 1px rgba(255, 255, 255, .95), inset 0 10px 18px rgba(255, 255, 255, .55), inset 0 -8px 18px rgba(246, 149, 21, .10),
    0 18px 34px -16px rgba(246, 149, 21, .38), 0 6px 14px -6px rgba(17, 24, 33, .08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.dl { margin: 0; background: var(--dl-desk); color: var(--dl-ink); font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.dl img { max-width: 100%; height: auto; }
.dl p { margin: 0; }
.dl a { color: inherit; }

/* one view at a time; without JavaScript neither class is set and both show */
html.is-phone .v-qr, html.is-desk .v-phone { display: none !important; }

/* ---------- the sheet: white, with /start's warm and cool glows ---------- */
.dl-sheet { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; overflow: clip; background: #FFFFFF; }
.dl-sheet::before, .dl-sheet::after { content: ""; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.dl-sheet::before { right: -140px; top: -170px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(255, 197, 42, .22), rgba(255, 197, 42, 0) 65%); }
.dl-sheet::after { left: -170px; bottom: -210px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(205, 226, 253, .55), rgba(205, 226, 253, 0) 65%); }
.dl-top, .dl-in, .dl-bar { position: relative; z-index: 1; }

.dl-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 0; }
.dl-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.dl-brand img { width: 34px; height: 34px; }
.dl-support { font-size: 13px; color: var(--dl-ink-2); }
.dl-support a { font-weight: 600; color: var(--dl-ink); text-underline-offset: 3px; }
.dl-support--foot { margin-top: 18px; text-align: center; }

.dl-in { display: flex; flex-direction: column; gap: 18px; padding: 18px 20px 24px; }

/* ---------- headline ---------- */
.dl-head { display: flex; flex-direction: column; gap: 12px; }
.dl-kicker { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dl-ink-2); }
.dl-kicker::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--dl-grad); }
.dl-h { margin: 0; font-size: 30px; line-height: 1.14; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.dl-hl { background: linear-gradient(transparent 58%, rgba(255, 197, 42, .55) 58%, rgba(255, 197, 42, .55) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.dl-lede { font-size: 15px; line-height: 1.6; color: var(--dl-ink-2); text-wrap: pretty; }

/* ---------- the app phones and mood stickers, as /start's landing ---------- */
.dl-art { position: relative; height: 330px; margin: 0 -20px; }
.dl-phone { position: absolute; left: 50%; height: auto; border-radius: 26px; box-shadow: 0 24px 50px rgba(36, 33, 33, .22), 0 4px 10px rgba(36, 33, 33, .1); }
.dl-phone--a { top: 6px; width: 170px; margin-left: -112px; z-index: 2; transform: rotate(-5deg); animation: dl-floaty 7s ease-in-out infinite; }
.dl-phone--b { top: 34px; width: 150px; margin-left: -8px; opacity: .96; transform: rotate(7deg); animation: dl-floaty 8s ease-in-out -2s infinite; }
@keyframes dl-floaty { 50% { translate: 0 -8px; } }
.dl-mood { position: absolute; z-index: 3; width: 52px; filter: drop-shadow(0 8px 14px rgba(36, 33, 33, .18)); animation: dl-bob 5s ease-in-out infinite; }
.dl-mood--1 { left: 22px; top: 40px; animation-delay: -1s; }
.dl-mood--2 { right: 24px; top: 18px; animation-delay: -2.5s; }
.dl-mood--3 { left: 34px; bottom: 44px; animation-delay: -3.5s; }
.dl-mood--4 { right: 30px; bottom: 28px; }
@keyframes dl-bob { 50% { transform: translateY(-10px) rotate(-6deg); } }
.dl-rating {
  position: absolute; z-index: 4; left: 50%; bottom: -6px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1px solid var(--dl-line); border-radius: 12px; background: #FFFFFF; box-shadow: 0 8px 22px rgba(17, 24, 33, .1);
  white-space: nowrap; font-size: 13px; font-weight: 700;
}
.dl-stars { color: var(--dl-orange); letter-spacing: 1px; font-size: 14px; }

/* ---------- the QR code in a clay card ---------- */
.dl-qr {
  display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 22px; border: 2px solid rgba(255, 255, 255, .95); border-radius: 28px;
  background: linear-gradient(180deg, #FEF9EB 0, #FFFFFF 140px); box-shadow: var(--dl-clay);
}
.dl-qr__code { position: relative; flex: none; width: 236px; height: 236px; padding: 8px; border-radius: 20px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--dl-cream-3); }
.dl-qr__code > img { display: block; width: 100%; height: 100%; }
.dl-qr__logo { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 12px; background: #FFFFFF; }
.dl-qr__logo img { width: 30px; height: 30px; }
.dl-qr__scan {
  position: absolute; left: 16px; right: 16px; top: 16px; height: 3px; border-radius: 3px; background: var(--dl-grad);
  box-shadow: 0 0 12px rgba(246, 149, 21, .6); opacity: .85; animation: dl-scan 2.8s var(--dl-ease) infinite;
}
@keyframes dl-scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(200px); } }
.dl-qr__txt { display: flex; flex-direction: column; gap: 12px; text-align: center; }
.dl-qr__cap { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.dl-qr__cam { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--dl-cream); color: var(--dl-orange); }
.dl-qr__cam svg { width: 18px; height: 18px; }
.dl-qr__fine { font-size: 13.5px; line-height: 1.5; color: var(--dl-ink-2); text-wrap: pretty; }
.dl-qr__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; font-size: 13px; color: var(--dl-ink-2); }
.dl-qr__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.dl-qr__meta svg { width: 16px; height: 16px; color: var(--dl-ink); }

/* ---------- three steps on a dotted line ---------- */
.dl-steps { position: relative; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dl-steps::before { content: ""; position: absolute; left: 15px; top: 24px; bottom: 24px; border-left: 2px dashed var(--dl-mango); }
.dl-step { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.dl-step__n { display: grid; place-items: center; width: 32px; height: 32px; margin-top: 10px; border: 3px solid var(--dl-picked); border-radius: 50%; background: #FFFFFF; font-size: 13px; font-weight: 700; }
.dl-step:first-child .dl-step__n { border-color: transparent; background: var(--dl-grad); }
.dl-step__body { padding: 12px 14px; border: 1.5px solid var(--dl-cream-2); border-radius: 18px; background: #FFFFFF; box-shadow: 0 8px 18px -12px rgba(246, 149, 21, .35); }
.dl-step__t { font-size: 15px; font-weight: 600; line-height: 1.35; }
.dl-step__d { margin-top: 3px !important; font-size: 13.5px; line-height: 1.5; color: var(--dl-ink-2); text-wrap: pretty; }
.dl-step__d b { font-weight: 600; color: var(--dl-ink); }

/* ---------- phones: the one button, always on screen ---------- */
.dl-bar {
  position: sticky; bottom: 0; z-index: 5; margin-top: auto; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #FFFFFF 30%);
}
.dl-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 440px; min-height: 56px; margin: 0 auto; padding: 14px 20px;
  border-radius: 14px; background: var(--dl-grad); color: var(--dl-ink) !important; text-decoration: none; font-size: 17px; font-weight: 600;
  box-shadow: 0 6px 16px rgba(246, 149, 21, .28); transition: transform .25s var(--dl-ease), filter .2s;
}
.dl-btn svg { flex: none; width: 20px; height: 20px; }
.dl-btn:active { transform: translateY(1px) scale(.99); }
.dl-btn:focus-visible { outline: 3px solid var(--dl-ink); outline-offset: 3px; }

/* ---------- tablets and wider windows: the QR card sits beside its words ---------- */
@media (min-width: 600px) {
  .dl-top { padding: 24px 32px 0; }
  .dl-in { width: 100%; max-width: 620px; margin: 0 auto; padding: 24px 32px 40px; gap: 22px; }
  .dl-qr { flex-direction: row; align-items: center; gap: 24px; }
  .dl-qr__txt { text-align: left; }
  .dl-qr__cap { justify-content: flex-start; }
  .dl-qr__meta { justify-content: flex-start; }
  .dl-art { margin: 0; }
}

/* ---------- desktop: heading and QR code on the left, phones and steps on the right ---------- */
@media (min-width: 1000px) {
  .dl-sheet { max-width: 1180px; min-height: 0; margin: 32px auto; border-radius: 32px; box-shadow: 0 30px 80px -40px rgba(17, 24, 33, .25); }
  .dl-top { padding: 28px 64px 0; }
  .dl-in {
    display: grid; grid-template-columns: 1.05fr .95fr; grid-template-areas: "head art" "qr art" "qr list"; grid-template-rows: auto auto 1fr; column-gap: 56px; row-gap: 32px;
    max-width: none; padding: 32px 64px 56px;
  }
  .dl-head { grid-area: head; align-self: center; gap: 20px; }
  .dl-h { font-size: 48px; line-height: 1.12; }
  .dl-lede { font-size: 17px; max-width: 34ch; }
  .dl-qr { grid-area: qr; align-self: start; max-width: 560px; }
  .dl-art { grid-area: art; justify-self: center; width: 400px; height: 366px; }
  .dl-list { grid-area: list; align-self: start; }
}
@media (min-width: 1000px) and (max-width: 1180px) {
  .dl-sheet { margin: 0; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .dl-phone, .dl-mood, .dl-qr__scan { animation: none; }
  .dl-qr__scan { display: none; }
}
