/* Shared styles for the Join → Checkout → Download app flow
   (join.html, checkout.html, download-app.html). Tokens follow the
   "Website / Dev" Figma frames; join.html adds assets/join/join.css. */

@font-face {
  font-family: 'Reckless VF Trial';
  src: url('../../fonts/RecklessCollectionVF-TRIAL.ttf') format('truetype-variations'),
       url('../../fonts/RecklessCollectionVF-TRIAL.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --parchment: #FDF8EE;
  --card: #F5EEE1;
  --card-hover: #EDE3D1;
  --ink: #212121;
  --muted: #767676;
  --muted-dark: #575757;
  --faint: #A5A5A5;
  --burnt: #C45B00;
  --deep: #8A3E00;
  --tick: #4CAF50;
  --err: #B42318;
  --rule: #E5DCCB;
  --serif: 'Reckless VF Trial', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --cormorant: 'Cormorant Garamond', Georgia, serif;   /* member cards, as on waitlist.html */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
[hidden] { display: none !important; }

/* ── Header bar: logo + Help? ── */
.fl-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 16px;
}
.fl-logo { display: block; line-height: 0; }
.fl-logo img { display: block; height: 18px; width: auto; }
.fl-help {
  font-size: 16px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.fl-help:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Step badge + titles ── */
.fl-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}
.fl-title {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'wght' 400, 'wdth' 100;
  font-size: 28px;
  line-height: 36px;
  color: var(--ink);
}
.fl-title--sm { font-size: 24px; line-height: 32px; }
.fl-text { font-size: 16px; line-height: 22px; color: var(--muted-dark); }

/* ── Text field ── */
.fl-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.6px;
  color: var(--muted-dark);
}
.fl-label .fl-req { color: var(--burnt); }
.fl-field {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--faint);
  border-radius: 5px;
  cursor: text;
  transition: border-color 0.15s;
}
.fl-field:focus-within { border-color: var(--ink); }
.fl-field.is-invalid { border-color: var(--err); }
.fl-prefix {
  flex: none;
  font-size: 16px;
  line-height: 22px;
  color: var(--faint);
  white-space: nowrap;
}
.fl-input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  line-height: 22px;
  color: var(--ink);
}
.fl-input::placeholder { color: var(--faint); }
.fl-input:disabled { color: var(--muted); }
.fl-hint { margin-top: 8px; font-size: 13px; line-height: 18px; color: var(--muted); }
.fl-error { margin-top: 8px; font-size: 13.5px; line-height: 18px; color: var(--err); }

/* ── Buttons ── */
.fl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 15px 20px;
  border: 0;
  border-radius: 100px;
  background: var(--burnt);
  color: var(--parchment);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, opacity 0.18s;
}
.fl-btn:hover { background: var(--deep); }
.fl-btn:disabled { background: var(--burnt); opacity: 0.6; cursor: default; }
.fl-btn--block { display: flex; width: 100%; }
.fl-btn--ghost { background: var(--card); color: var(--ink); }
.fl-btn--ghost:hover { background: var(--card-hover); }

.fl-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s;
}
.fl-icon-btn:hover { background: var(--card-hover); }

.fl-pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 9px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -0.21px;
  cursor: pointer;
}
.fl-pill:hover:not(:disabled) { background: var(--card-hover); }
.fl-pill:disabled { color: var(--faint); cursor: default; }

.fl-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 22px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.fl-link:hover { color: var(--burnt); }

.fl-btn:focus-visible,
.fl-icon-btn:focus-visible,
.fl-pill:focus-visible,
.fl-link:focus-visible,
.fl-help:focus-visible,
.fl-logo:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* ── Consent checkbox ── */
.fl-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted-dark);
  cursor: pointer;
}
.fl-check input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1.5px solid var(--muted);
  border-radius: 2px;
  background: transparent center / 12px 12px no-repeat;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.fl-check input:checked {
  border-color: var(--ink);
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 4.9 8.6 9.5 3.6' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fl-check input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.fl-check.is-invalid input { border-color: var(--err); }
.fl-check a { color: var(--ink); text-underline-offset: 2px; }

/* ── Feature ticks ── */
.fl-ticks { list-style: none; }
.fl-ticks li { display: flex; align-items: flex-start; gap: 8px; }
.fl-ticks svg { flex: none; width: 24px; height: 24px; }

/* ── Spinner ── */
.fl-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--card);
  border-top-color: var(--burnt);
  border-radius: 50%;
  animation: fl-spin 0.8s linear infinite;
}
@keyframes fl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .fl-spinner { animation-duration: 2.4s; }
}


.fl-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.fl-btn--dark { background: var(--ink); }
.fl-btn--dark:hover { background: #000; }

/* ── Header avatar + account menu (assets/checkout/account-menu.js) ── */
.fl-account { position: relative; }
.fl-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -13px 0;   /* the 44px circle overhangs the 18px bar row, as in the design */
  border: 0;
  border-radius: 50%;
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s;
}
.fl-avatar:hover { background: var(--card-hover); }
.fl-avatar:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.fl-menu {
  position: absolute;
  top: calc(100% + 20px);
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-width: 232px;
  padding: 6px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--parchment);
  box-shadow: 0 12px 32px rgba(33, 33, 33, 0.12);
}
.fl-menu-phone {
  padding: 10px 12px 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  line-height: 20px;
  color: var(--muted-dark);
  white-space: nowrap;
}
.fl-menu-item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 20px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.fl-menu-item:hover { background: var(--card); }
.fl-menu-item:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

/* ── Checkout + download-app page shell: single centred column ── */
.co-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}
.co-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}
.co-main > section { display: flex; flex-direction: column; gap: 24px; }

.co-center {
  align-items: center;
  justify-content: center;
  min-height: 55vh;
  text-align: center;
}
.co-center .fl-text { max-width: 36ch; }

/* ── Plan state (Figma "Secure checkout") ── */
.co-plan-state { flex: 1; }
.co-main:has(> .co-plan-state:not([hidden])) { padding-bottom: 0; }
.co-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.co-head .fl-step { width: 30px; height: 30px; }
.co-head-copy { display: flex; flex-direction: column; gap: 8px; }

.co-body { display: flex; flex-direction: column; gap: 32px; padding-bottom: 24px; }

.co-plan-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  height: 200px;
  padding: 16px;
  border-radius: 12px;
  background: #0b0b0b url('plan-card-bg.jpg') center / cover no-repeat;
  color: var(--parchment);
}
.co-plan-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #F5F5F5;
}
.co-price {
  display: flex;
  align-items: flex-end;
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'wght' 400, 'wdth' 100;
}
.co-price-currency {
  align-self: flex-start;
  margin-right: 2px;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
}
.co-price-amount { font-size: 44px; line-height: 44px; }
.co-price-period { font-size: 24px; line-height: 32px; }

.co-included { display: flex; flex-direction: column; gap: 23px; }
.co-included-list { display: flex; flex-direction: column; gap: 8px; }
.co-included-title { font-size: 18px; font-weight: 600; line-height: 28px; color: var(--ink); }
.co-features { list-style: none; }
.co-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 16px;
  line-height: 24px;
  color: rgba(33, 33, 33, 0.8);
}
.co-features li:last-child { padding-bottom: 0; border-bottom: 0; }
.co-features svg { flex: none; width: 24px; height: 24px; }

.co-trust { display: flex; gap: 12px; padding: 16px 0; }
.co-trust-tile {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--card);
  font-size: 16px;
  line-height: 24px;
  color: rgba(33, 33, 33, 0.8);
  text-align: center;
}
.co-trust-tile svg { flex: none; }

/* Members strip: cards scroll right-to-left in a loop */
.co-members { display: flex; flex-direction: column; gap: 20px; }
.co-members-title {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'wght' 400, 'wdth' 100;
  font-size: 24px;
  line-height: 32px;
  color: var(--ink);
}
.co-members-viewport { margin: 0 -16px; padding: 4px 0 20px; overflow: hidden; }
.co-members-row {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-right: 20px;   /* so -50% is exactly one set of cards plus its gaps */
  animation: co-marquee calc(var(--member-count, 33) * var(--member-step-seconds)) linear infinite;
  will-change: transform;
  --member-step-seconds: 3.025s;   /* (343px card + 20px gap) at 120px a second, as on waitlist.html */
}
.co-members-viewport:hover .co-members-row { animation-play-state: paused; }
@keyframes co-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .co-members-viewport { overflow-x: auto; }
  .co-members-row { animation: none; padding-left: 16px; }
}

/* Member card: same as the "Already joined" .ld-card on waitlist.html */
.co-member {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  width: 343px;
  aspect-ratio: 253.6 / 354.44;
  padding: 28px;
  border-radius: 22px;
  background: #000 url('../card-bg.png') center / cover no-repeat;
  color: #fff;
  overflow: hidden;
  -webkit-font-smoothing: auto;   /* waitlist.html renders without the page-wide antialiased */
}
.co-member-top { display: flex; align-items: center; justify-content: space-between; }
.co-member-logo { display: block; height: 17px; width: auto; }
.co-member-domain {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
  color: #fff;
  text-transform: lowercase;
  white-space: nowrap;
}
.co-member-avatar-wrap { display: flex; justify-content: center; margin: 35px 0 19px; }
.co-member-avatar {
  width: 109px;
  height: 109px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
}
.co-member-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.co-member-name {
  font-family: var(--cormorant);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: var(--parchment);
  text-align: center;
}
.co-member-role {
  margin-top: 5px;
  font-family: var(--cormorant);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  color: #FF7600;
  text-align: center;
}
.co-member-badge {
  margin-top: auto;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  background: rgba(214, 99, 0, 0.07);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
  text-align: center;
}
.co-member-divider { height: 1px; margin-top: 16px; background: rgba(255, 255, 255, 0.16); }
.co-member-quote {
  padding-top: 19px;
  font-family: var(--cormorant);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  color: var(--parchment);
  text-align: center;
}

@media (max-width: 600px) {
  .co-members-row { --member-step-seconds: 2.25s; }   /* 250px card + 20px gap */
  .co-member { width: 250px; padding: 20px; }
  .co-member-logo { height: 14px; }
  .co-member-domain { padding: 5px 10px; font-size: 12px; }
  .co-member-avatar-wrap { margin: 22px 0 14px; }
  .co-member-avatar { width: 76px; height: 76px; }
  .co-member-name { font-size: 21px; }
  .co-member-role { font-size: 16px; }
  .co-member-badge { margin-top: 12px; padding: 9px 12px; font-size: 12px; }
  .co-member-quote { padding-top: 14px; font-size: 15px; }
}

/* Pay button pinned to the bottom of the screen */
.co-paybar {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: auto -16px 0;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  background: var(--parchment);
}
.co-paybar-message { font-size: 13.5px; line-height: 18px; color: var(--err); text-align: center; }

/* ── Pincode bottom sheet ── */
html.co-sheet-open, html.co-sheet-open body { overflow: hidden; }
.co-sheet-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.co-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.co-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  border-radius: 28px 28px 0 0;
  background: var(--parchment);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.co-sheet-layer.is-open .co-sheet-backdrop { opacity: 1; }
.co-sheet-layer.is-open .co-sheet { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .co-sheet, .co-sheet-backdrop { transition: none; }
}
.co-sheet-handle {
  flex: none;
  width: 44px;
  height: 4px;
  margin: 8px auto 12px;
  border-radius: 55px;
  background: #D6D6D6;
}
.co-sheet-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 16px;
  padding: 12px 14px;
  border: 1px solid #F59E0B;
  border-radius: 12px;
  background: #FFF6E0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
  font-size: 13px;
  font-weight: 500;
  line-height: 19px;
  color: #7A5200;
}
.co-sheet-warning svg { flex: none; color: #F59E0B; }
.co-sheet-body { display: flex; flex-direction: column; }
.co-sheet-copy { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 0; }
.co-sheet-title {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'wght' 400, 'wdth' 100;
  font-size: 28px;
  line-height: 38px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.co-accent { color: var(--burnt); }
.co-sheet-text { font-size: 16px; line-height: 22px; color: var(--muted-dark); }
.co-sheet-input-wrap { padding: 24px 16px 16px; }
.co-sheet-input {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 1px solid var(--faint);
  border-radius: 8px;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 22px;
  transition: border-color 0.15s;
}
.co-sheet-input::placeholder { color: var(--muted); }
.co-sheet-input:focus { border-color: var(--ink); }
.co-sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
}
.co-sheet-actions .fl-btn:disabled { background: #D6D6D6; color: var(--parchment); opacity: 1; }
.co-sheet-actions .fl-btn[aria-busy="true"] { background: var(--burnt); opacity: 0.7; }
.co-sheet-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #358438;
  text-align: center;
}
.co-sheet-note svg { flex: none; }

/* Wider screens: the sheet becomes a centred dialog */
@media (min-width: 600px) {
  .co-sheet-layer { align-items: center; justify-content: center; padding: 24px; }
  .co-sheet { max-width: 440px; border-radius: 28px; transform: translateY(24px); opacity: 0; transition: transform 0.25s ease, opacity 0.25s ease; }
  .co-sheet-layer.is-open .co-sheet { opacity: 1; }
  .co-sheet-handle { visibility: hidden; }
  .co-sheet-actions { padding-bottom: 20px; }
}

/* ── Success splash (Figma: full screen, no header) ── */
.co-main > section.co-splash {
  position: fixed;
  inset: 0;
  z-index: 40;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 24px;
  background: var(--parchment);
  text-align: center;
}
.co-splash-badge { display: block; animation: co-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes co-pop { from { transform: scale(0.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .co-splash-badge { animation: none; }
}
.co-splash-copy { display: flex; flex-direction: column; gap: 8px; }
.co-splash-title {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'wght' 400, 'wdth' 100;
  font-size: 24px;
  line-height: 32px;
  color: var(--ink);
}

/* Result states */
.co-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--tick);
  color: #fff;
}
.co-badge--pending { background: var(--card); color: var(--burnt); }
.co-badge--error { background: #FCE9E7; color: var(--err); }
.co-ref {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--card);
  font-size: 14px;
  line-height: 20px;
  color: var(--muted-dark);
  text-align: left;
}
.co-ref strong {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-weight: 400;
  color: var(--ink);
  word-break: break-all;
}
.co-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.co-support { font-size: 14px; line-height: 20px; color: var(--muted-dark); }

/* ── Download app page (Figma "Download our app") ── */
.dl-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 16px;
}
.dl-title {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'wght' 400, 'wdth' 100;
  font-size: 32px;
  line-height: 32px;
  color: var(--ink);
  text-align: center;
}
.dl-assets { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.dl-qr {
  width: 202px;
  height: 202px;
  padding: 10px;
  border: 1.37px solid rgba(33, 33, 33, 0.3);
  border-radius: 16.4px;
}
.dl-qr img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.dl-stores { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dl-stores a { display: block; line-height: 0; border-radius: 8px; }
.dl-stores a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.dl-stores img { display: block; height: auto; }
.dl-cta {
  position: sticky;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  background: var(--parchment);
}
/* Desktops scan the QR code or use the badges; /download only routes phones. */
@media (min-width: 900px) {
  .dl-cta { display: none; }
}
