:root {
  color-scheme: light;
  --ink: #242528;
  --muted: #62666e;
  --line: #e5e7eb;
  --accent: #315bcc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; }
.page { max-width: 1104px; margin-inline: auto; padding-inline: 32px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 1; padding: 12px 18px; background: #fff; border: 1px solid var(--accent); }
.skip-link:focus { top: 12px; }
.site-header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.site-name { font-size: 1.125rem; font-weight: 600; letter-spacing: -.025em; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; color: var(--muted); }
.intro { padding-block: 48px 42px; }
.eyebrow { color: var(--muted); font-size: .875rem; margin-bottom: 12px; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.045em; line-height: 1.15; text-wrap: balance; }
.intro-copy { max-width: 580px; font-size: 1.0625rem; color: var(--muted); margin-top: 18px; }
.apps, .about { scroll-margin-top: 24px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
h2 { font-size: 1.375rem; letter-spacing: -.03em; line-height: 1.35; }
.app-count { font-size: .875rem; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: 8px; }
.all-apps { color: var(--accent); font-size: .875rem; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.all-apps:hover, .about a:hover { text-decoration: underline; text-underline-offset: 4px; }
.app-platform { padding-top: 24px; border-top: 1px solid var(--line); }
.app-platform + .app-platform { margin-top: 48px; }
.platform-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 2fr); gap: 32px; align-items: end; margin-bottom: 20px; }
.platform-heading h3 { font-size: 1.25rem; letter-spacing: -.025em; line-height: 1.35; }
.platform-heading > p { max-width: 560px; color: var(--muted); }
.platform-label { margin-bottom: 4px; color: var(--accent); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.app-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.app-grid > li { min-width: 0; display: flex; }
.app-card { width: 100%; display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: 16px; transition: border-color 160ms ease, background-color 160ms ease; }
.app-card:hover { color: var(--ink); border-color: #b6c5ef; background: #fafbfe; }
.app-icon { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; margin-bottom: 22px; }
.app-card h3 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -.025em; margin-bottom: 10px; overflow-wrap: anywhere; }
.app-card p { color: var(--muted); font-size: 1rem; line-height: 1.55; margin-bottom: 22px; }
.store-link { font-size: .875rem; color: var(--accent); margin-top: auto; }
.availability { font-size: .8125rem; color: var(--muted); margin-top: 22px; }
.about { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; margin-top: 42px; padding-block: 36px; border-top: 1px solid var(--line); }
.about p { color: var(--muted); }
.about p + p { margin-top: 12px; }
.about a { color: var(--accent); white-space: nowrap; }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.site-footer nav { gap: 22px; }
.site-footer a { font-size: .8125rem; }

@media (max-width: 850px) {
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .page { padding-inline: 22px; }
  .site-header { flex-wrap: wrap; gap: 0 18px; padding-block: 14px 8px; }
  .site-header nav { gap: 24px; }
  .intro { padding-block: 32px; }
  .intro-copy { font-size: 1rem; }
  .app-platform { padding-top: 20px; }
  .app-platform + .app-platform { margin-top: 36px; }
  .platform-heading { grid-template-columns: 1fr; gap: 8px; margin-bottom: 16px; }
  .app-grid { grid-template-columns: 1fr; gap: 14px; }
  /* The compact mobile rows keep real app content within the first viewport. */
  .app-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .app-icon { width: 52px; height: 52px; grid-row: 1 / 4; margin: 0; border-radius: 12px; }
  .app-card h3 { font-size: 1.0625rem; }
  .app-card p { margin-bottom: 14px; }
  .store-link { grid-column: 2; }
  .about { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; padding-block: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .app-card { transition: none; }
}
