@charset "UTF-8";
:root {
  color-scheme:light;
  --ink:#252822;
  --muted:#71756b;
  --paper:#f7f8f5;
  --lemon:#fff32e;
  --demo-height:255px;
  /* 57px input, 6px result padding, and 52px rows separated by 1px. */
  --fade-start:90px;
  --fade-end:249px;
  font-family:"Segoe UI Variable","Segoe UI","Malgun Gothic",Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none;
  text-rendering:optimizeLegibility;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  padding:24px 0;
}

a {
  color:inherit;
  text-decoration:none;
}

a {
  -webkit-tap-highlight-color:transparent;
}

a:focus-visible {
  outline:3px solid #596520;
  outline-offset:5px;
}

svg {
  width:20px;
  height:20px;
  flex-shrink:0;
}

.page {
  width:100%;
  max-width:720px;
  flex-shrink:0;
  margin:auto;
  padding:0 24px;
}

.hero {
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  align-items:center;
}

h1 {
  margin:0 0 -8px;
  line-height:0;
}

.logo {
  display:block;
  width:320px;
  max-width:100%;
  height:auto;
  margin:0 auto;
}

.download-area {
  position:relative;
  z-index:1;
  margin-top:-84px;
  text-align:center;
}

.download-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:24px;
}

.download-button {
  min-height:46px;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  gap:11px;
  padding:10px 18px;
  background:var(--lemon);
  border:1px solid #d1c51f;
  border-radius:5px;
  font-size:14px;
  line-height:1.4;
  font-weight:650;
  box-shadow:0 0 24px 12px var(--paper);
}

.download-button[href]:hover {
  background:#f2e62c;
}

.download-meta {
  font-size:12px;
  line-height:1.7;
  max-width:350px;
  color:var(--muted);
  margin:4px auto 0;
}

.site-footer {
  margin-top:16px;
  color:var(--muted);
  text-align:center;
  font-size:14px;
  line-height:1.7;
}

.site-footer p {
  margin:0;
}

.site-footer::before {
  content:"";
  display:block;
  width:48px;
  height:1px;
  margin:0 auto 12px;
  background:#d9ddd1;
}

.site-footer a:hover {
  color:#7a871d;
  text-decoration:underline;
  text-underline-offset:3px;
}

.demo-panel {
  position:relative;
  min-width:0;
  width:100%;
  max-width:600px;
  height:var(--demo-height);
  margin:0 auto;
}

.demo-stage {
  height:100%;
}

.launcher {
  font-family:"Segoe UI","Malgun Gothic",sans-serif;
  background:#f8f8f8;
  color:#222;
  border:1px solid #a0a0a0;
  border-radius:8px;
  overflow:hidden;
  width:100%;
  min-width:0;
  height:59px;
}

.launcher.has-results {
  height:auto;
  max-height:100%;
  /* Fade only while results are shown; the empty input stays fully visible. */
  -webkit-mask-image:linear-gradient(to bottom, #000 var(--fade-start), transparent var(--fade-end));
  mask-image:linear-gradient(to bottom, #000 var(--fade-start), transparent var(--fade-end));
}

.launcher:not(.has-results) .launcher-results {
  display:none;
}

.launcher:not(.has-results) .launcher-input {
  border-bottom-color:transparent;
}

.launcher-input {
  height:57px;
  margin:0 9px;
  display:flex;
  align-items:center;
  padding:0 2px;
  border-bottom:1px solid #e1e1e1;
  font-size:23px;
  letter-spacing:0;
  white-space:nowrap;
  overflow:hidden;
}

.caret {
  display:inline-block;
  flex-shrink:0;
  width:1px;
  height:25px;
  margin-left:1px;
  background:#222;
  animation:blink 1.05s step-end infinite;
}

.launcher-results {
  padding:6px 8px;
  display:grid;
  grid-auto-rows:52px;
  align-content:start;
  gap:1px;
}

.result {
  display:flex;
  align-items:center;
  gap:11px;
  height:52px;
  padding:7px 10px;
  border-radius:4px;
}

.result.selected {
  background:#e6e6e6;
}

.result img {
  width:30px;
  height:30px;
  object-fit:contain;
  flex-shrink:0;
}

.result-copy {
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:1px;
}

.result-title {
  font-size:16px;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.result-description {
  font-size:12px;
  line-height:1.4;
  color:#646464;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.skip-link {
  position:fixed;
  z-index:10;
  left:20px;
  top:10px;
  transform:translateY(-180%);
  background:var(--ink);
  color:white;
  padding:12px 18px;
}

.skip-link:focus {
  transform:translateY(0);
}

@keyframes blink {
  0%,49% {
    opacity:1;
  }
  50%,100% {
    opacity:0;
  }
}

@media(max-width:600px) {
  .page {
    padding:0 18px;
  }
  .hero {
    gap:26px;
  }
  .launcher-input {
    font-size:20px;
  }
  .result-title {
    font-size:14px;
  }
  .download-button {
    font-size:13px;
    padding:10px 12px;
    gap:8px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
  }
}

@media(forced-colors:active) {
  .download-button,.launcher {
    border:1px solid ButtonText;
  }
  .result.selected {
    background:Highlight;
    color:HighlightText;
  }

.caret {
    background:CanvasText;
  }
}
