:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17362a;
  background: #f0f5ef;
  --forest: #10382b;
  --green: #20583c;
  --mint: #c9ef9a;
  --line: #d3e2d4;
  --muted: #435d4d;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #067650; outline-offset: 3px; }
.hero :focus-visible { outline-color: #e5ffbd; }
.shell { width: min(100% - 2.25rem, 69rem); margin-inline: auto; }
.hero {
  background: radial-gradient(ellipse at 92% 10%, #20543a, transparent 53%), var(--forest);
  color: #f7fff0;
  padding: 1.15rem 0 1.65rem;
  border-bottom: 4px solid #acd481;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 750;
  font-size: 1.14rem;
  letter-spacing: -.03em;
}
.brand img { border-radius: .72rem; display: block; }
.intro { display: grid; gap: 1.3rem; padding-top: 1.15rem; }
h1, h2, h3, p { margin: 0; }
h1 {
  font-size: clamp(2.15rem, 1.3rem + 4.1vw, 4.6rem);
  line-height: .99;
  font-weight: 750;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.intro p { margin-top: .8rem; color: #d9e8d8; }
.stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.stores a {
  display: flex;
  min-height: 3.65rem;
  flex-direction: column;
  justify-content: center;
  gap: .05rem;
  padding: .5rem .72rem;
  border: 1px solid var(--mint);
  border-radius: .8rem;
  background: var(--mint);
  color: #173726;
  text-decoration: none;
  line-height: 1.2;
}
.stores a:hover { background: #dbf8bc; }
.stores strong { font-size: 1rem; }
.platform { font-size: .875rem; }
.directory { padding: 1.45rem 0 1.75rem; }
.directory-header { display: grid; gap: .65rem; }
h2 { font-size: 1.7rem; font-weight: 770; letter-spacing: -.045em; }
.search { position: relative; }
.search input {
  width: 100%;
  appearance: none;
  height: 3rem;
  padding: .6rem 3.15rem .6rem 2.55rem;
  border-radius: .7rem;
  border: 1px solid #99b3a0;
  background: #fff;
  color: #17362a;
}
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.magnifier {
  position: absolute;
  pointer-events: none;
  top: .91rem;
  left: .95rem;
  width: .84rem;
  height: .84rem;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.magnifier::after {
  content: "";
  position: absolute;
  right: -.3rem;
  bottom: -.14rem;
  width: .38rem;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.search button {
  position: absolute;
  top: .125rem;
  right: .15rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: .52rem;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font-size: 1.55rem;
}
.search button:hover { background: #e7f2e7; }
.result {
  margin: .65rem 0 .75rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.45;
}
.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.app-card {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  align-items: center;
  column-gap: .78rem;
  row-gap: .55rem;
  min-width: 0;
  padding: .72rem;
  border: 1px solid var(--line);
  border-radius: .95rem;
  background: #fff;
}
.app-icon {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  place-items: center;
  position: relative;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: .76rem;
  overflow: hidden;
  color: var(--forest);
  background: #d9e9d8;
  font-size: 1.04rem;
  font-weight: 750;
}
.app-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-title {
  font-size: 1.05rem;
  font-weight: 730;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.app-stores {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.app-stores a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .3rem .6rem;
  flex: 1 1 6rem;
  border-radius: .57rem;
  border: 1px solid #bed3c0;
  background: #f1f7ee;
  color: var(--green);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}
.app-stores a:hover { background: #dcefd4; border-color: #a4c4a4; }
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4rem;
  border-top: 1px solid #c1d7c3;
  color: var(--muted);
  font-size: .875rem;
}
.footer a { min-height: 2.75rem; display: inline-flex; align-items: center; }
.skip {
  position: absolute;
  z-index: 1;
  left: 1rem;
  top: 1rem;
  background: #fff;
  color: var(--forest);
  padding: .6rem;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (min-width: 38rem) {
  .shell { width: min(100% - 4rem, 69rem); }
  .hero { padding: 1.5rem 0 2.3rem; }
  .intro { padding-top: 1.6rem; }
  .directory { padding: 2rem 0 2.5rem; }
  .directory-header { grid-template-columns: 1fr minmax(16rem, 25rem); align-items: center; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-card { padding: .9rem; }
  .app-stores a { flex: 0 0 auto; padding-inline: .8rem; }
}
@media (min-width: 58rem) {
  .hero { padding-bottom: 2.8rem; }
  .intro { grid-template-columns: minmax(0, 1fr) minmax(20rem, .63fr); align-items: end; }
  .stores a { padding-inline: 1rem; }
  .app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
}
