:root {
  --bg:#f8f9fc;
  --surface:#fff;
  --ink:#18213a;
  --muted:#6c758b;
  --line:#e4e8f1;
  --blue:#315bea;
  --blue-dark:#2447c4;
  --blue-soft:#edf1ff;
  --radius:20px;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--ink);
  background:var(--bg);
  font-synthesis:none;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:32px;
}

body {
  margin:0;
}

button,input {
  font:inherit;
}

button,a,input {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

a {
  color:inherit;
  text-decoration:none;
}

button {
  color:inherit;
}

svg.icon {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
}

.icon-sprite {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}

.wrap {
  width:min(1180px,calc(100% - 80px));
  margin-inline:auto;
}

button:focus-visible,a:focus-visible,summary:focus-visible {
  outline:3px solid #7691ff;
  outline-offset:5px;
}

input:focus-visible {
  outline:0;
}

.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;
  left:16px;
  top:-70px;
  z-index:20;
  padding:12px 20px;
  background:var(--ink);
  color:white;
  border-radius:10px;
}

.skip-link:focus {
  top:12px;
}

.header {
  height:100px;
  display:flex;
  align-items:center;
  gap:40px;
  border-bottom:1px solid var(--line);
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:18px;
  font-weight:750;
  letter-spacing:-.5px;
}

.brand-mark {
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:white;
  background:var(--blue);
  box-shadow:0 5px 12px #315bea16;
}

.brand-mark .icon {
  width:24px;
  height:24px;
}

.brand-secondary {
  margin-left:7px;
  color:var(--muted);
  font-size:15px;
  font-weight:450;
}

.navigation {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:30px;
  font-size:13px;
  font-weight:550;
}

.navigation a {
  transition:color .15s;
}

.navigation a:hover,.text-link:hover,.footer a:hover {
  color:var(--blue);
}

.repo-link {
  display:flex;
  align-items:center;
  gap:6px;
}

.repo-link .icon {
  width:14px;
  height:14px;
}

.language-button {
  border:1px solid var(--line);
  border-radius:9px;
  padding:8px 11px;
  background:white;
  font-size:12px;
  font-weight:650;
  display:flex;
  gap:9px;
  align-items:center;
}

.language-button:hover {
  border-color:var(--blue);
}

.hero {
  display:grid;
  grid-template-columns:1.12fr 1fr;
  gap:42px;
  align-items:center;
  padding-top:60px;
  padding-bottom:66px;
}

.eyebrow {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:10px;
  letter-spacing:1.65px;
  font-weight:650;
  color:var(--muted);
  margin:0 0 26px;
}

.status-dot {
  height:6px;
  width:6px;
  border-radius:50%;
  background:var(--blue);
  box-shadow:0 0 0 4px #315bea0b;
  margin-right:4px;
}

.eyebrow-divider {
  color:#bdc5d7;
  margin-inline:3px;
}

h1 {
  font-size:clamp(42px,4.6vw,62px);
  letter-spacing:-2px;
  font-weight:800;
  line-height:1.25;
  margin:0;
}

.accent {
  color:var(--blue);
}

.hero-description {
  color:var(--muted);
  font-size:15px;
  line-height:1.9;
  margin:23px 0 28px;
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:25px;
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  border:0;
  border-radius:10px;
  padding:13px 20px;
  font-size:13px;
  font-weight:600;
  transition:background .15s,transform .15s;
}

.button:hover {
  transform:translateY(-1px);
}

.button.primary {
  background:var(--blue);
  color:white;
  box-shadow:0 5px 14px #315bea14;
}

.button.primary:hover {
  background:var(--blue-dark);
}

.button .icon {
  width:17px;
  height:17px;
}

.text-link {
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  font-weight:550;
}

.text-link .icon {
  width:14px;
  height:14px;
}

.hero-note {
  margin-top:34px;
  display:flex;
  gap:8px;
  align-items:center;
  font-size:11px;
  color:var(--muted);
}

.hero-note strong {
  color:var(--ink);
  font-weight:650;
}

.mini-apps {
  display:flex;
  margin-right:2px;
  color:var(--muted);
}

.mini-apps .icon {
  width:14px;
  height:14px;
}

.note-divider {
  height:12px;
  width:1px;
  background:#d7dce7;
  margin-inline:7px;
}

.hero-visual {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:390px;
  background:#eaf0ff;
  border:1px solid #e0e7fb;
  border-radius:28px;
  isolation:isolate;
  overflow:hidden;
}

.visual-grid {
  position:absolute;
  inset:0;
  z-index:-1;
  background-image:radial-gradient(#8ca5ee60 1px,transparent 1px);
  background-size:20px 20px;
  mask-image:linear-gradient(130deg,black,transparent 90%);
}

.hero-visual:after {
  content:"";
  position:absolute;
  width:270px;
  height:270px;
  border:1px solid #a1b5ef30;
  border-radius:50%;
  right:-100px;
  top:-120px;
  box-shadow:0 0 0 36px #a1b5ef0b,0 0 0 72px #a1b5ef0b;
  z-index:-1;
}

.visual-caption {
  position:absolute;
  top:25px;
  left:27px;
  font-size:8px;
  letter-spacing:1.8px;
  color:#7086bc;
  font-weight:600;
}

.device {
  position:relative;
  width:206px;
  background:linear-gradient(140deg,#fff,#edf0f6);
  border:1px solid white;
  border-radius:24px;
  padding:15px 17px 12px;
  transform:rotate(-7deg);
  box-shadow:10px 20px 32px #4766a22a,1px 2px 3px #6277a433,inset -4px -3px 8px #fff,inset 0 -6px 8px #dde3ee;
  top:0;
}

.device-top {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:13px;
  margin-bottom:13px;
}

.device-speaker {
  display:block;
  background:#d0d8e6;
  width:37px;
  height:3px;
  border-radius:5px;
  box-shadow:inset 0 1px 1px #a6b5cc;
}

.device-light {
  display:block;
  width:3px;
  height:3px;
  border-radius:50%;
  background:#8a9dbb;
}

.device-screen {
  background:#111928;
  border-radius:9px;
  color:#edf3ff;
  box-shadow:0 0 0 3px #e2e7ef,inset 0 0 20px #03081188;
  padding:10px 11px 9px;
  height:215px;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.screen-status {
  display:flex;
  justify-content:space-between;
  width:100%;
  color:#8592a9;
  font-size:7px;
  letter-spacing:.5px;
}

.screen-wifi {
  margin-left:3px;
}

.screen-battery {
  width:13px;
  height:6px;
  border-radius:1px;
  border:1px solid #8592a9;
  position:relative;
  margin-top:2px;
}

.screen-battery:after {
  content:"";
  position:absolute;
  left:1px;
  top:1px;
  height:2px;
  width:8px;
  background:#8592a9;
}

.clock {
  margin-top:35px;
  display:flex;
  flex-direction:column;
  align-items:center;
  font-variant-numeric:tabular-nums;
}

.clock #clock-time {
  font-size:41px;
  font-weight:650;
  letter-spacing:-2px;
}

.clock #clock-seconds {
  color:#6f9dff;
  font-size:14px;
  margin-top:4px;
  letter-spacing:1px;
}

.clock-date {
  font-size:8px;
  color:#8c9ab2;
  margin:16px 0 0;
}

.screen-bottom {
  display:flex;
  align-items:center;
  gap:4px;
  margin-top:auto;
  font-size:6px;
  color:#75829a;
}

.screen-dot {
  width:3px;
  height:3px;
  background:#6f9dff;
  border-radius:50%;
}

.device-label {
  display:block;
  text-align:center;
  font-size:6px;
  color:#98a5ba;
  letter-spacing:2px;
  margin-top:14px;
  font-weight:650;
}

.device-controls {
  display:flex;
  align-items:center;
  justify-content:space-around;
  margin-top:10px;
  font-size:12px;
  color:#95a4bb;
}

.device-ok {
  width:27px;
  height:27px;
  border:1px solid #d2daea;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:6px;
  background:#f8faff;
  box-shadow:0 2px 2px #e1e6ef;
}

.visual-chip {
  position:absolute;
  right:22px;
  bottom:46px;
  background:#fffffff5;
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border:1px solid #fff;
  border-radius:11px;
  box-shadow:0 8px 22px #6d86c719;
  transform:rotate(3deg);
  font-size:11px;
  font-weight:650;
}

.chip-icon {
  width:23px;
  height:23px;
  background:var(--blue-soft);
  color:var(--blue);
  border-radius:7px;
  display:grid;
  place-items:center;
}

.chip-icon .icon {
  width:14px;
  height:14px;
}

.visual-orbit {
  position:absolute;
  left:43px;
  bottom:54px;
  color:#6386ed;
  font-size:37px;
  font-weight:300;
}

.catalog {
  padding-top:9px;
  padding-bottom:62px;
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-bottom:24px;
}

.section-kicker {
  margin:0 0 9px;
  color:#858ea4;
  font-size:9px;
  font-weight:600;
  letter-spacing:1.6px;
}

h2 {
  font-size:24px;
  font-weight:700;
  letter-spacing:-.7px;
  margin:0;
  line-height:1.4;
}

.count-badge {
  display:inline-block;
  vertical-align:middle;
  font-size:11px;
  letter-spacing:0;
  line-height:24px;
  min-width:26px;
  text-align:center;
  padding-inline:7px;
  background:#e9edf6;
  color:#6b7895;
  border-radius:7px;
  margin-left:12px;
}

.updated {
  margin:0 0 4px;
  font-size:10px;
  color:var(--muted);
}

.toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:22px;
}

.filters {
  display:flex;
  gap:4px;
  padding:4px;
  border:1px solid var(--line);
  background:#eff2f7;
  border-radius:11px;
}

.filter {
  border:0;
  background:transparent;
  border-radius:7px;
  padding:8px 14px;
  font-size:12px;
  color:#727d95;
  white-space:nowrap;
  transition:color .15s,background .15s;
}

.filter.active {
  color:var(--blue);
  background:white;
  font-weight:600;
  box-shadow:0 1px 4px #2b427316;
}

.filter:not(.active):hover {
  color:var(--ink);
}

.search {
  background:white;
  border:1px solid var(--line);
  border-radius:10px;
  display:flex;
  align-items:center;
  gap:8px;
  width:280px;
  padding:10px 12px;
  transition:border-color .15s;
}

.search:focus-within {
  border-color:var(--blue);
  box-shadow:0 0 0 3px #315bea0b;
}

.search .icon {
  width:16px;
  height:16px;
  color:#8f99ae;
}

.search input {
  min-width:0;
  width:100%;
  font-size:11px;
  border:0;
  background:transparent;
  color:var(--ink);
}

.search input::placeholder {
  color:#8a94a9;
}

.search kbd {
  border:1px solid var(--line);
  color:#a0a9bb;
  font-size:10px;
  line-height:15px;
  padding:0 5px;
  border-radius:4px;
}

.app-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.app-card {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:25px;
  display:flex;
  flex-direction:column;
  transition:border-color .15s,box-shadow .15s,transform .15s;
  min-width:0;
}

.app-card:hover {
  border-color:#c5d0f4;
  box-shadow:0 8px 25px #18213a06;
  transform:translateY(-3px);
}

.card-top {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:20px;
}

.app-icon {
  width:48px;
  height:48px;
  background:#edf2ff;
  border-radius:14px;
  display:grid;
  place-items:center;
  color:#436cec;
  flex-shrink:0;
}

.app-icon .icon {
  height:26px;
  width:26px;
  stroke-width:1.65;
}

.app-icon.phone {
  background:#eaf7f1;
  color:#339776;
}

.app-kind {
  font-size:9px;
  color:#67848d;
  background:#f0f6f6;
  border:1px solid #e9f1f0;
  padding:4px 7px;
  border-radius:6px;
}

.app-kind.with-backend {
  color:#967245;
  background:#faf5eb;
  border-color:#f1e8d9;
}

.app-title {
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}

.app-title h3 {
  margin:0;
  font-size:18px;
  line-height:1.4;
  letter-spacing:-.4px;
  overflow-wrap:anywhere;
}

.app-version {
  font-size:10px;
  color:#98a1b4;
  flex-shrink:0;
  font-variant-numeric:tabular-nums;
}

.app-description {
  font-size:12px;
  line-height:1.8;
  color:var(--muted);
  margin:10px 0 20px;
  flex:1;
  overflow-wrap:anywhere;
}

.app-meta {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:9px;
  color:#8b95aa;
  flex-wrap:wrap;
}

.app-id {
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
}

.meta-dot {
  color:#c0c6d4;
}

.card-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  border-top:1px solid #eef0f6;
  margin-top:20px;
  padding-top:17px;
}

.app-details {
  background:var(--blue-soft);
  color:var(--blue);
  padding:10px 13px;
  font-size:11px;
  gap:14px;
  border-radius:8px;
}

.app-details:hover {
  background:#e1e8ff;
}

.app-details .icon {
  width:14px;
  height:14px;
}

.download-link {
  display:flex;
  align-items:center;
  gap:4px;
  color:var(--muted);
  font-size:10px;
}

.download-link:hover {
  color:var(--blue);
}

.download-link .icon {
  width:14px;
  height:14px;
}

.contribute-card {
  border:1px dashed #cbd4ea;
  border-radius:var(--radius);
  padding:25px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  background:#f3f5fb;
  min-height:260px;
}

.contribute-icon {
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  border:1px solid #d8dfef;
  color:#7e91ba;
  margin-bottom:19px;
}

.contribute-card h3 {
  font-size:17px;
  font-weight:600;
  line-height:1.6;
  margin:0 0 8px;
  letter-spacing:-.3px;
}

.contribute-card p {
  margin:0 0 24px;
  color:#7c88a3;
  font-size:11px;
  line-height:1.8;
}

.contribute-card a {
  margin-top:auto;
  font-size:11px;
  color:#5b75b6;
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:600;
}

.contribute-card a:hover {
  color:var(--blue);
}

.contribute-card .icon {
  height:16px;
  width:16px;
}

.catalog-state {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-direction:column;
  min-height:160px;
  text-align:center;
  padding:24px;
  color:var(--muted);
  font-size:13px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:white;
  margin-bottom:18px;
}

.catalog-state p {
  margin:0;
  line-height:1.7;
}

.catalog-state .button {
  margin-top:8px;
}

.loading-dot {
  width:9px;
  height:9px;
  background:var(--blue);
  border-radius:50%;
  animation:pulse 1.2s infinite;
}

@keyframes pulse {
  50% {
    opacity:.3;
  }
}

[hidden] {
  display:none!important;
}

.install-section {
  padding:36px 0 50px;
  border-top:1px solid var(--line);
}

.install-note {
  font-size:10px;
  color:var(--muted);
  margin-bottom:4px;
}

.install-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.install-card {
  display:flex;
  align-items:flex-start;
  gap:18px;
  min-width:0;
  border:1px solid var(--line);
  border-radius:16px;
  padding:23px;
  background:#ffffff88;
}

.install-number {
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:12px;
  color:#a3afc8;
  margin-top:4px;
}

.install-card>div {
  min-width:0;
}

.install-card h3 {
  margin:0 0 8px;
  font-size:14px;
  font-weight:650;
}

.install-card p {
  margin:0 0 17px;
  font-size:11px;
  color:var(--muted);
  line-height:1.9;
}

.device-path {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  font-size:10px;
  font-weight:550;
}

.device-path span:not([aria-hidden]) {
  padding:7px 10px;
  background:#edf1f8;
  border-radius:6px;
  color:#52688e;
}

.device-path span[aria-hidden] {
  color:#a6b2c8;
}

.code-line {
  display:flex;
  align-items:center;
  gap:8px;
  background:#edf1f8;
  border-radius:7px;
  padding:10px 11px;
  color:#52688e;
}

.code-line code {
  font-size:9px;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  line-height:1.7;
  overflow-wrap:anywhere;
  white-space:normal;
  flex:1;
  min-width:0;
}

.copy-button {
  border:0;
  background:transparent;
  color:#7688ac;
  padding:3px;
  display:flex;
}

.copy-button .icon {
  width:14px;
  height:14px;
}

.copy-button:hover {
  color:var(--blue);
}

.footer {
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding-block:27px 34px;
}

.footer-brand {
  display:flex;
  align-items:center;
  gap:8px;
  color:#727e98;
  font-size:11px;
  font-weight:550;
}

.footer-brand .icon {
  width:16px;
  height:16px;
}

.footer-license {
  display:block;
  font-size:8px;
  letter-spacing:1px;
  color:#a1abc0;
  margin-top:10px;
}

.footer-links {
  display:flex;
  gap:23px;
  font-size:10px;
  color:#7d89a2;
}

dialog {
  border:1px solid var(--line);
  border-radius:23px;
  background:white;
  color:var(--ink);
  width:min(510px,calc(100% - 32px));
  padding:30px;
  max-height:calc(100dvh - 40px);
  box-shadow:0 24px 100px #18213a33;
  overflow-y:auto;
}

dialog::backdrop {
  background:#111a3955;
  backdrop-filter:blur(5px);
}

.dialog-top {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:20px;
}

.close-button {
  display:grid;
  place-items:center;
  border:0;
  background:#f0f3f9;
  border-radius:9px;
  width:30px;
  height:30px;
  color:var(--muted);
}

.close-button .icon {
  width:17px;
  height:17px;
}

.close-button:hover {
  background:#e6ebf5;
}

#detail-description {
  font-size:13px;
  line-height:1.8;
  color:var(--muted);
  margin:12px 0 22px;
  overflow-wrap:anywhere;
}

.detail-meta {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:17px;
  margin:0;
  padding:20px;
  background:var(--bg);
  border-radius:12px;
}

.detail-meta dt {
  color:var(--muted);
  font-size:10px;
  margin-bottom:6px;
}

.detail-meta dd {
  margin:0;
  font-size:12px;
  overflow-wrap:anywhere;
}

.backend-note {
  font-size:11px;
  color:#967245;
  background:#faf5eb;
  border-radius:8px;
  padding:12px;
  line-height:1.7;
}

.detail-install {
  margin-top:23px;
}

.detail-install h3 {
  font-size:13px;
  margin:0 0 9px;
}

.detail-install p {
  font-size:12px;
  line-height:1.8;
  color:var(--muted);
  margin:0;
}

.checksum {
  margin-top:20px;
  font-size:10px;
  color:#8b95aa;
}

.checksum summary {
  cursor:pointer;
}

.checksum code {
  display:block;
  font-size:10px;
  line-height:1.8;
  margin-top:10px;
  overflow-wrap:anywhere;
}

.dialog-actions {
  display:flex;
  align-items:center;
  gap:22px;
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:22px;
}

.toast {
  position:fixed;
  z-index:30;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  background:var(--ink);
  color:white;
  border-radius:10px;
  padding:12px 20px;
  font-size:12px;
  max-width:calc(100% - 32px);
  text-align:center;
  box-shadow:0 5px 20px #18213a22;
}

@media(min-width:1450px) {
  .hero {
    gap:75px;
    padding-block:74px;
  }
  .hero-visual {
    min-height:420px;
  }
  .device {
    transform:rotate(-7deg) scale(1.06);
  }
}

@media(max-width:1000px) {
  .wrap {
    width:calc(100% - 56px);
  }
  .header {
    gap:24px;
  }
  .navigation {
    gap:20px;
  }
  .hero {
    gap:28px;
    padding-top:42px;
    padding-bottom:50px;
  }
  .hero-visual {
    min-height:350px;
  }
  .visual-chip {
    right:12px;
    bottom:30px;
    padding:9px 10px;
  }
  .visual-orbit {
    left:24px;
    bottom:45px;
  }
  .app-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .hero-note {
    flex-wrap:wrap;
    font-size:10px;
  }
  .install-grid {
    gap:14px;
  }
  .install-card {
    padding:20px;
    gap:12px;
  }
  .section-heading h2 {
    font-size:22px;
  }
  .brand-secondary {
    font-size:13px;
  }
  .eyebrow {
    font-size:8px;
    letter-spacing:1px;
  }
  .hero-description {
    font-size:13px;
  }
  .hero-actions {
    gap:18px;
  }
  .visual-caption {
    font-size:7px;
    left:22px;
  }
  .install-grid {
    grid-template-columns:1fr;
  }
  .footer-links {
    gap:16px;
  }
}

@media(max-width:700px) {
  .wrap {
    width:calc(100% - 40px);
  }
  .header {
    height:78px;
    gap:12px;
  }
  .brand {
    font-size:16px;
    gap:10px;
  }
  .brand-mark {
    width:34px;
    height:34px;
    border-radius:10px;
  }
  .brand-mark .icon {
    width:21px;
    height:21px;
  }
  .brand-secondary {
    font-size:12px;
    margin-left:5px;
  }
  .navigation {
    gap:16px;
  }
  .navigation a:not(.repo-link) {
    display:none;
  }
  .repo-link {
    font-size:11px;
  }
  .language-button {
    font-size:10px;
    padding:7px 8px;
    gap:5px;
  }
  .hero {
    grid-template-columns:1fr;
    gap:32px;
    padding-top:35px;
    padding-bottom:42px;
  }
  .hero-copy {
    padding-inline:3px;
  }
  .eyebrow {
    margin-bottom:19px;
    font-size:8px;
    letter-spacing:1.4px;
  }
  h1 {
    font-size:46px;
    letter-spacing:-1.5px;
    line-height:1.23;
  }
  .hero-description {
    font-size:13px;
    margin:18px 0 23px;
  }
  .hero-actions .button {
    padding:12px 18px;
  }
  .hero-note {
    margin-top:25px;
    font-size:10px;
    gap:6px;
  }
  .hero-visual {
    min-height:305px;
    border-radius:22px;
  }
  .device {
    transform:rotate(-7deg) scale(.85);
    margin-block:-22px;
  }
  .visual-caption {
    top:21px;
    left:22px;
  }
  .visual-chip {
    right:20px;
    bottom:35px;
    font-size:10px;
  }
  .visual-orbit {
    left:33px;
    bottom:39px;
    font-size:31px;
  }
  .section-heading {
    align-items:flex-start;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:20px;
  }
  .section-heading h2 {
    font-size:21px;
  }
  .updated {
    font-size:9px;
    margin:0;
  }
  .section-kicker {
    font-size:8px;
  }
  .toolbar {
    flex-direction:column;
    align-items:stretch;
    gap:13px;
    margin-bottom:18px;
  }
  .filters {
    align-self:flex-start;
  }
  .filter {
    font-size:11px;
    padding:8px 12px;
  }
  .search {
    width:100%;
    padding:11px 12px;
  }
  .search input {
    font-size:12px;
  }
  .app-grid {
    grid-template-columns:1fr;
    gap:14px;
  }
  .app-card {
    padding:23px;
  }
  .card-top {
    margin-bottom:17px;
  }
  .app-description {
    font-size:12px;
    margin-bottom:19px;
  }
  .app-meta {
    font-size:10px;
  }
  .app-details {
    font-size:12px;
  }
  .download-link {
    font-size:11px;
  }
  .contribute-card {
    min-height:220px;
    padding:23px;
  }
  .contribute-card h3 {
    font-size:17px;
  }
  .contribute-card p {
    font-size:12px;
  }
  .contribute-card a {
    font-size:12px;
  }
  .catalog {
    padding-bottom:38px;
  }
  .install-section {
    padding-top:28px;
    padding-bottom:34px;
  }
  .install-note {
    display:none;
  }
  .install-card {
    padding:20px 16px;
    gap:12px;
  }
  .install-card p {
    font-size:11px;
  }
  .code-line code {
    font-size:9px;
  }
  .footer {
    align-items:flex-start;
    flex-direction:column;
    gap:22px;
    padding-block:25px 30px;
  }
  .footer-links {
    gap:22px;
    font-size:11px;
  }
  .footer-license {
    font-size:7px;
  }
  .dialog-actions {
    gap:16px;
    flex-wrap:wrap;
  }
  dialog {
    padding:25px;
  }
  .dialog-actions .button {
    padding:12px 16px;
    font-size:12px;
  }
}

@media(max-width:370px) {
  .wrap {
    width:calc(100% - 32px);
  }
  .brand-secondary {
    display:none;
  }
  h1 {
    font-size:40px;
  }
  .hero-note {
    font-size:9px;
  }
  .note-divider {
    margin-inline:4px;
  }
  .visual-chip {
    right:11px;
  }
  .visual-orbit {
    left:21px;
  }
  .eyebrow {
    letter-spacing:1px;
  }
  .device-path {
    gap:7px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
  }
  .button:hover,.app-card:hover {
    transform:none;
  }
}

.app-grid.compact {
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.app-stat {
  display:flex;
  align-items:center;
  gap:5px;
  margin-top:12px;
  color:var(--muted);
  font-size:10px;
}

.app-stat .icon {
  width:13px;
  height:13px;
  color:#93a0bc;
}

.download-count, #visit-count, #detail-download-count {
  font-variant-numeric:tabular-nums;
}

.visit-stat {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px;
  margin:13px 0 0;
  font-size:10px;
  color:var(--muted);
}

.visit-stat strong {
  font-weight:600;
  color:#52688e;
}

.stat-divider {
  color:#a1abc0;
  margin-inline:4px;
}

@media(max-width:700px) {
  .app-grid.compact {
    grid-template-columns:1fr;
  }
}
