/* 2026-10-08 — Mobile UX and logical layout.
   Direction-aware properties are intentionally shared by EN/NL/AR. */
.origin-story,
.origin-copy,
.name-story,
.developer-note,
.support-grid,
.support-option,
.about-principles,
.about-principles > div {
  text-align: start;
}
html[dir="rtl"] .support-option,
html[dir="rtl"] .developer-note,
html[dir="rtl"] .origin-story,
html[dir="rtl"] .origin-copy,
html[dir="rtl"] .about-principles,
html[dir="rtl"] .about-principles > div {
  direction: rtl;
}
html[dir="rtl"] .support-title,
html[dir="rtl"] .about-title,
html[dir="rtl"] .origin-story h2,
html[dir="rtl"] .name-story h2,
html[dir="rtl"] .support-option h2,
html[dir="rtl"] .developer-note h2,
html[dir="rtl"] .privacy-title,
html[dir="rtl"] .privacy-section h3,
html[dir="rtl"] .about-principles strong,
html[dir="rtl"] .not-found-title {
  font-family: "SF Arabic", "Noto Naskh Arabic", -apple-system, sans-serif;
  letter-spacing: 0;
  line-height: 1.38;
}
html[dir="rtl"] .ayah-arabic {
  font-family: "SF Arabic", "Noto Naskh Arabic", serif;
  line-height: 1.95;
}
html[dir="rtl"] .origin-kicker,
html[dir="rtl"] .support-eyebrow,
html[dir="rtl"] .developer-kicker,
html[dir="rtl"] .name-story-kicker {
  letter-spacing: 0;
  text-transform: none;
}
html[dir="rtl"] .support-cta-arrow { display: inline-block; rotate: 180deg; }

/* Readable supporting copy in dark and light themes. */
.support-lead,
.support-option p,
.developer-note p,
.about-principles p {
  color: color-mix(in srgb, var(--ink) 77%, transparent);
}

/* Keep Arabic donation provider and preceding preposition together. */
.donation-brand { white-space: nowrap; }

@media (max-width: 759px) {
  html[dir="rtl"] .support-title {
    font-size: clamp(31px, 8.5vw, 39px);
    line-height: 1.34;
    text-wrap: balance;
  }
}


/* Privacy readers can jump directly to the relevant legal topic. */
.privacy-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 12px;
}
.privacy-jump-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  text-align: start;
}
.privacy-jump-nav a:hover,
.privacy-jump-nav a:focus-visible {
  border-color: var(--accent);
}
.privacy-group-heading { scroll-margin-block-start: 18px; }

/* Keep non-interactive availability states visually distinct from CTAs. */
.platform-availability {
  box-shadow: none;
  border-style: dashed;
}
.platform-availability .platform-name { font-weight: 650; }
.platform-availability .platform-state { font-weight: 450; }
.how-eyebrow,
.support-eyebrow,
.origin-kicker,
.name-story-kicker { font-size: 12px; line-height: 1.35; }
.ayah-reference { font-size: 12px; }
.support-number,
.about-principles span { font-size: 12px; }
.support-cta-copy small,
.home-support .support-cta-copy small { font-size: 12px; line-height: 1.3; }

@media (max-width: 759px) {
  .shell { padding-inline: clamp(14px, 5vw, 22px); }
  .brandbar { row-gap: 6px; }
  .primary-nav { padding-block: 2px; }
  .hero { justify-content: flex-start; padding-block: 20px 10px; }
  .hero-content { gap: 0; }
  .hero .intro { margin-bottom: 15px; }
  .hero .intro h1 { font-size: clamp(36px, 10vw, 47px); }
  .hero .hero-value { margin-top: 0; }
  .hero .hero-value-line { font-size: 15px; line-height: 1.55; }
  .hero .hero-usps span { font-size: 12.5px; line-height: 1.4; }
  .hero .platforms { margin-top: 15px; gap: 8px; }
  .platform-availability { min-height: 58px; padding: 10px 12px; border-radius: 14px; }
  .platform-state { font-size: 13px; }
  .how-it-works { margin-top: 13px; }
  .how-step { padding: 16px; border-radius: 18px; }
  .how-index { margin-bottom: 5px; }
  .home-support { margin-top: 8px; }
  .about-wrap, .support-wrap { padding-top: 24px; padding-bottom: 18px; }
  .about-title, .support-title { font-size: clamp(34px, 9.5vw, 44px); }
  .about-lead, .support-lead { margin-top: 12px; line-height: 1.65; }
  .origin-story { margin-top: 22px; padding: 18px; border-radius: 20px; }
  .origin-copy { margin-top: 15px; gap: 11px; }
  .about-mantra { margin-top: 14px; }
  .name-story { margin-top: 13px; padding: 19px; border-radius: 20px; }
  .name-story h2 { font-size: clamp(24px, 6vw, 30px); }
  .ayah-arabic { font-size: clamp(23px, 6vw, 27px); }
  .about-principles { margin-top: 16px; gap: 8px; }
  .about-principles > div { min-height: 0; padding: 14px 16px; border-radius: 16px; }
  .about-principles strong { margin-top: 8px; line-height: 1.45; }
  .about-principles p { margin-top: 5px; font-size: 14px; line-height: 1.6; }
  .about-principles span { font-size: 12px; }
  .developer-note { padding: 18px; border-radius: 18px; }
  .support-orb { width: 58px; height: 58px; border-radius: 18px; font-size: 27px; margin-bottom: 15px; }
  .support-grid { margin-top: 20px; gap: 10px; }
  .support-option { min-height: 0; padding: 16px 18px; border-radius: 18px; }
  .support-option h2 { margin: 9px 0 6px; }
  .support-option p { font-size: 14px; line-height: 1.65; }
  .support-option-foot { margin-top: 9px; padding-top: 0; }
  .support-button { min-height: 48px; margin-top: 12px; font-size: 14px; }
  .privacy-jump-nav { gap: 7px; }
  .privacy-jump-nav a { font-size: 13px; padding-inline: 11px; }
  body[data-page="privacy"] .privacy-section { padding-block: 14px 16px; }
  body[data-page="privacy"] .privacy-section p { font-size: 15px; }
  .site-footer { font-size: 13px; }
}
@media (max-width: 340px) {
  /* The brand still says HAYTHU at 320 px, not only a bare mark. */
  .brandbar .brand-lockup { display: flex; flex-direction: column; }
  .brandbar .brand-mark-picture { width: 22px; height: 22px; }
  .brandbar .brand-left, .brandbar .brand-home { gap: 4px; }
  .brandbar .brand-name { font-size: 10.5px; letter-spacing: .6px; }
  .brandbar .brand-arabic-lockup { display: none; }
  .brand-actions, .header-actions { gap: 6px; }
  .language-picker { min-width: 102px; width: 102px; }
  .language-select { font-size: 12px; padding-inline: 8px 26px; }
  .shell { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .privacy-jump-nav a { scroll-behavior: auto; }
}

/* No-JS controls and language fallback */
html:not(.js) .theme-toggle,
html:not(.js) .language-picker { display: none; }
.fallback-language { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 10px; }
.fallback-language a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); padding: 8px 12px; border: 1px solid var(--hairline); border-radius: 12px; text-decoration: none; }
.fallback-language a[aria-current="page"] { color: var(--accent); }
.primary-nav a, .privacy-jump-nav a, .platform-state, .support-button { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 759px) { .intro p { line-height: 1.5; } .home-seo { max-width: 62ch; } }

/* WCAG contrast regression: secondary footer and donation supporting text. */
.site-footer,
.site-footer a,
.site-footer a:visited,
.site-footer a:hover,
.site-footer .footer-group-secondary,
.site-footer .footer-group-secondary a,
.site-footer .footer-group-secondary a:visited {
  color: var(--ink);
  opacity: 1;
}
.home-support .support-cta { opacity: 1; }
.home-support .support-cta-copy small,
.support-cta-copy small { color: var(--ink); opacity: 1; }


/* 2026-10 UX refinement: clear iPhone availability, fewer repeated marks and calmer hierarchy. */
body[data-page="home"] .hero .platforms {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  width: min(100%, 390px);
}
body[data-page="home"] .platform-primary {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 62px;
  padding: 13px 18px;
  border-style: solid;
  border-color: color-mix(in srgb, var(--accent) 35%, var(--hairline));
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}
body[data-page="home"] .platform-primary .platform-state {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  font-weight: 680;
}
body[data-page="home"] .platform-primary .platform-name {
  font-size: 15px;
}
body[data-page="home"] .platform-secondary {
  margin: 3px 0 0;
  text-align: center;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.5;
}
body[data-page="home"] .hero-learn-link {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.4;
  text-underline-offset: 5px;
}
body[data-page="home"] .hero-learn-link::after {
  /* A downward chevron signals more content, not a file download. */
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-inline-start: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-2px) rotate(45deg);
}
body[data-page="home"] .hero-learn-link:hover,
body[data-page="home"] .hero-learn-link:focus-visible {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
body[data-page="home"] .hero-learn-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
body[data-page="home"] .hero-usps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 370px);
  margin-inline: auto;
}
body[data-page="home"] .hero-usps span {
  min-width: 0;
  min-height: 36px;
  padding: 7px 5px;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.35;
  font-size: 12px;
}
body[data-page="home"] .brand-showcase {
  min-height: 248px;
  gap: 10px;
  padding: 25px 25px;
  box-shadow: 0 12px 28px var(--shadow);
}
body[data-page="home"] .brand-showcase-arabic {
  font-size: 40px;
  line-height: 1.35;
}
body[data-page="home"] .brand-showcase-description {
  max-width: 30ch;
  font-size: 13px;
  line-height: 1.6;
}
body[data-page="home"] .home-seo {
  margin-block-start: 8px;
}
body[data-page="home"] .how-it-works {
  scroll-margin-block-start: 18px;
}
body[data-page="home"] .how-it-works h2 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.2;
}
html[lang="ar"] body[data-page="home"] .how-it-works h2 {
  font-family: "SF Arabic", "Noto Naskh Arabic", ui-serif, serif;
  line-height: 1.45;
}
body[data-page="home"] .how-step h3 {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -.012em;
}
body[data-page="home"] .how-step p {
  font-size: 14px;
  line-height: 1.58;
}
body[data-page="home"] .how-quality-note {
  max-width: 66ch;
  font-size: 13px;
  line-height: 1.65;
}

/* Native disclosure keeps the full privacy statement keyboard-accessible without JS. */
body[data-page="privacy"] .privacy-collapsible {
  padding-block: 0;
}
body[data-page="privacy"] .privacy-details {
  padding-block: 0;
}
body[data-page="privacy"] .privacy-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  min-height: 52px;
  list-style: none;
  padding-block: 10px;
}
body[data-page="privacy"] .privacy-details summary::-webkit-details-marker { display: none; }
body[data-page="privacy"] .privacy-details summary h3 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  line-height: 1.45;
}
body[data-page="privacy"] .privacy-details summary::after {
  content: "+";
  flex: 0 0 24px;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--ink);
  background: var(--surface);
  border-radius: 50%;
  font-size: 19px;
  font-weight: 500;
}
body[data-page="privacy"] .privacy-details[open] summary::after { content: "−"; }
body[data-page="privacy"] .privacy-details summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
body[data-page="privacy"] .privacy-details > p:first-of-type {
  margin-block-start: 6px;
}
body[data-page="privacy"] .privacy-details[open] {
  padding-block-end: 17px;
}

/* Footer: a single quiet link row on mobile instead of fragmented columns. */
@media (max-width: 759px) {
  body[data-page="home"] .hero { gap: 0; }
  body[data-page="home"] .hero .brand-showcase {
    min-height: 186px;
    padding: 18px 22px;
    margin-top: 16px;
    gap: 8px;
    border-radius: 20px;
  }
  body[data-page="home"] .brand-showcase-arabic { font-size: 33px; }
  body[data-page="home"] .brand-showcase-kicker { font-size: 11px; }
  body[data-page="home"] .brand-showcase-description { font-size: 12px; }
  body[data-page="home"] .hero .platforms { margin-block-start: 15px; gap: 6px; }
  body[data-page="home"] .hero-usps span { font-size: 11px; }
  body[data-page="home"] .how-step { padding: 14px 16px; }
  body[data-page="home"] .how-it-works { margin-top: 14px; }
  body[data-page="home"] .how-step p { margin-block-end: 0; }
  .site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px 14px;
    text-align: center;
  }
  .site-footer .footer-group,
  .site-footer .footer-group-secondary {
    width: auto;
    margin: 0;
    justify-content: center;
    opacity: 1;
  }
  .site-footer .footer-dot { opacity: .4; }
}

/* 2026-10: focused, single-message marketing homepage. No simulated Qibla UI. */
body[data-page="home"] .hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: min(100%, 680px);
  min-height: 0;
  margin-inline: auto;
  padding-block: clamp(38px, 7vw, 74px) 30px;
  text-align: center;
}
body[data-page="home"] .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 580px;
  gap: 0;
}
body[data-page="home"] .hero .intro {
  order: 0;
  width: 100%;
  margin: 0 0 18px;
  text-align: center;
}
body[data-page="home"] .hero-arabic {
  display: inline-block;
  color: var(--accent);
  font-family: "SF Arabic", "Noto Naskh Arabic", ui-serif, serif;
  font-size: 23px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 17px;
}
body[data-page="home"] .hero .intro h1 {
  max-width: 15ch;
  margin-inline: auto;
  font-size: clamp(42px, 6vw, 70px);
  text-align: center;
  text-wrap: balance;
}
body[data-page="home"] .hero .hero-value {
  order: 1;
  margin: 0;
  width: 100%;
  text-align: center;
}
body[data-page="home"] .hero-value-line {
  max-width: 39ch;
  margin-inline: auto;
  padding: 0;
  color: var(--secondary);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.6;
  font-weight: 450;
}
body[data-page="home"] .hero-usps {
  width: auto;
  max-width: 100%;
  margin: 19px auto 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}
body[data-page="home"] .hero-usps span {
  min-height: 31px;
  min-width: 0;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 580;
  white-space: nowrap;
}
body[data-page="home"] .hero .platforms {
  order: 2;
  width: min(100%, 340px);
  max-width: 100%;
  margin: 29px auto 0;
  align-items: stretch;
  gap: 8px;
}
body[data-page="home"] .platform-primary {
  min-height: 60px;
  border-style: solid;
  border-color: var(--hairline);
  background: var(--surface);
  box-shadow: none;
  border-radius: 15px;
}
body[data-page="home"] .platform-secondary {
  color: var(--secondary);
  font-size: 11.5px;
  margin: 0;
  opacity: .9;
}
body[data-page="home"] .hero-learn-link {
  margin-inline: auto;
  font-weight: 630;
  color: var(--ink);
}
body[data-page="home"] .how-it-works {
  width: min(100%, 1000px);
  margin: 20px auto 0;
  padding-block: 18px 4px;
  scroll-margin-block-start: 16px;
}
body[data-page="home"] .how-it-works h2 {
  margin: 0 0 28px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3.5vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
}
html[dir="rtl"] body[data-page="home"] .how-it-works h2 {
  font-family: "SF Arabic", "Noto Naskh Arabic", ui-serif, serif;
  line-height: 1.45;
}
body[data-page="home"] .how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}
body[data-page="home"] .how-step,
body[data-page="home"] .how-step:first-child {
  min-height: 0;
  margin: 0;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid var(--hairline);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: start;
}
body[data-page="home"] .how-index {
  display: block;
  margin: 0 0 15px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
}
body[data-page="home"] .how-step h3 {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -.01em;
  margin: 0 0 7px;
}
body[data-page="home"] .how-step p {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.65;
}
body[data-page="home"] .how-offline-note,
body[data-page="home"] .how-quality-note {
  max-width: 70ch;
  margin: 20px auto 0;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}
body[data-page="home"] .how-quality-note { margin-top: 5px; }
body[data-page="home"] .site-footer { margin-top: clamp(24px, 4vw, 46px); }
body[data-page="home"] .hero::before { opacity: .26; }

/* Unified desktop alignment for EN/NL/AR; no duplicate two-column preview. */
html[dir="rtl"] body[data-page="home"] .hero .intro,
html[dir="rtl"] body[data-page="home"] .hero .hero-value,
html[dir="rtl"] body[data-page="home"] .hero-value-line {
  text-align: center;
}
body[data-page="home"] .platform-secondary { text-align: center; }
@media (min-width: 760px) {
  body[data-page="home"] .hero {
    flex: 0 0 auto;
    padding-block: clamp(48px, 6vw, 84px) clamp(36px, 4vw, 54px);
  }
  body[data-page="home"] .hero-content,
  body[data-page="home"] .hero .intro,
  body[data-page="home"] .hero .hero-value,
  body[data-page="home"] .hero .platforms {
    margin-inline: auto;
  }
  body[data-page="home"] .hero-usps {
    margin-inline: auto;
    justify-content: center;
  }
  body[data-page="home"] .hero-learn-link { align-self: center; }
  body[data-page="home"] .how-grid { align-items: stretch; }
  body[data-page="home"] .how-step,
  body[data-page="home"] .how-step:first-child {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    row-gap: 8px;
  }
  body[data-page="home"] .how-index,
  body[data-page="home"] .how-step h3,
  body[data-page="home"] .how-step p { margin-block: 0; }
}

/* Keep the About page concise without turning principles into three competing cards. */
body[data-page="about"] .about-principles {
  gap: clamp(14px, 2vw, 22px);
}
body[data-page="about"] .about-principles > div {
  min-height: 0;
  padding: 14px 0 12px;
  border: 0;
  border-top: 1px solid var(--hairline);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-page="about"] .about-principles strong { margin-top: 9px; }
body[data-page="about"] .about-principles p { margin-top: 6px; }

/* A calm compact header and footer, without shrinking any touch target below 44px. */
@media (max-width: 759px) {
  .brandbar { gap: 6px 12px; }
  .primary-nav { padding-block: 0; }
  .primary-nav a { min-height: 44px; }
  body[data-page="home"] .hero {
    padding-block: 27px 12px;
  }
  body[data-page="home"] .hero .intro { margin: 0 0 12px; }
  body[data-page="home"] .hero-arabic { margin-bottom: 9px; font-size: 22px; }
  body[data-page="home"] .hero .intro h1 { font-size: clamp(37px, 10vw, 48px); }
  body[data-page="home"] .hero .hero-value-line { font-size: 14px; }
  body[data-page="home"] .hero-usps {
    margin-top: 13px;
    gap: 5px;
    flex-wrap: wrap;
  }
  body[data-page="home"] .hero-usps span {
    min-height: 30px;
    padding-inline: 8px;
    font-size: 11px;
  }
  body[data-page="home"] .hero .platforms {
    width: min(100%, 340px);
    margin: 19px auto 0;
    gap: 4px;
  }
  body[data-page="home"] .how-it-works {
    margin-top: 8px;
    padding-top: 16px;
  }
  body[data-page="home"] .how-it-works h2 {
    text-align: start;
    margin-bottom: 17px;
    font-size: 25px;
  }
  body[data-page="home"] .how-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  body[data-page="home"] .how-step,
  body[data-page="home"] .how-step:first-child {
    display: grid;
    grid-template-columns: 37px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 6px;
    padding-block: 14px;
  }
  body[data-page="home"] .how-index { grid-column: 1; grid-row: 1 / span 2; margin: 1px 0 0; }
  body[data-page="home"] .how-step h3 { grid-column: 2; grid-row: 1; margin-bottom: 4px; }
  body[data-page="home"] .how-step p { grid-column: 2; grid-row: 2; font-size: 13.5px; }
  body[data-page="home"] .how-offline-note,
  body[data-page="home"] .how-quality-note {
    margin-top: 13px;
    font-size: 12px;
    text-align: start;
  }
  body[data-page="home"] .how-quality-note { margin-top: 5px; }
  body[data-page="about"] .about-principles > div { padding-block: 14px; }
  .site-footer { padding-block: 15px; }
}

/* Keyboard users still get the skip link, away from the centre of the content. */
.skip-link {
  left: max(12px, env(safe-area-inset-left));
  right: auto;
  transform: translateY(calc(-100% - 26px));
}
.skip-link:focus { transform: translateY(0); }
html[dir="rtl"] .skip-link {
  left: auto;
  right: max(12px, env(safe-area-inset-right));
}

/* 2026-11-02 App Store launch: an actual, keyboard-accessible download link.
   Apple's native Safari Smart App Banner is provided separately via <meta>. */
body[data-page="home"] a.platform-primary.app-store-link,
body[data-page="home"] a.platform-primary.app-store-link:visited {
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  border-color: color-mix(in srgb, var(--accent) 57%, var(--hairline));
  background: color-mix(in srgb, var(--accent) 11%, var(--surface));
  transition: border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}
body[data-page="home"] a.platform-primary.app-store-link:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 17%, var(--surface));
}
body[data-page="home"] a.platform-primary.app-store-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
body[data-page="home"] .app-store-link .platform-state {
  color: var(--accent);
  text-align: end;
  min-width: 0;
  max-width: 70%;
  overflow-wrap: normal;
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] a.platform-primary.app-store-link { transition: none; }
}
